Ricardo Strausz wrote:
NSGraphicsContext.m: In function 'GSCurrentContext':
NSGraphicsContext.m:93: warning: instance variable '_gcontext' is
@private; this will be a hard error in the future
NSGraphicsContext.m: In function '+[NSGraphicsContext
setCurrentContext:]':
NSGraphicsContext.m:162: error: instance variable '_gcontext' is
declared private
NSGraphicsContext.m:162: error: instance variable '_gcontext' is
declared private
gnumake[2]: *** [obj/NSGraphicsContext.m.o] Error 1
gnumake[1]: *** [libgnustep-gui.all.library.variables] Error 2
gnumake: *** [internal-all] Error 2
Error: Status 1 encountered during processing.
This looks like an actual bug in GNUstep, one which went unnoticed
as no
other compiler complained about it. We set a private instance variable
of NSThread via the trick of defining a structure that maps the
internal
layout of NSThread.
The problem is I don't have any other idea how to do this :-(