------- Comment #1 from jkp at kirkconsulting dot co dot uk 2006-01-25 08:52 ------- Created an attachment (id=10726) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10726&action=view) XCode project with test case
The project includes three targets - the main application, a dylib and a static lib. If you play with the membership of the targets in the main app you can see how staticlly linking the code will make the issue go away. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25956