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

Modified Files:
        parser_traits.hpp 
Log Message:
work around gcc-4.0 compiler bug

Index: parser_traits.hpp
===================================================================
RCS file: 
/cvsroot/boost/boost/boost/xpressive/detail/dynamic/parser_traits.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- parser_traits.hpp   26 Nov 2005 17:12:25 -0000      1.3
+++ parser_traits.hpp   23 Oct 2006 00:02:53 -0000      1.4
@@ -350,8 +350,10 @@
         case BOOST_XPR_CHAR_(char_type, '-'): if(false == (set = !set)) break; 
// else fall-through
         default: throw regex_error(error_paren, "unknown pattern modifier");
         }
-        while(detail::ensure(++begin != end, error_paren, "incomplete 
extension"), true);
-        BOOST_UNREACHABLE_RETURN(token_no_mark);
+        while(detail::ensure(++begin != end, error_paren, "incomplete 
extension"));
+        // this return is technically unreachable, but this must
+        // be here to work around a bug in gcc 4.0
+        return token_no_mark;
     }
 
     
///////////////////////////////////////////////////////////////////////////////


-------------------------------------------------------------------------
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