Boost logo

Boost Users :

Subject: [Boost-users] Can't compile some boost code on Solaris
From: Roger House (rhouse_at_[hidden])
Date: 2009-10-02 14:59:56


I'm attempting to build a quite large app on Solaris (which I know next to
nothing about), and I'm getting compilation errors in a couple of boost
files, seemingly related to stlport.

The error message "exception is not a member of stlp_std" is issued for
line
29 of archive_exception.hpp:

    class archive_exception :
        public virtual std::exception

The same message (plus others which I think are spurious) is issued for
line 55 of throw_exception.hpp:

    inline void throw_exception_assert_compatibility( std::exception
const & ) { }

All this code compiles okay with gcc on Linux and with cl on Windows, so I
think it is specifically a Sun issue. A Google search led to some
discussions
on the boost site, but I could not determine from them what the fix is.

The Sun compiler I'm using is version 5.9.0, and the boost version is
1.39.0.

Any help on this will be greatly appreciated.

Roger House
Software Developer


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