Newbie: can't build Boot.Python with Borland bcc32 5.5.1
Hello. Sorry if the answer to this question is available elsewhere but I haven't found it yet. I would like to build the python library in boost_1_30_0 using Borland C++ Builder 5 (bcc32 version 5.5.1). Currently, this fails with a number of errors, the first and most significant being: Error E2401 C:\boost\boost_1_30_0\boost/python/object/inheritance.hpp 69: Invalid template argument list The statement around line 69 from inheritance.hpp is as follows: typedef typename mpl::if_c< is_polymorphic<T>::value , polymorphic_id_generator<T> , non_polymorphic_id_generator<T> >::type type; Is the borland compiler simply incapable of compiling this statement or (as is likely) have I missed something? Thanks in advance
"David Webster-Jaggard"
The statement around line 69 from inheritance.hpp is as follows:
typedef typename mpl::if_c< is_polymorphic<T>::value , polymorphic_id_generator<T> , non_polymorphic_id_generator<T> >::type type;
Is the borland compiler simply incapable of compiling this statement or (as is likely)
Yes. A trivial transformation fixes that particular statement for Borland: typedef typename mpl::if_< is_polymorphic<T> , polymorphic_id_generator<T> , non_polymorphic_id_generator<T> >::type type; After applying a huge pile of these trivial transformations someone will get to see the *real* problems Borland has with this library ;-). Someone has been working on a Borland port (apologies to the person in question, whose name I've forgotten), but we haven't seen the result yet. Regards, -- Dave Abrahams Boost Consulting www.boost-consulting.com
participants (2)
-
David Abrahams
-
David Webster-Jaggard