Update of /cvsroot/boost/boost/boost/xpressive/detail/core
In directory 
sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv23233/boost/xpressive/detail/core

Modified Files:
        flow_control.hpp icase.hpp 
Log Message:
work-arounds for gcc bugs and warnings

Index: flow_control.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/detail/core/flow_control.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- flow_control.hpp    26 Nov 2005 17:12:25 -0000      1.3
+++ flow_control.hpp    22 Oct 2006 05:11:38 -0000      1.4
@@ -34,7 +34,7 @@
 {
     // save state
     match_context<BidiIter> context = state.push_context(impl, next, context);
-    detail::ignore_unused(&context);
+    detail::ignore_unused(context);
 
     // match the nested regex
     bool success = impl.xpr_->match(state);

Index: icase.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/detail/core/icase.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- icase.hpp   27 Nov 2005 17:47:45 -0000      1.2
+++ icase.hpp   22 Oct 2006 05:11:38 -0000      1.3
@@ -12,6 +12,7 @@
 #include <boost/xpressive/regex_constants.hpp>
 #include <boost/xpressive/detail/static/modifier.hpp>
 #include <boost/xpressive/detail/core/linker.hpp>
+#include <boost/xpressive/detail/utility/ignore_unused.hpp>
 
 namespace boost { namespace xpressive { namespace regex_constants
 {
@@ -28,6 +29,14 @@
 
 using regex_constants::icase;
 
+namespace detail
+{
+    inline void ignore_unused_icase()
+    {
+        ignore_unused(icase);
+    }
+}
+
 }} // namespace boost::xpressive
 
 #endif


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to