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