Boost logo

Boost Users :

From: mik (mirko.cambi_at_[hidden])
Date: 2019-12-11 09:15:07


Hello,
some other informations. The row below is the complete line command that
generates the error:

"/opt/solarisstudio12.3/bin/CC" -library=stlport4 -xcode=pic32 -g -mt
-erroff=%none -xldscope=hidden -m64 -DBOOST_ALL_NO_LIB=1
-DBOOST_TEST_DYN_LINK=1 -I"." -c -o
"bin.v2/libs/test/build/sun/debug/address-model-64/threading-multi/visibility-hidden/execution_monitor.o"
"libs/test/src/execution_monitor.cpp"

If I remove the macro definition -DBOOST_TEST_DYN_LINK=1 the error
disappears.

Thanks,
    Mirko

On Wed, Dec 11, 2019 at 2:41 AM mik <mirko.cambi_at_[hidden]> wrote:

> Hi,
> I'm triying to compile the boost 1.70 on Sun solaris using the version
> 12.3, but I got an annoying error on the test library:
>
> "./boost/test/unit_test_log_formatter.hpp", line 39: Error: Identifier
> expected instead of "__global".
>
> For what I can understand it seems that compiler doesn't recognize the
> keyword __global.
>
> Below, there's the command line that I've used:
>
> ./b2 toolset=sun variant=debug address-model=64 threading=multi
> link=shared runtime-link=shared --with-test
>
> Do you have any suggestions?
>
> Thanks,
> Mirko
>
>
>



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