Boost C++ Libraries: Ticket #4499: [math] regression test failures on Mingw https://svn.boost.org/trac10/ticket/4499 <p> A bunch of the Math regression tests are failing on Mingw with linker errors about the Regex library. e.g. </p> <p> <a class="ext-link" href="http://tinyurl.com/2ury8gm"><span class="icon">​</span>http://tinyurl.com/2ury8gm</a> </p> <p> Appears to be related to Regex lib being built as a static librry on Mingw, and adding a </p> <blockquote> <p> &lt;toolset&gt;gcc-mingw:&lt;define&gt;BOOST_REGEX_STATIC_LINK=1 </p> </blockquote> <p> to the jamfile for the Math regression tests avoids the problem. </p> <p> Also, the build for the math library itself has huge amounts of warnings along the lines of </p> <pre class="wiki">visibility attribute not supported in this configuration; ignored </pre><p> which seems to be down to the -fvisibility=hidden option not being supported on mingw. Removing that option removes the warnings, but i'm not sure how to do that for just mingw. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4499 Trac 1.4.3 John Maddock Thu, 12 Aug 2010 12:03:38 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/4499#comment:1 https://svn.boost.org/trac10/ticket/4499#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Fixed in rev 64629. </p> <p> The warnings will remain as they're probably unfixable? </p> Ticket Richard Webb <richard.webb@…> Fri, 13 Aug 2010 14:03:32 GMT <link>https://svn.boost.org/trac10/ticket/4499#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4499#comment:2</guid> <description> <p> I mention the warnings because when i build the lib in Mingw 4.5.0 or 4.6.0, i get some 7.5 *megabytes* of warning messages, all of which are about visibility (and the printing of which has a noticable effect on the time taken to compile the lib). </p> <p> Not sure of the best way to avoid the warnings for Mingw. The -Wno-attributes option turns the warnings off, but i don't know if that will hide any other problems. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Fri, 13 Aug 2010 16:54:33 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/4499#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4499#comment:3</guid> <description> <p> Oh shucks, I had no idea it was generating so much verbosity :-( </p> <p> I'll take a look again at this then. </p> <p> John. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Sat, 14 Aug 2010 16:15:49 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/4499#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4499#comment:4</guid> <description> <p> Rev 64800 should address the -fvisibility-hidden issue. </p> <p> HTH, John. </p> </description> <category>Ticket</category> </item> </channel> </rss>