[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: Wed, 14 Dec 2011 12:13:58 +0100
User-agent: Mozilla/5.0 (X11; OpenBSD i386; rv:5.0) Gecko/20110815 Firefox/5.0 SeaMonkey/2.2

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

So, if you are not compiling in ARC mode and your compiler does not predefine 
__unsafe_unretained, it should be #defined away.


On 14 Dec 2011, at 08:06, Riccardo Mottola wrote:


compiling on NetBSD I get this error:

Compiling file Functions.m ...
In file included from Functions.m:39:0:
../Headers/AppKit/NSEvent.h:247:11: error: expected specifier-qualifier-list 
before '__unsafe_unretained'

it is Gcc 4.5.3 and I don't get why it is failing. I don't have enabled GC, ARC 
or anything else explicitely. Both Functions.m and NSEvent.h were changed quite 
a long time ago, and I had a successful compile not later than about 10 days 


Gnustep-dev mailing list

-- Sent from my Cray X1

reply via email to

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