- Fix ICU warnings

svn path=/trunk/; revision=38454
This commit is contained in:
Stefan Ginsberg 2008-12-29 11:05:00 +00:00
parent 6f2c60aa34
commit ed14235592
3 changed files with 3 additions and 3 deletions

View file

@ -104,7 +104,7 @@ static char gMutexesInUse[MAX_MUTEXES];
* *
*-------------------------------------------------------------*/ *-------------------------------------------------------------*/
static CRITICAL_SECTION gMutexes[MAX_MUTEXES]; static CRITICAL_SECTION gMutexes[MAX_MUTEXES];
static CRITICAL_SECTION gGlobalWinMutex; /* static */ CRITICAL_SECTION gGlobalWinMutex;
/* On WIN32 mutexes are reentrant. This makes it difficult to debug /* On WIN32 mutexes are reentrant. This makes it difficult to debug

View file

@ -1377,7 +1377,7 @@ The vector deleting destructor is already a part of UObject,
but defining it here makes sure that it is included with this object file. but defining it here makes sure that it is included with this object file.
This makes sure that static library dependencies are kept to a minimum. This makes sure that static library dependencies are kept to a minimum.
*/ */
static void uprv_UnicodeStringDummy(void) { /* static */ void uprv_UnicodeStringDummy(void) {
U_NAMESPACE_USE U_NAMESPACE_USE
delete [] (new UnicodeString[2]); delete [] (new UnicodeString[2]);
} }

View file

@ -1,6 +1,6 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../tools/rbuild/project.dtd"> <!DOCTYPE module SYSTEM "../../tools/rbuild/project.dtd">
<module name="icu4ros" type="staticlibrary" allowwarnings="true"> <module name="icu4ros" type="staticlibrary">
<define name="U_STATIC_IMPLEMENTATION" /> <define name="U_STATIC_IMPLEMENTATION" />
<define name="U_HAVE_INTTYPES_H" /> <define name="U_HAVE_INTTYPES_H" />
<define name="UCONFIG_NO_FILE_IO">1</define> <define name="UCONFIG_NO_FILE_IO">1</define>