mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 06:25:30 +00:00
ICU-5799 HP aC++/ANSI C B3910B A.06.10 doesn't support +Olibcalls any more.
This is on by default in the new compiler. It's off by default in the old compiler. X-SVN-Rev: 22099
This commit is contained in:
parent
f1b9a527b7
commit
04f79f5d29
1 changed files with 3 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
## -*-makefile-*-
|
||||
## HP/UX-specific setup using aCC
|
||||
## Copyright (c) 1999-2006, International Business Machines Corporation and
|
||||
## Copyright (c) 1999-2007, International Business Machines Corporation and
|
||||
## others. All Rights Reserved.
|
||||
|
||||
## Commands to generate dependency files
|
||||
|
@ -17,15 +17,14 @@ SHAREDLIBCXXFLAGS = +z
|
|||
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
|
||||
# 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 +W740 +W749 +W823
|
||||
CFLAGS += -Ae +ESlit
|
||||
CXXFLAGS += +W740 +W749 +W823
|
||||
|
||||
## Commands to compile
|
||||
COMPILE.c= $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c
|
||||
|
|
Loading…
Add table
Reference in a new issue