Hi,
I have exactly your fragment, in:
/System/Library/Headers/GNUstepBase/GSConfig.h
I searched GSConfig.h in both /System and /Local and it appears only once.
In my whole home directory it appears only once:
./gnustep-cvs/devmodules/core/base/Source/GNUstepBase/GSConfig.h
the compile line is:
Making all for library libgnustep-gui...
gcc Functions.m -c \
-MMD -MP -I/usr/pkg/include -I/usr/pkg/share/GNUstep/include
-I/usr/include -DGNUSTEP_TARGET_DIR=\".\" -DGNUSTEP_TARGET_CPU=\"ix86\"
-DGNUSTEP_TARGET_OS=\"netbsdelf\" -DLIBRARY_COMBO=\"gnu-gnu-gnu\"
-DBACKEND_BUNDLE=1 -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1
-DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1
-D_REENTRANT -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -O2
-I/usr/pkg/include -I/usr/pkg/share/GNUstep/include -Wno-import
-I/usr/include -fno-strict-aliasing -fgnu-runtime -Wall
-fconstant-string-class=NSConstantString -I/usr/pkg/include
-I/usr/pkg/include/libpng15 -I../Headers/Additions -I../Headers -I./.
-I. -I/usr/pkg/include -I/home/multix/GNUstep/Library/Headers
-I/usr/pkg/include \
-o obj/libgnustep-gui.obj/Functions.m.o
In file included from Functions.m:39:0:
../Headers/AppKit/NSEvent.h:247:11: error: expected
specifier-qualifier-list before '__unsafe_unretained'
Riccardo
David Chisnall wrote:
Please can you check your include paths and make sure that the correct
GSConfig.h is being included?
David
On 14 Dec 2011, at 11:13, Riccardo Mottola wrote:
Hi David,
I did a svn update yesterday. I also removed all contents in /System and /Local
and reinstalled.
So, barring strange errors, base should be quite recent.
Riccardo
David Chisnall wrote:
How old is your version of -base? In mine I have:
#ifndef __unsafe_unretained
# if !__has_feature(objc_arc)
# define __unsafe_unretained
# endif
#endif
_______________________________________________
Gnustep-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnustep-dev