Boost logo

Boost Users :

Subject: Re: [Boost-users] [Boost.Serialization][Boost.Iterators] Problem with Boost 1.59.0 in Solaris with SunCC
From: dariomt (dariomt_at_[hidden])
Date: 2015-12-30 06:02:56


Piotr Kowalski <koval.gnu <at> gmail.com> writes:
>
> What options are you using to compile your sample code?I tried CC -
I<boost-path> -library=stlport4 -mt -c fail.cpp and it works fine for Sun
Studio 11 (CC 5.8), Sun Studio 12 (CC 5.9), Solaris Studio 12.2 (CC 5.11)
and 12.3 (CC 5.12). All of them compile this without errors, both with
and without -mt option (single/multi-threaded version).

First thing, thank you for your time and help!

I'm compiling with
CC -I<boost-path> -features=extensions -library=stlport4 -mt -
DBOOST_THREAD_DONT_USE_ATOMIC -O2 -DNDEBUG -c fail.cpp

My exact version is
$ CC -V
CC: Sun C++ 5.10 SunOS_i386 Patch 128229-32 2013/12/04

> Unfortunately I have no Sun Studio 12.1 so this may be a bug specific
to this version orÙ•¸Á…э Í•Ð¸(øQÉ¥•Ý¥Ñ  ½½ÍЀĸÔä¸À…¹€Ä¸ØÀ¸À¸()%Ё‘½•ÌÍ••´±¥­”„Áɽ‰±•´Ý¥Ñ Ñ¡¥ÌÍÁ•¥™¥ŒÙ•ÉÍ¥½¸€è ((ø€(ø%˜å½Ô…É”ÕÍ¥¹œÑ¡”Í…µ”½ÁÑ¥½¹Ì°¥ÌÑ¡•É”„Á½ÍÍ¥‰¥±¥Ñäå½Ô¡…Ù”€)Á…э¡• ½½ÍЁ½Èå½ÕȁÍåÍÑ•´½ÍѱÁ½ÉЁ¡•…‘•É́¥¸…¹äÝ…äü5…剔å½ÕÈ€)‰½½Íн½¹™¥œ½Õ͕ȹ¡ÁÀ½¹Ñ…¥¹ÌÍ½µ”ÕÍѽµ¥é…Ñ¥½¹ÌÝ¡¥ µ¥¡Ð…™™•ÐÑ¡”€)½‘”ü(ø€()$¡…Ù”¹½ÐÁ…э¡•‰½½ÍЁ½È¡…¹•…¹åÑ¡¥¹œ¥¸Ñ¡”ÍåÍÑ•´¸±Í¼°¹¼€)¡…¹•ÌÑ¼‰½½Íн½¹™¥œ½Õ͕ȹ¡ÁÀ((ø%˜™••°Ñ¡”•Éɽȁ‘½•Ì¹½Ð½µ”™É½´…¹äµ…¹¥ÁÕ±…Ñ¥½¹Ì½¸€)½µÁ¥±•È½ ½½ÍЁ¡•…‘•ÉÌ°Ý½Õ±å½Ôµ¥¹…ÑÑ…¡¥¹œÑ¡”½ÕÑÁÕЁ™¥±”É•…Ñ•€)‰ä Ý¡•¸å½ÔÉ•Á±…”€µŒÝ¥Ñ €µ@ü(ø€(ø€()$•Ð„€ÐÌÉ,™¥±”¸]¡…Н́ѡ”‰•ÍЁ݅äÑ¼Í¡…É”¥Ð¡•É”ü()Q¡…¹­Ì……¥¸™½Èå½Õȁ¡•±ÀÝ¥Ñ Ñ¡¥Ì¸((ø€(ø€ÈÀÄÔ´ÄÈ´Èä€ÄÀèÄЁ5P¬ÀÄèÀÀ€€ñ‘…É¥½µÐ€ñ…Ðø–Âæ6öÓ㠣→ÆÂÀ£â’†fRf÷VæB&ö&ÆVÒ6ö×–Æ–ær&ö÷7BÂÜÝŽš]\˜]ܜΎš]\˜]Ü—Ù˜XØYO›ÛÜÝŽ˜\˜Ú]™NŽš]\˜]ܜΎ›ÜÝ™X[WÚ]Bœ˜]܏Ú\‹Ú\‹ÝŽ›Ý]]Ú]\˜]Ü—ÝY˘›ÛÜÝŽ˜\˜Ú]™NŽš]\˜]ܜΎ›ÜÝ™X[WÚ]\˜]܏Ú\‰‹[ˆ‹‚ˆ˜›ÛÜÝ Ø\˜Ú]™KÚ]\˜]ÜœËÛÜÝ™X[WÚ]\˜]Ü‹š‹[™H ˆ0¨0¨Ú\™Nˆ”ÜXÚX[^™Y[ˆ›ÛÜÝŽ˜\˜Ú]™NŽš]\˜]ܜΎ›ÜÝ™X[WÚ]\˜]܏Ú\‹‚ˆ™˜Z[ ˜Ü‹[™H Žˆ0¨0¨Ú\™NˆÜXÚX[^™Y[ˆ›Û‹][\]HÛÙK‚ˆˆˆHÝY\ÜÈ]]\Ý™HÛÛYHYÈ[ˆHÛÛ\[\‹™XØ]\ÙH0¨YˆHžHÈš[œÝ[X]H\™XÝHH[\]HY[[Û™Y[ˆH\œ›ÜˆY\ÜØYÙH]ÛÜšÜÈ™š[™Kˆ
K™Kˆ˜[YH\È[™YYHY[X™\ŠK‚ˆˆˆÚ[˜ÛYH›ÛÜÝ Ú]\˜]Ü‹Ú]\˜]Ü—Ù˜XØYKš‚ˆÛۜݛÛÛ˜[YHp¨ˆ0¨0¨›ÛÜÝŽš]\˜]ܜΎ™]Z[Žš\×ݘ]™\œØ[Ø]ÛX\ݏˆ0¨0¨0¨0¨ÝŽ›Ý]]Ú]\˜]Ü—ÝYË0¨ˆ0¨0¨0¨0¨›t::iterators::bidirectional_traversal_tag
>     >::value;
>
>
> For reference, this problem was *not* present in Boost 1.55.0.
>
> Thanks!
>
> PS: I have mentioned both libraries in the subject because I don't know
if this is a problem with Boost.Iterator code, or with the usage of that
library from Boost.Serialization.
>


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