Boost logo

Boost Users :

Subject: [Boost-users] Project using Boost won't build with Xcode 4; complains about "global weak symbols"
From: G S (stokestack_at_[hidden])
Date: 2011-03-20 22:11:39


Hi all.

I'm using Boost in an iPhone app as a statically linked lib, and after
updating to Xcode 4 the project won't build. It fails with this:

*ld: bad codegen, pointer diff in boost::system::error_category:*
*:error_category()to global weak symbol vtable for
boost::system::error_**categoryfor
architecture i386*

Happens for both simulator and device, after the same project built fine
under previous Xcodes.

Anybody have some insight on this and a solution?

Thanks!

Gavin



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net