Ticket #1076 (new defect)
Boost spews excessive warnings
| Reported by: | jdm | Owned by: | |
|---|---|---|---|
| Priority: | Nice to Have | Milestone: | Backlog |
| Component: | Build & Packages | Keywords: | |
| Cc: | Yves |
Description
It can be frustrating to find actual errors among all of the boost output. I don't know if this is just an OSX 10.6.8, gcc 4.2.1 thing (since I see mentions of CLANG in the warnings), but it would be nice to get this cleaned up.
Change History
comment:3 Changed 17 months ago by historic_bruno
I get a few Boost warnings even on Linux with modern GCC, though not as many. The way to find errors is to run make again if it fails before linking everything, it will resume with the last step before the error :)
comment:4 Changed 17 months ago by historic_bruno
- Cc Yves added
Compiling with -isystem/path/to/boost instead of -I/path/to/boost suppresses the warnings. I'm not sure there's any better solution for GCC 4.2. Let's see if premake can do that, assuming there are no negative consequences.
comment:5 Changed 16 months ago by historic_bruno
Other possible solutions: https://svn.boost.org/trac/boost/wiki/Guidelines/WarningsGuidelines#SuppressingWarningsinGCC
comment:6 follow-up: ↓ 7 Changed 16 months ago by historic_bruno
Some of the warnings are already reported on Boost Trac, where they seem to linger for months/years :( I'll try to report the others, so there's a chance Boost devs will fix them, eventually.
Edit: Reported to Boost devs: #6140, #6142, #6522, not sure about the BOOST_CLANG warning, it might have been fixed recently.

what is the boost version in your mac