|
Boost : |
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.
Wrong list!
> 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.
Ralf
Index: boost/python/converter/as_to_python_function.hpp
===================================================================
RCS file:
/net/cci/cvs/boost_1_30_0_cci/boost/python/converter/as_to_python_function.hpp,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 as_to_python_function.hpp
--- boost/python/converter/as_to_python_function.hpp 20 May 2003 16:40:39
-0000 1.1.1.1
+++ boost/python/converter/as_to_python_function.hpp 20 May 2003 17:15:35
-0000
@@ -25,10 +25,12 @@
static PyObject* convert(void const* x)
{
+#if !(defined(__GNUC__) && __GNUC__ == 3 && __GNUC_MINOR__ == 3)
BOOST_STATIC_ASSERT(
sizeof(
convert_function_must_take_value_or_const_reference(&ToPython::convert, 1L))
== sizeof(int));
+#endif
// 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.
http://search.yahoo.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk