Ricardo Strausz wrote: > error 2 (from macports): > > Fermat:~ sa$ sudo port -v install gnustep-gui > ---> Building gnustep-gui > Error: Target org.macports.build returned: shell command " cd > "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnustep_gnustep-gui/work/gnustep-gui-0.12.0" > && gnumake all messages=yes > GNUSTEP_MAKEFILES=/opt/local/GNUstep/System/Library/Makefiles " returned > error 2 > Command output: Making all in Source... > Making all for library libgnustep-gui... > gcc-mp-4.2 NSGraphicsContext.m -c \ > -MMD -MP -I/opt/local/include > -DGNUSTEP_TOOLS_NO_DESTDIR=\"/opt/local/GNUstep/System/Tools\" > -DGNUSTEP_TARGET_DIR=\".\" -DGNUSTEP_TARGET_CPU=\"powerpc\" > -DGNUSTEP_TARGET_OS=\"darwin7\" -DLIBRARY_COMBO=\"gnu-gnu-gnu\" > -DBACKEND_BUNDLE=1 -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 > -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-common > -g -Wall -DDEBUG -fno-omit-frame-pointer -DGSWARN -DGSDIAGNOSE > -Wno-import -fno-strict-aliasing -fgnu-runtime -Wall > -fconstant-string-class=NSConstantString -I/opt/local/include > -I../Headers/Additions -I../Headers -I./. -I. > -I/opt/local/GNUstep/Local/Library/Headers/ \ > -o obj/NSGraphicsContext.m.o > 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 :-( Fred _______________________________________________ Bug-gnustep mailing list Bug-gnustep@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnustep