diff options
author | Steve Huston <shuston@riverace.com> | 2007-01-31 17:54:47 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 2007-01-31 17:54:47 +0000 |
commit | eb127c1a9aa34efa958d607e8f91f5621a34c347 (patch) | |
tree | 930231c763c72911f8a91bb7af6bf3a6a814f255 | |
parent | 4a9ea58c0fe3d78b5bceaa970f05430cd2153cab (diff) | |
download | ATCD-eb127c1a9aa34efa958d607e8f91f5621a34c347.tar.gz |
ChangeLogTag:Wed Jan 31 17:30:46 UTC 2007 Steve Huston <shuston@riverace.com>
-rw-r--r-- | ACE/ChangeLog | 15 | ||||
-rw-r--r-- | ACE/ace/config-hpux-11.00.h | 3 | ||||
-rw-r--r-- | ACE/include/makeinclude/platform_hpux_aCC.GNU | 40 |
3 files changed, 26 insertions, 32 deletions
diff --git a/ACE/ChangeLog b/ACE/ChangeLog index 0d15ade3704..f5d6a7f3f42 100644 --- a/ACE/ChangeLog +++ b/ACE/ChangeLog @@ -1,3 +1,18 @@ +Wed Jan 31 17:30:46 UTC 2007 Steve Huston <shuston@riverace.com> + + * ace/config-hpux-11.00.h: + * include/makeinclude/platform_hpux_aCC.GNU: If stdcpplib=0 is + selected at build time, explicitly set -AP compile option to use + old C++ libraries and no std namespace. Also set + ACE_LACKS_NUMERIC_LIMITS when -AP is set - there is a numeric_limits + but not in std. Note that ACE_Array_Map won't build with stdcpplib=0 + but pre-ACE-5.5 legacy code will still build. + + Also removed the HP-UX 10.x remnants and pre-3.0 aC++ support + from platform_hpux_aCC.GNU. Could probably safely remove more old + compiler support (anything older than 3.56 probably) but I played + it a little conservative for now. + Wed Jan 31 17:22:11 UTC 2007 Chad Elliott <elliott_c@ociweb.com> * protocols/examples/examples.mwc: diff --git a/ACE/ace/config-hpux-11.00.h b/ACE/ace/config-hpux-11.00.h index f5b9bf8826c..4f0a605255d 100644 --- a/ACE/ace/config-hpux-11.00.h +++ b/ACE/ace/config-hpux-11.00.h @@ -107,6 +107,9 @@ # endif /* RWSTD_NO_NAMESPACE */ # else # define ACE_USES_OLD_IOSTREAMS + // There's no support in ACE's use of numeric_limits for those that + // aren't in std:: +# define ACE_LACKS_NUMERIC_LIMITS # endif /* _HP_NAMESPACE_STD */ // Compiler implements templates that support typedefs inside of classes diff --git a/ACE/include/makeinclude/platform_hpux_aCC.GNU b/ACE/include/makeinclude/platform_hpux_aCC.GNU index 4f74585568b..006daba7a2e 100644 --- a/ACE/include/makeinclude/platform_hpux_aCC.GNU +++ b/ACE/include/makeinclude/platform_hpux_aCC.GNU @@ -1,11 +1,6 @@ # $Id$ # -# This is for the HP-UX 10.x and 11.x using the aC++ compiler. -# -# For 10.x, most of the difference for threaded vs. non-threaded is -# contained in ace/config-hpux-10.x.h. However, to build without threads, -# you should run the make with "threads=0" since the default is to build -# with threads. +# This is for HP-UX 11.x using the aC++ compiler. # # HP-UX 11 supports both 32-bit and 64-bit builds, regardless of which # architecture the build is done on. This file is set up to build native @@ -20,6 +15,7 @@ debug ?= 1 distrib ?= 0 exceptions ?= 1 optimize ?= 0 +stdcpplib ?= 1 threads ?= 1 versioned_so ?= 0 @@ -36,21 +32,6 @@ CXXVERS_WORDS := $(subst ., , $(shell $(CXX) -V 2>&1)) CXXMINORVERS := $(word 8, $(CXXVERS_WORDS)) CXXMAJORVERS := $(word 7, $(CXXVERS_WORDS)) -ifeq (,$(stdcpplib)) -# If the user didn't explicitly set stdcpplib, assume that the compiler -# can do -AA, unless it's a .2x version (e.g., 03.24). 03.27 can do -AA, -# so check for that one explicitly and enable it if so. - ifeq (,$(filter 2%,$(CXXMINORVERS))) - stdcpplib = 1 - else - ifeq (27,$(CXXMINORVERS)) - stdcpplib = 1 - else - stdcpplib = 0 - endif - endif -endif - ifeq (1,$(stdcpplib)) CCFLAGS += -AA ifeq (03,$(CXXMAJORVERS)) @@ -66,6 +47,8 @@ ifeq (1,$(stdcpplib)) # JAGad12608, fix slated for Dec 2001 Release -- Steve Huston, April 10, 2001. # If you still have problems with this area, uncomment the following line: # exceptions = 1 +else + CCFLAGS += -AP endif # Set the appropriate preprocessor defs for threading based on OS version @@ -95,9 +78,7 @@ else THR_DEFS = -DACE_HAS_THREADS=0 # On HP-UX 11, even without building for threads, the *_r reentrant # functions are available, and _REENTRANT enables them. - ifeq ($(word 2,$(HPVERS_WORDS)), 11) - THR_DEFS += -D_REENTRANT - endif + THR_DEFS += -D_REENTRANT endif ifeq ($(HPMODEL), ia64) @@ -183,14 +164,9 @@ ifeq ($(buildbits),64) CFLAGS += +DD64 CCFLAGS += +DD64 else - ifeq ($(word 2,$(HPVERS_WORDS)), 11) - ## Without the W, it isn't really a 64-bit build - CFLAGS += +DA2.0W +DS2.0W - CCFLAGS += +DA2.0W +DS2.0W - else - CFLAGS += +DA2.0 +DS2.0 - CCFLAGS += +DA2.0 +DS2.0 - endif + ## Without the W, it isn't really a 64-bit build + CFLAGS += +DA2.0W +DS2.0W + CCFLAGS += +DA2.0W +DS2.0W endif LDFLAGS += -Wl,+vnocompatwarnings else |