Boost 1.39.0 unit test crash on Sun OS

Hi I have just started using boost unit test framework and i am also new to boost. I have a very basic test case program which i am testing with boost 1.39.0 unit test libraries. The code compiles properly but on running it crashes without even reaching my test case. Is someone facing similar issue on Sun OS. Btw, I am using Boost 1.39.0 on Sun os. I have compiled boost libraries myself with sun toolset using these options ./bootstrap.sh --with-toolset=sun wih user.config.jam as using sun : 5.9 : /bb/util/common/studio12-v4/SUNWspro/bin/CC : <stdlib>sun-stlport <cxxflags>"-library=stlport4 -xcode=pic32 -erroff=wvarhidemem,hidevf,hidevfinvb,badargtypel2w,wbadinitl,nullref,temwhileinst,unassigned -errtags=yes" <linkflags>"-library=stlport4 -xcode=pic32" ; Thanks Yogesh

Oh i forgot to mention that i am linking with Dynamic version of boost unit
test libraries.
On Thu, Mar 11, 2010 at 9:41 AM, Yogesh Arora
Hi
I have just started using boost unit test framework and i am also new to boost. I have a very basic test case program which i am testing with boost 1.39.0 unit test libraries. The code compiles properly but on running it crashes without even reaching my test case.
Is someone facing similar issue on Sun OS.
Btw, I am using Boost 1.39.0 on Sun os. I have compiled boost libraries myself with sun toolset using these options ./bootstrap.sh --with-toolset=sun wih user.config.jam as using sun : 5.9 : /bb/util/common/studio12-v4/SUNWspro/bin/CC : <stdlib>sun-stlport <cxxflags>"-library=stlport4 -xcode=pic32 -erroff=wvarhidemem,hidevf,hidevfinvb,badargtypel2w,wbadinitl,nullref,temwhileinst,unassigned -errtags=yes" <linkflags>"-library=stlport4 -xcode=pic32" ;
Thanks Yogesh

Yogesh Arora
Oh i forgot to mention that i am linking with Dynamic version of boost unit
test libraries.
On Thu, Mar 11, 2010 at 9:41 AM, Yogesh Arora
wrote: Hi I have just started using boost unit test framework and i am also new to boost. I have a very basic test case program which i am testing with boost 1.39.0 unit test libraries. The code compiles properly but on running it crashes without even reaching my test case.
Please post simple example illustrating the issue.
using sun : 5.9 : /bb/util/common/studio12-v4/SUNWspro/bin/CC
Is this compiler available for free evaluation? Gennadiy

#define BOOST_TEST_DYN_LINK
#define BOOST_TEST_MAIN
#define BOOST_TEST_MODULE example
#include
Yogesh Arora
writes: Oh i forgot to mention that i am linking with Dynamic version of boost
unit test libraries.
On Thu, Mar 11, 2010 at 9:41 AM, Yogesh Arora
wrote: Hi I have just started using boost unit test framework and i am also new to boost. I have a very basic test case program which i am testing with boost 1.39.0 unit test libraries. The code compiles properly but on running it crashes without even reaching my test case.
Please post simple example illustrating the issue.
using sun : 5.9 : /bb/util/common/studio12-v4/SUNWspro/bin/CC
Is this compiler available for free evaluation?
Gennadiy
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

Yogesh Arora wrote: #define BOOST_TEST_DYN_LINK #define BOOST_TEST_MAIN #define BOOST_TEST_MODULE example #include
BOOST_AUTO_TEST_CASE( test1 ) { BOOST_CHECK( true ); } the compiler is available for download at the sun developer website , if you become sun developer network member which is free
I'll review your example and this compiler when I have time. Meanwhile you can debug it yourself and let me know where it fails? Gennadiy P.S. Please, do not top post
participants (2)
-
Gennadiy Rozental
-
Yogesh Arora