|
Boost : |
From: Ralf W. Grosse-Kunstleve (rwgk_at_[hidden])
Date: 2005-03-28 08:37:02
The current Boost CVS does not work for compiling Boost.Python with the
EDG front-end versions 238, 245, and 303 (and possibly any other EDG). E.g.
using icc 8.1:
icc -fPIC -DBOOST_DISABLE_THREADS -DNDEBUG -O2 -DBOOST_PYTHON_MAX_BASES=2
-I/net/legless/scratch1/rwgk/hot/boost
-I/usr/local_cci/Python-2.4_ticker/include/python2.4 -c -o
boost/libs/python/test/args.os
/net/legless/scratch1/rwgk/hot/boost/libs/python/test/args.cpp
/net/legless/scratch1/rwgk/hot/boost/boost/python/detail/invoke.hpp(75): error:
expression must have (pointer-to-) function type
return rc(f( BOOST_PP_ENUM_BINARY_PARAMS_Z(1, N, ac, ()
BOOST_PP_INTERCEPT) ));
^
detected during:
The full error messages are here:
http://cci.lbl.gov/~rwgk/tmp/edg238_problem_2005_03_27_1250
http://cci.lbl.gov/~rwgk/tmp/edg245_problem_2005_03_27_1250
http://cci.lbl.gov/~rwgk/tmp/edg303_problem_2005_03_27_1250
I've tracked down the failures to this CVS commit:
date: 2005/03/23 11:22:25; author: johnmaddock;
Modified function testing to make it configuration-friendly, future
changes should require no more than a config macro change.
If I check out the CVS HEAD, but run this command
% cvs -q update -P -D'2005/03/23 11:00 UTC'
U config.hpp
U is_convertible.hpp
U is_function.hpp
U is_member_function_pointer.hpp
U type_traits_test.hpp
U detail/is_function_ptr_helper.hpp
U detail/is_function_ptr_tester.hpp
U detail/is_mem_fun_pointer_impl.hpp
U detail/is_mem_fun_pointer_tester.hpp
in boost/boost/type_traits, compilation succeeds again.
The full diffs are here:
http://cci.lbl.gov/~rwgk/tmp/edg_problem_2005_03_27_1250_type_traits_diffs
I noticed that is_convertible.hpp was modified at a later time
(2005/03/24 18:18:36), but this change does not make a difference for
the EDG failures.
Thanks in advance for any help!
Cheers,
Ralf
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk