From 04f79f5d297913be0c0dd2df6d9eaee86433b0a7 Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Mon, 23 Jul 2007 07:27:44 +0000 Subject: [PATCH] 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 --- icu4c/source/config/mh-hpux-acc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/icu4c/source/config/mh-hpux-acc b/icu4c/source/config/mh-hpux-acc index 8dc0b1b697b..76c140d9432 100644 --- a/icu4c/source/config/mh-hpux-acc +++ b/icu4c/source/config/mh-hpux-acc @@ -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 -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