summaryrefslogtreecommitdiff
path: root/include/makeinclude
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-08-19 15:07:26 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-08-19 15:07:26 +0000
commite6ff7c703560ef2b704c535ab6b764803113e054 (patch)
tree908a0726e6a8ccfe9316692ab6aca6a6e92deeaf /include/makeinclude
parent69b113f701cce07f65cb151fc79a05ea912f5dc7 (diff)
downloadATCD-e6ff7c703560ef2b704c535ab6b764803113e054.tar.gz
ChangeLogTag: Thu Aug 19 10:04:12 1999 David L. Levine <levine@cs.wustl.edu>
Diffstat (limited to 'include/makeinclude')
-rw-r--r--include/makeinclude/platform_vxworks5.x_g++.GNU10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/makeinclude/platform_vxworks5.x_g++.GNU b/include/makeinclude/platform_vxworks5.x_g++.GNU
index 19ae0009f96..76c8d81df2f 100644
--- a/include/makeinclude/platform_vxworks5.x_g++.GNU
+++ b/include/makeinclude/platform_vxworks5.x_g++.GNU
@@ -188,8 +188,9 @@ endif # ! ACE_CC_VERSION
ifeq (egcs,$(findstring egcs,$(ACE_CC_VERSION)))
ACE_HAS_GNUG_PRE_2_8 := 0
CFLAGS += -DACE_VXWORKS=0x540
- ifndef exceptions
+ ifneq (1,$(exceptions))
#### With exceptions, this is applied in wrapper_macros.GNU.
+ #### Without, we do it here.
CFLAGS += -Wno-uninitialized
endif # ! exceptions
endif # egcs
@@ -206,3 +207,10 @@ LINK.cc.override = $(LD)
#### To extract the symbol table from each executable, uncomment the POSTLINK
#### definition below.
## POSTLINK = ; VX_CPU_FAMILY=$(TOOLENV) $(BINXSYM_NAME) < $@ > $@.sym
+
+ifeq (1,$(exceptions))
+ #### The VxWorks libraries don't support exceptions. And, exceptions
+ #### give the (Tornado II) compiler fits, e.g., with
+ #### ACE_wrappers/TAO/tao/IORManipulation.cpp.
+ CONFIGURATION_ERROR: exception_handling_is_not_supported_on_VxWorks!
+endif # exceptions