|
From: Braden M. <br...@us...> - 2005-12-10 21:12:24
|
Update of /cvsroot/openvrml/openvrml/src/libopenvrml In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18950/src/libopenvrml Modified Files: private.h Log Message: Quell unused variable warnings from Microsoft cl when building with NDEBUG. Index: private.h =================================================================== RCS file: /cvsroot/openvrml/openvrml/src/libopenvrml/private.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** private.h 24 Oct 2005 05:55:55 -0000 1.7 --- private.h 10 Dec 2005 21:12:16 -0000 1.8 *************** *** 24,27 **** --- 24,28 ---- # include <openvrml-common.h> + # include <boost/concept_check.hpp> # ifndef NDEBUG *************** *** 43,47 **** # ifdef NDEBUG ! # define OPENVRML_PRINT_EXCEPTION_(ex_) # else # define OPENVRML_PRINT_EXCEPTION_(ex_) \ --- 44,49 ---- # ifdef NDEBUG ! # define OPENVRML_PRINT_EXCEPTION_(ex_) \ ! boost::ignore_unused_variable_warning(ex_) # else # define OPENVRML_PRINT_EXCEPTION_(ex_) \ |