ICU-535 Fixed some compiler warnings

X-SVN-Rev: 3545
This commit is contained in:
George Rhoten 2001-02-02 23:03:08 +00:00
parent ea112821c9
commit b3e5c73338
3 changed files with 7 additions and 3 deletions

View File

@ -142,7 +142,7 @@ Locale::Locale( const char * newLanguage,
char togo_stack[ULOC_FULLNAME_CAPACITY];
char *togo;
char *togo_heap = NULL;
int32_t size;
int32_t size = 0;
int32_t lsize = 0;
int32_t csize = 0;
int32_t vsize = 0;

View File

@ -1328,7 +1328,7 @@ uprv_getDefaultLocaleID()
#if U_POSIX_LOCALE
char *correctedPOSIXLocale = 0;
const char* posixID = uprv_getPOSIXID();
char *p;
const char *p;
/* Format: (no spaces)
ll [ _CC ] [ . MM ] [ @ VV]

View File

@ -39,7 +39,7 @@
*/
#ifndef U_IOSTREAM_SOURCE
#define U_IOSTREAM_SOURCE 199711
#define U_IOSTREAM_SOURCE 0
#endif
/* Determines whether specific types are available */
@ -53,6 +53,10 @@
/* Determines the endianness of the platform */
#define U_IS_BIG_ENDIAN 0
#pragma warning(disable : 4514)
#pragma warning(disable : 4127)
#pragma warning(disable : 4100)
#pragma warning(disable : 4710)
/*===========================================================================*/
/* Generic data types */