summaryrefslogtreecommitdiff
path: root/ACE/include/makeinclude/platform_sunos5_sunc++.GNU
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2007-08-20 12:29:21 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2007-08-20 12:29:21 +0000
commitae9aeb0cad05c823a37fd94bfb5c8af2212b1df6 (patch)
tree7f1259b8d96c6ffa82481f0ca528c351b904113a /ACE/include/makeinclude/platform_sunos5_sunc++.GNU
parent899c16bf390431da7615fcbb11f62144bc5ecb6b (diff)
downloadATCD-ae9aeb0cad05c823a37fd94bfb5c8af2212b1df6.tar.gz
Mon Aug 20 12:28:12 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ACE/include/makeinclude/platform_sunos5_sunc++.GNU')
-rw-r--r--ACE/include/makeinclude/platform_sunos5_sunc++.GNU25
1 files changed, 3 insertions, 22 deletions
diff --git a/ACE/include/makeinclude/platform_sunos5_sunc++.GNU b/ACE/include/makeinclude/platform_sunos5_sunc++.GNU
index 69ad96a2406..ca3beccba80 100644
--- a/ACE/include/makeinclude/platform_sunos5_sunc++.GNU
+++ b/ACE/include/makeinclude/platform_sunos5_sunc++.GNU
@@ -118,16 +118,7 @@ ifeq (Compilers 4.2,$(findstring Compilers 4.2,$(CC_VERSION)))
#### CC 4.2, only, supports -features=castop
CCFLAGS += $(CFLAGS) -features=castop
- #### RTTI can coexist with ACE, but it doesn't use it. To enable,
- #### add rtti=1 to your make invocation. Sun C++ 4.2, only, supports
- #### this option.
- ifeq (1,$(rtti))
- CCFLAGS += -features=rtti
- else # ! rtti
- #### ACE_LACKS_RTTI is necessary with -features=castop, but
- #### without -features=rtti, to convert dynamic_cast to static_cast.
- CPPFLAGS += -DACE_LACKS_RTTI
- endif # ! rtti
+ CCFLAGS += -features=rtti
#### Create template repository to avoid compiler warning.
TEMPLATE_REPOSITORY = Templates.DB
@@ -155,19 +146,9 @@ else # ! 4.2
#### is turning on -compat=4, and not trying to enable the new libraries.
ifeq ($(compat4),1)
CCFLAGS += -compat=4
-
- #### RTTI can coexist with ACE, but it doesn't use it. To enable,
- #### add rtti=1 to your make invocation. Sun C++ 4.2, only, supports
- #### this option.
- ifeq (1,$(rtti))
- CCFLAGS += -features=rtti
- else # ! rtti
- #### ACE_LACKS_RTTI is necessary with -features=castop, but
- #### without -features=rtti, to convert dynamic_cast to static_cast.
- CPPFLAGS += -DACE_LACKS_RTTI
- endif # ! rtti
+ CCFLAGS += -features=rtti
else
- #### Support RTTI by default. And, use old iostreams.
+ #### Use old iostreams.
ifeq (C++ 5.0,$(findstring C++ 5.0,$(CC_VERSION)))
ifeq (1,$(stdcpplib))
CCFLAGS += -library=Cstd