#4499 closed Bugs (fixed)
[math] regression test failures on Mingw
Reported by: | Owned by: | John Maddock | |
---|---|---|---|
Milestone: | Boost 1.44.0 | Component: | math |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | Cc: |
Description
A bunch of the Math regression tests are failing on Mingw with linker errors about the Regex library. e.g.
Appears to be related to Regex lib being built as a static librry on Mingw, and adding a
<toolset>gcc-mingw:<define>BOOST_REGEX_STATIC_LINK=1
to the jamfile for the Math regression tests avoids the problem.
Also, the build for the math library itself has huge amounts of warnings along the lines of
visibility attribute not supported in this configuration; ignored
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.
Change History (4)
comment:1 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 12 years ago
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).
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.
comment:3 by , 12 years ago
Oh shucks, I had no idea it was generating so much verbosity :-(
I'll take a look again at this then.
John.
Fixed in rev 64629.
The warnings will remain as they're probably unfixable?