diff options
-rw-r--r-- | ACE/ChangeLog | 11 | ||||
-rw-r--r-- | ACE/include/makeinclude/platform_hpux_aCC.GNU | 14 |
2 files changed, 22 insertions, 3 deletions
diff --git a/ACE/ChangeLog b/ACE/ChangeLog index 7d6c1822d16..de999de3ecd 100644 --- a/ACE/ChangeLog +++ b/ACE/ChangeLog @@ -1,3 +1,14 @@ +Fri Jun 08 08:38:00 UTC 2007 Simon Massey <sma@prismtech.com> + + * include/makeinclude/platform_hpux_aCC.GNU: + + Problem with Change log of "Fri May 11 07:57:55 UTC 2007" + by Johnny Willemsen <jwillemsen@remedy.nl> for + "Improved aCC version detection check". This seems to be + incorrect as the warning disable of 361 for aCC 3.xx at + line 98 is now being ignored. Suspect spelling mistake of + aC++/ANSI at line 33 + Sun Jun 3 20:05:36 UTC 2007 Olli Savia <ops@iki.fi> * ace/Capabilities.cpp: diff --git a/ACE/include/makeinclude/platform_hpux_aCC.GNU b/ACE/include/makeinclude/platform_hpux_aCC.GNU index 85bbb1bc382..e8a7c7cc22e 100644 --- a/ACE/include/makeinclude/platform_hpux_aCC.GNU +++ b/ACE/include/makeinclude/platform_hpux_aCC.GNU @@ -30,12 +30,20 @@ CXX = aCC # Determine compiler version CXXVERS_WORDS := $(subst ., , $(shell $(CXX) -V 2>&1)) CXXINFO := $(word 3, $(CXXVERS_WORDS)) -ifeq (aC++/ANSI, $(CXXINFO)) +# aCC++ 3.67 gives "aCC: HP ANSI C++ B3910B A.03.67" +# aCC++ 3.73 gives "aCC: HP ANSI C++ B3910B A.03.73" +# +ifeq (ANSI, $(CXXINFO)) CXXMINORVERS := $(word 8, $(CXXVERS_WORDS)) CXXMAJORVERS := $(word 7, $(CXXVERS_WORDS)) else - CXXMINORVERS := $(word 7, $(CXXVERS_WORDS)) - CXXMAJORVERS := $(word 6, $(CXXVERS_WORDS)) + ifeq (aC++/ANSI, $(CXXINFO)) + CXXMINORVERS := $(word 8, $(CXXVERS_WORDS)) + CXXMAJORVERS := $(word 7, $(CXXVERS_WORDS)) + else + CXXMINORVERS := $(word 7, $(CXXVERS_WORDS)) + CXXMAJORVERS := $(word 6, $(CXXVERS_WORDS)) + endif endif ifeq (1,$(stdcpplib)) |