On 16 Mar 2011, at 08:41, Nicola Pero wrote: > >> If I don't build GS with http://svn.gna.org/svn/gnustep/libs/libobjc2/trunk >> and use /usr/lib/gcc-snapshot/lib/libobjc_gc.so.3 I'll get a warning >> >> NSLog(@"WARNING your program is becoming multi-threaded, but you are >> using an ObjectiveC runtime library which does not have a thread-safe >> implementation of the +initialize method. This means that any classes >> not already used may be incorrectly initialised, potentially causing >> strange behaviors and crashes. Please build/run GNUstep-base with a >> runtime which supports the +initialize method."); > > Sure. That is a known problem - I guess we'll try to get the runtime fix > into 4.6.1. Having said that, that bug has always existed in the runtime > and most people never noticed it. If you encounter it, you can work > around it by manually calling a method of the relevant classes at the > beginning of your program.
I just updated base to make that message more informative, and also allow you to set a user default to turn it off ... after all, if you are running an application where the bug doesn't actually cause any trouble, there's no point seeing the warning. _______________________________________________ Discuss-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnustep
