Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#1076 closed defect (fixed)

Boost spews excessive warnings

Reported by: Josh Matthews Owned by:
Priority: Nice to Have Milestone: Alpha 14
Component: Build & Packages Keywords:
Cc: Yves Patch:

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 (11)

comment:1 by infyquest, 12 years ago

what is the boost version in your mac

comment:2 by Josh Matthews, 12 years ago

1.48

comment:3 by historic_bruno, 12 years ago

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 by historic_bruno, 12 years ago

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:6 by historic_bruno, 12 years ago

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.

Last edited 12 years ago by historic_bruno (previous) (diff)

in reply to:  6 comment:7 by historic_bruno, 12 years ago

Replying to historic_bruno:

#6522

Should be fixed in Boost 1.49.

comment:8 by ben, 11 years ago

In 13172:

Suppresses noisy Boost header warnings on OS X by including them as system headers, refs #1076.
Bumps default SDK in build-osx-bundle.sh to 10.7 (newer Xcode doesn't include 10.6).
Fixes using xml2-config from SDK when needed.
Fixes more linker warnings about symbol visibility by compiling libs with fvisibility=hidden.
Updates some comments in the build scripts.

comment:9 by stwf, 11 years ago

THis doesn't happen anymore, at least for me on the mac.

comment:10 by Markus, 11 years ago

Resolution: fixed
Status: newclosed

comment:11 by leper, 11 years ago

Milestone: BacklogAlpha 14
Note: See TracTickets for help on using tickets.