From: Ralf W. Grosse-Kunstleve (rwgk_at_[hidden])
Date: 2003-05-20 12:40:38
--- Pascal Bleser <pascal.bleser_at_[hidden]> wrote:
> I'm new to Boost and currently evaluating its portability.
> We have:
> - Linux / GCC
> - AIX / Visual Age C++ 5
> - Solaris / WorkshopPro 5
> - HP-UX / aCC 3.3x
> If it is of any interest, I'll post the results on this ML.
> Boost 1.30.0 is issuing a warning that GCC 3.3 (on SuSE Linux 8.2, x86) is
> currently not supported.
You can disable the warning by editing boost/config/compiler/gcc.hpp, line 62.
I don't think anything else needs to be done, but I am not entirely sure.
> The python library also triggers some internal compiler errors.
> Has anyone got some experience with Boost on GCC 3.3 ?
Try the attached trivial patch to avoid the ICE. This one patch is sufficient
to enable compilation of all our code (quite a bit). Some regression tests fail
with seg faults, presumably because the gcc 3.3 optimizer is buggy.
> How can we contribute changes/additions to make GCC 3.3 supported ?
Post your problem reports and patches to boost_at_lists.boost.org.
retrieving revision 188.8.131.52
diff -u -r184.108.40.206 as_to_python_function.hpp
--- boost/python/converter/as_to_python_function.hpp 20 May 2003 16:40:39
+++ boost/python/converter/as_to_python_function.hpp 20 May 2003 17:15:35
@@ -25,10 +25,12 @@
static PyObject* convert(void const* x)
+#if !(defined(__GNUC__) && __GNUC__ == 3 && __GNUC_MINOR__ == 3)
// Yes, the const_cast below opens a hole in const-correctness,
// but it's needed to convert auto_ptr<U> to python.
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk