[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compiling GUI on NetBSD __unsafe_unretained
From: |
David Chisnall |
Subject: |
Re: compiling GUI on NetBSD __unsafe_unretained |
Date: |
Wed, 14 Dec 2011 11:16:40 +0000 |
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
>>
>> So, if you are not compiling in ARC mode and your compiler does not
>> predefine __unsafe_unretained, it should be #defined away.
>>
>> David
>>
>> On 14 Dec 2011, at 08:06, Riccardo Mottola wrote:
>>
>>> Hi,
>>>
>>> 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 ago.
>>>
>>> Riccardo
>>>
>>> _______________________________________________
>>> Gnustep-dev mailing list
>>> address@hidden
>>> https://lists.gnu.org/mailman/listinfo/gnustep-dev
>>
>> -- Sent from my Cray X1
>>
>
>
> _______________________________________________
> Gnustep-dev mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/gnustep-dev
-- Sent from my STANTEC-ZEBRA
- compiling GUI on NetBSD __unsafe_unretained, Riccardo Mottola, 2011/12/14
- Re: compiling GUI on NetBSD __unsafe_unretained, David Chisnall, 2011/12/14
- Re: compiling GUI on NetBSD __unsafe_unretained, Riccardo Mottola, 2011/12/14
- Re: compiling GUI on NetBSD __unsafe_unretained,
David Chisnall <=
- Re: compiling GUI on NetBSD __unsafe_unretained, Riccardo Mottola, 2011/12/15
- Re: compiling GUI on NetBSD __unsafe_unretained, Riccardo Mottola, 2011/12/15
- Re: compiling GUI on NetBSD __unsafe_unretained, David Chisnall, 2011/12/15
- Re: compiling GUI on NetBSD __unsafe_unretained, Riccardo Mottola, 2011/12/15
- Re: compiling GUI on NetBSD __unsafe_unretained, David Chisnall, 2011/12/15
- Re: compiling GUI on NetBSD __unsafe_unretained, Riccardo Mottola, 2011/12/15
- Re: compiling GUI on NetBSD __unsafe_unretained, Wolfgang Lux, 2011/12/15
- Re: compiling GUI on NetBSD __unsafe_unretained, Riccardo Mottola, 2011/12/15
- Re: compiling GUI on NetBSD __unsafe_unretained, Richard Frith-Macdonald, 2011/12/15
- Re: compiling GUI on NetBSD __unsafe_unretained, Riccardo Mottola, 2011/12/15