|
Boost : |
From: Matthias Troyer (troyer_at_[hidden])
Date: 2004-11-02 09:17:51
Could these patches be applied to make program_options compile with the
IBM compiler?
Matthias
--- boost/boost/program_options/detail/utf8_codecvt_facet.hpp Wed Jul
21 09:49:15 2004
+++ ../utf8_codecvt_facet.hpp Tue Nov 2 15:05:34 2004
@@ -146,7 +146,11 @@
const char * from,
const char * from_end,
std::size_t max_limit
+#if BOOST_WORKAROUND(__IBMCPP__, BOOST_TESTED_AT(600))
+ ) const throw();
+#else
) const;
+#endif
// Largest possible value do_length(state,from,from_end,1) could
return.
virtual int do_max_length() const throw () {
--- boost/libs/program_options/src/utf8_codecvt_facet.cpp Thu Aug
26 11:37:53 2004
+++ ../utf8_codecvt_facet.cpp Tue Nov 2 15:04:38 2004
@@ -172,7 +172,12 @@
const char * from,
const char * from_end,
std::size_t max_limit
+#if BOOST_WORKAROUND(__IBMCPP__, BOOST_TESTED_AT(600))
+) const throw()
+#else
) const
+#endif
+
{
// RG - this code is confusing! I need a better way to express it.
// and test cases.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk