gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GWorkspace and gcc 4.6


From: Germán Arias
Subject: GWorkspace and gcc 4.6
Date: Sun, 19 Jun 2011 18:11:14 -0600

Currently. trying to destroy a file in GWorkspace (from SVN), the app
freezes. On a terminal I get the error:


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.
To put this into context, the runtime bug has been knoown for several
years and
only rarely causes problems ... the easy workaround being to ensure that
any classes used by a new thread have already been used in the main
thread before the new thread starts.
If you are worried, please build/run GNUstep with a runtime which
supports the +initialize method. The GNUstep stable runtime (libobjc)
and experimental runtime (libobjc2), available from the GNUstep website
and subversion repository, should both work.
To disable this warning (eg. for an application which does not suffer
any problems caused by this runtime bug), please set the
GSSilenceInitializeWarning user default to YES.


Even if I set GSSilenceInitializeWarning to YES, the app freezes.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]