• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
many, many linker warnings with boost & xcode 3.2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

many, many linker warnings with boost & xcode 3.2


  • Subject: many, many linker warnings with boost & xcode 3.2
  • From: Shamyl Zakariya <email@hidden>
  • Date: Fri, 28 Aug 2009 15:21:09 -0400

Like many people here I installed snow leopard today. I'm happy that my largely c++ codebase still builds, but the linker emits an *enormous* number of warnings now, when it was quite silent before.

The warnings seem to do with Boost. I'm getting 142 of these warnings when building the framework as well as when building apps which link against this framework. All the warnings are to do with differing visibility and non-virtual thunks... here are two representative picks:

ld: warning: boost::exception_detail::bad_alloc_impl::add_ref() consthas different visibility (default) in /Users/zakariya/Code/ Projects/SimpleGameFramework/trunk/sgf/build/Release/libboostpython.a (errors.o) and (hidden) in /Users/zakariya/Code/Projects/ SimpleGameFramework/trunk/sgf/build/sgf.build/Release/SGF.build/ Objects-normal/i386/BasicCamera.o

ld: warning: non-virtual thunk to boost ::exception_detail ::exception_clone < boost::exception_detail::error_info_injector<boost::bad_function_call> >::add_ref() consthas different visibility (default) in /Users/ zakariya/Code/Projects/SimpleGameFramework/trunk/sgf/build/Release/ libboostpython.a(errors.o) and (hidden) in /Users/zakariya/Code/ Projects/SimpleGameFramework/trunk/sgf/build/sgf.build/Release/ SGF.build/Objects-normal/i386/Logging.o

The code DOES still work, but these warnings are troubling. I didn't see them under Xcode 3.1 under 10.5. I assume there's some switch somewhere which might address this. Or, on the other hand, is this a matter of rebuilding boost?

Finally, I was using gcc 4.2 before, and am using it now as well.

Thanks,

shamyl zakariya
	- squamous and rugose



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: many, many linker warnings with boost & xcode 3.2
      • From: Shamyl Zakariya <email@hidden>
  • Prev by Date: Re: No UNIX Development Tools on Snow Leopard
  • Next by Date: Is the Xcode 3.1.3 predicate builder broken, or...
  • Previous by thread: Xcode 3.2 fails to highlight errors in Java source
  • Next by thread: Re: many, many linker warnings with boost & xcode 3.2
  • Index(es):
    • Date
    • Thread