ICU-5445 This compiler warning no longer needs to be suppressed.

X-SVN-Rev: 21604
This commit is contained in:
George Rhoten 2007-05-31 03:22:17 +00:00
parent ec444d4596
commit 4dba503eca

View file

@ -19,14 +19,13 @@ THREADSCPPFLAGS = -D_REENTRANT -D_THREAD_SAFE
# Use Extended ANSI mode, which is useful for 64-bit numbers
# +Olibcalls uses intrinsic functions for strlen and others
# +W ignores some warnings
# 495 The linkage directive is ignored for an object or function...
# 740 Unsafe cast between pointers/references to incomplete classes...
# 749 This operation is non-portable and potentially unsafe.
# (Ironically the solution to fix this warning is non-portable)
# 823 Redundant preprocessing concatenation operation results in two valid
# preprocessing tokens. This comes from INT64_C in <inttypes.h>
CFLAGS += +Olibcalls -Ae +ESlit
CXXFLAGS += +Olibcalls +W495 +W740 +W749 +W823
CXXFLAGS += +Olibcalls +W740 +W749 +W823
## Commands to compile
COMPILE.c= $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c