Boost logo

Boost Users :

Subject: Re: [Boost-users] Attempting to build Boost 1.41 on Solaris 10, Sun Studio 11 getting compilation errors
From: John Maddock (john_at_[hidden])
Date: 2009-11-24 04:05:42


>I am attempting to compile Boost 1.41 on Solaris 10, Sun Studio 11 in
> 64bit. This is the error I am getting along with my build command. Any
> ideas?

Looks like BOOST_HAS_LONG_LONG is not getting set even though limits.h has
the long long macros - it should be set automatically by the config system
for __SUNPRO_CC >= 0x590, is that the case here?

The actual error is caused by a longstanding bug in Boost.Integer which will
be fixed in the next release BTW.

You could try adding BOOST_HAS_LONG_LONG to boost/config/user.hpp and see if
that helps?

HTH, John.


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