Boost logo

Boost Users :

From: Dmitry Teslenko (dteslenko_at_[hidden])
Date: 2007-07-16 05:52:18


Hello!
Are compiler requirements equal across all boost libraries?
I've tried to statically link against boost_regex, boost_signals and
boost_filesystem and last one fails to compile saying:

/opt/boost_1_34_0/boost/filesystem/path.hpp:615: syntax error before `&'
/opt/boost_1_34_0/boost/filesystem/path.hpp:617: `::basic_ostream'
undeclared (first use here)
/opt/boost_1_34_0/boost/filesystem/path.hpp:617: `Path' is not a class
or namespace
/opt/boost_1_34_0/boost/filesystem/path.hpp:617: `string_type' is not
a class or namespace
/opt/boost_1_34_0/boost/filesystem/path.hpp:617: `value_type' is not a
class or namespace
/opt/boost_1_34_0/boost/filesystem/path.hpp:617: using `typename'
outside of template
/opt/boost_1_34_0/boost/filesystem/path.hpp:617: parse error before `,'
/opt/boost_1_34_0/boost/filesystem/path.hpp:619: ANSI C++ forbids
declaration `operator <<' with no type
etc ...

While signals and regex compile cleanly.

My Jamroot looks like:
BOOST_PATH = <path-to-boost> ;

project
    : requirements <include>$(BOOST_PATH) <threading>multi

lib boost-signals
        : [ glob $(BOOST_PATH)/libs/signals/src/*.cpp ]
        : <link>static
        ;
...
        
exe boost-test
        : main.cpp boost-signals ...
        ;

Does 2.95 gcc compiler supported? Thanks.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net