Update of /cvsroot/boost/boost/libs/wave/samples/waveidl
In directory
sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv9727/libs/wave/samples/waveidl
Modified Files:
idl.cpp
Log Message:
Fixed exception specifications to catch exceptions as const&.
Index: idl.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/wave/samples/waveidl/idl.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- idl.cpp 24 Dec 2005 19:50:44 -0000 1.5
+++ idl.cpp 24 Jun 2006 16:59:46 -0000 1.6
@@ -381,21 +381,21 @@
++first; // advance to the next token
}
}
- catch (boost::wave::cpp_exception &e) {
+ catch (boost::wave::cpp_exception const& e) {
// some preprocessing error
cerr
<< e.file_name() << "(" << e.line_no() << "): "
<< e.description() << endl;
return 1;
}
- catch (boost::wave::cpplexer::lexing_exception &e) {
+ catch (boost::wave::cpplexer::lexing_exception const& e) {
// some lexing error
cerr
<< e.file_name() << "(" << e.line_no() << "): "
<< e.description() << endl;
return 2;
}
- catch (std::exception &e) {
+ catch (std::exception const& e) {
// use last recognized token to retrieve the error position
cerr
<< current_position.get_file()
@@ -525,7 +525,7 @@
// preprocess the given input file
return do_actual_work(arguments[0].value[0], vm);
}
- catch (std::exception &e) {
+ catch (std::exception const& e) {
cout << "waveidl: exception caught: " << e.what() << endl;
return 6;
}
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