[Top][All Lists]

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

Re: compiling GUI on NetBSD __unsafe_unretained

From: Riccardo Mottola
Subject: Re: compiling GUI on NetBSD __unsafe_unretained
Date: Thu, 15 Dec 2011 10:20:45 +0100
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0.1) Gecko/20111121 Firefox/8.0.1 SeaMonkey/2.5


I have exactly your fragment, in:

I searched GSConfig.h in both /System and /Local and it appears only once.

In my whole home directory it appears only once:

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'


David Chisnall wrote:
Please can you check your include paths and make sure that the correct 
GSConfig.h is being included?


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.


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

reply via email to

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