Update of /cvsroot/boost/boost/boost/wave
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv22053/boost/wave
Modified Files:
cpp_context.hpp
Log Message:
Wave: Fixed predefined macro support to be thread safe.
Index: cpp_context.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/wave/cpp_context.hpp,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- cpp_context.hpp 11 Jul 2007 15:35:30 -0000 1.37
+++ cpp_context.hpp 17 Jul 2007 15:41:28 -0000 1.38
@@ -228,9 +228,15 @@
// get the Wave version information
static std::string get_version()
- { return boost::wave::util::predefined_macros::get_fullversion(false);
}
+ {
+ boost::wave::util::predefined_macros p;
+ return p.get_fullversion().c_str();
+ }
static std::string get_version_string()
- { return boost::wave::util::predefined_macros::get_versionstr(false); }
+ {
+ boost::wave::util::predefined_macros p;
+ return p.get_versionstr().c_str();
+ }
// access current language options
void set_language(boost::wave::language_support language_,
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs