[C++-sig] Re: Cross module inheritance failing with the Intel compiler on Linux
David Abrahams
dave at boost-consulting.com
Thu Mar 11 15:11:26 CET 2004
"Ralf W. Grosse-Kunstleve" <rwgk at yahoo.com> writes:
> Anyway, I think I have the solution: compile everything with
>
> -DBOOST_PYTHON_TYPE_ID_NAME
>
> Alternatively, change
>
> boost/boost/python/type_id.hpp
>
> so the code starting at line 32 looks like this:
>
> # if (defined(__GNUC__) && __GNUC__ >= 3) \
> || defined(_AIX) \
> || ( defined(__sgi) && defined(__host_mips)) \
> || (defined(linux) && defined(__INTEL_COMPILER) && defined(__ICC))
> # define BOOST_PYTHON_TYPE_ID_NAME
> # endif
>
> David, what do you think about the defines that I chose?
Did you test this with Intel 7.1 by running the Boost.Python
regressions? I'd be surprised if it worked; I could've sworn it was
the first thing I checked when trying to solve this problem. IIRC we
still have problems with exception handling.
--
Dave Abrahams
Boost Consulting
www.boost-consulting.com
More information about the Cplusplus-sig
mailing list