xcode with boost : linker(Id) Warning about visibility settings xcode with boost : linker(Id) Warning about visibility settings xcode xcode

xcode with boost : linker(Id) Warning about visibility settings


If boost is included by multiple projects, each project must have the same values for

 Symbols Hidden by Default Inline Methods Hidden


Doe just figured how to get rid of hundreds of warning like this :set for an entire target or project with the Symbols Hidden by Default build setting to YES


The linker complains about different visibility settings between your project and Boost.

You can also fix that issue by recompiling Boost with the same compatibility settings.

Just add

cxxflags=-fvisibility=hidden

and

cxxflags=-fvisibility-inlines-hidden

to the bjam command line.