Update of /cvsroot/openvrml/openvrml/src/libopenvrml
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28449/src/libopenvrml
Modified Files:
openvrml-common.h openvrml-config.h.in
Log Message:
Made use of exception specifications a configure option.
Index: openvrml-common.h
===================================================================
RCS file: /cvsroot/openvrml/openvrml/src/libopenvrml/openvrml-common.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** openvrml-common.h 17 Aug 2005 20:57:38 -0000 1.3
--- openvrml-common.h 12 Feb 2006 09:40:17 -0000 1.4
***************
*** 25,27 ****
--- 25,43 ----
# include <openvrml-config.h>
+ # if OPENVRML_ENABLE_EXCEPTION_SPECS
+ # define OPENVRML_NOTHROW throw ()
+ # define OPENVRML_THROW1(ex_) throw (ex_)
+ # define OPENVRML_THROW2(ex1_, ex2_) throw (ex1_, ex2_)
+ # define OPENVRML_THROW3(ex1_, ex2_, ex3_) throw (ex1_, ex2_, ex3_)
+ # define OPENVRML_THROW4(ex1_, ex2_, ex3_, ex4_) throw (ex1_, ex2_, ex3_, ex4_)
+ # define OPENVRML_THROW5(ex1_, ex2_, ex3_, ex4_, ex5_) throw (ex1_, ex2_, ex3_, ex4_, ex5_)
+ # else
+ # define OPENVRML_NOTHROW
+ # define OPENVRML_THROW1(ex_)
+ # define OPENVRML_THROW2(ex1_, ex2_)
+ # define OPENVRML_THROW3(ex1_, ex2_, ex3_)
+ # define OPENVRML_THROW4(ex1_, ex2_, ex3_, ex4_)
+ # define OPENVRML_THROW5(ex1_, ex2_, ex3_, ex4_, ex5_)
+ # endif
+
# endif // ifndef OPENVRML_COMMON_H
Index: openvrml-config.h.in
===================================================================
RCS file: /cvsroot/openvrml/openvrml/src/libopenvrml/openvrml-config.h.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** openvrml-config.h.in 11 Aug 2005 22:50:13 -0000 1.1
--- openvrml-config.h.in 12 Feb 2006 09:40:17 -0000 1.2
***************
*** 25,28 ****
--- 25,29 ----
# define OPENVRML_API @OPENVRML_API@
# define OPENVRML_LOCAL @OPENVRML_LOCAL@
+ # define OPENVRML_ENABLE_EXCEPTION_SPECS @OPENVRML_ENABLE_EXCEPTION_SPECS@
# endif // ifndef OPENVRML_CONFIG_H
|