<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Hi,</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">I&#39;ve solved the problem modifying the line 109-116 of file boost/test/detail/config.hpp in this  way:<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">#  ifdef BOOST_TEST_SOURCE<br>#    define BOOST_TEST_DECL BOOST_SYMBOL_EXPORT // BOOST_SYMBOL_VISIBLE<br>#  else<br>#    define BOOST_TEST_DECL BOOST_SYMBOL_IMPORT // BOOST_SYMBOL_VISIBLE<br>#  endif  // BOOST_TEST_SOURCE<br>#else<br>#  define BOOST_TEST_DECL // BOOST_SYMBOL_VISIBLE<br>#endif<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">L<span class="gmail-st">et me know if you have any questions or comments</span>

</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Thanks,</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">   Mirko<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br clear="all"></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><img src="http://api.qrserver.com/v1/create-qr-code/?data=Mirko%20Cambi%0Aemail%3A%20mirko.cambi%40gmail.com%0Amobile%3A%20%2B393473468900%0Awww%3A%20www.randomdigit.it&amp;size=150x150" width="96" height="96"><br><div style="text-align:left"><u></u></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Dec 11, 2019 at 10:15 AM mik &lt;<a href="mailto:mirko.cambi@gmail.com">mirko.cambi@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Hello,</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">some other informations. The row below is the complete line command that generates the error:</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"> </div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">&quot;/opt/solarisstudio12.3/bin/CC&quot; -library=stlport4 -xcode=pic32  -g -mt -erroff=%none -xldscope=hidden -m64 -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_DYN_LINK=1 -I&quot;.&quot; -c -o &quot;bin.v2/libs/test/build/sun/debug/address-model-64/threading-multi/visibility-hidden/execution_monitor.o&quot; &quot;libs/test/src/execution_monitor.cpp&quot;</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">If I remove the macro definition 
 -DBOOST_TEST_DYN_LINK=1 the error disappears.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Thanks,</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">    Mirko<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br clear="all"></div><div><div dir="ltr"><img src="http://api.qrserver.com/v1/create-qr-code/?data=Mirko%20Cambi%0Aemail%3A%20mirko.cambi%40gmail.com%0Amobile%3A%20%2B393473468900%0Awww%3A%20www.randomdigit.it&amp;size=150x150" width="96" height="96"><br><div style="text-align:left"><u></u></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Dec 11, 2019 at 2:41 AM mik &lt;<a href="mailto:mirko.cambi@gmail.com" target="_blank">mirko.cambi@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-family:tahoma,sans-serif;font-size:small" class="gmail_default">Hi,</div><div style="font-family:tahoma,sans-serif;font-size:small" class="gmail_default">I&#39;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:</div><div style="font-size:small" class="gmail_default"><span style="font-family:monospace"><br></span></div><div style="font-family:tahoma,sans-serif;font-size:small" class="gmail_default"><span style="font-family:monospace">&quot;./boost/test/unit_test_log_formatter.hpp&quot;, line 39: Error: Identifier expected instead of &quot;__global&quot;.</span><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">For what I can understand it seems that compiler doesn&#39;t recognize the keyword __global.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Below, there&#39;s the command line that I&#39;ve used:</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-size:small"><span style="font-family:monospace">./b2 toolset=sun variant=debug address-model=64 threading=multi link=shared runtime-link=shared --with-test</span></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Do you have any suggestions?</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Thanks,</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">    Mirko<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br clear="all"></div><div><div dir="ltr"><img src="http://api.qrserver.com/v1/create-qr-code/?data=Mirko%20Cambi%0Aemail%3A%20mirko.cambi%40gmail.com%0Amobile%3A%20%2B393473468900%0Awww%3A%20www.randomdigit.it&amp;size=150x150" width="96" height="96"><br><div style="text-align:left"><u></u></div></div></div></div>
</blockquote></div>
</blockquote></div>