1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

what does the compiler warning "different visibility ..." means

Discussion in 'Mac Programming' started by Nobik, Oct 19, 2009.

  1. macrumors newbie


    I have created own static lib project with sources from Boost.RegEx and put it in my application.

    But now XCode haunts me this warnings:
    "warning: std::invalid_argument::~invalid_argument()has different visibility (default) in ...(path)... libboost.a(instances.o) and (hidden) in ...(path)... Extractor.o"
    "warning: std::logic_error::logic_error ....." and so on

    What does this warning means and what exactly to do here??

    I've tried to put "-fvisibility=hidden" or "-fvisibility=default" inside the static lib project settings or my application project settings, but no succes.

    Please help :)

    sorry for bad english :eek:

Share This Page