Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2007-07-16 13:10:21


on Mon Jul 16 2007, "Dmitry Teslenko" <dteslenko-AT-gmail.com> wrote:

> Hello!
> Are compiler requirements equal across all boost libraries?

Nope

> 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.
>
>
> Does 2.95 gcc compiler supported? Thanks.

It is supported by some libraries -- mostly older ones. Many newer
libraries are being written without support for nonconforming
compilers that are over 6 years old ;-)

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com
The Astoria Seminar ==> http://www.astoriaseminar.com

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