Problems in compilation with Boost
Hi, I am evaluating Boost for use in our project. The platform OS is FreeBSD 4.9; which comes with gcc-2.95.3. I downloaded boost_1.30.0 and compiled the thread library on the FreeBSD box. When I try to compile a small test program using Boost threads; I encounter hundreds of compiler errors; mostly in the Boost header files. Is there a workaround to this ? Which version of Boost works with gcc-2.95.3 and what are the compiler options that will make it compile properly? regards, Debayan.
"Debayan Chaudhuri"
Hi,
I am evaluating Boost for use in our project. The platform OS is FreeBSD 4.9; which comes with gcc-2.95.3. I downloaded boost_1.30.0 and compiled the thread library on the FreeBSD box.
When I try to compile a small test program using Boost threads; I encounter hundreds of compiler errors; mostly in the Boost header files. Is there a workaround to this ? Which version of Boost works with gcc-2.95.3 and what are the compiler options that will make it compile properly?
It's pretty hard to help unless you tell us what the compile errors are. Perhaps you could post them if you're still having problems? Mike
Hi Mike,
Thanks a lot for responding to my plea for help. I was getting the
following errors while building my simple program that used Boost threads(
only the initial errors are listed below ).
*******************************************************
/usr/local/boost/boost_1_30_0/boost/type_traits/is_convertible.hpp:191:
template instantiation depth exceeds maximum of 17
/usr/local/boost/boost_1_30_0/boost/type_traits/is_convertible.hpp:191:
(use -ftemplate-depth-NN to increase the maximum)
/usr/local/boost/boost_1_30_0/boost/type_traits/is_convertible.hpp:191:
instantiating `boost::add_reference
"Debayan Chaudhuri"
wrote in message news:20041008161349.M12932@rebaca.com... Hi,
I am evaluating Boost for use in our project. The platform OS is FreeBSD 4.9; which comes with gcc-2.95.3. I downloaded boost_1.30.0 and compiled the thread library on the FreeBSD box.
When I try to compile a small test program using Boost threads; I encounter hundreds of compiler errors; mostly in the Boost header files. Is there a workaround to this ? Which version of Boost works with gcc-2.95.3 and what are the compiler options that will make it compile properly?
It's pretty hard to help unless you tell us what the compile errors are. Perhaps you could post them if you're still having problems?
Mike
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
Debayan Chaudhuri
-
Michael Glassford