[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem compiling on NetBSD
From: |
Richard Frith-Macdonald |
Subject: |
Re: problem compiling on NetBSD |
Date: |
Thu, 3 Feb 2011 08:25:44 +0000 |
On 2 Feb 2011, at 22:56, Riccardo Mottola wrote:
> Hi
>> Have you checked for local file corruption on your machine ... these lines
>> in NSPointerArray.m should be in the comment at the start of the file, so
>> the compiler should certainly not be reporting an error in them.
>>
> You were right, Richard, something got screwed indeed with my svn repository,
> even if no changes were detected. I did a complete clean checkout of -base
> and the problem went away.
>
> However build now fails with this new error:
>
> Compiling file GSMDNSNetServices.m ...
> GSMDNSNetServices.m: In function '-[GSMDNSNetServiceBrowser cleanup]':
> GSMDNSNetServices.m:289: error: '_reserved' undeclared (first use in this
> function)
> GSMDNSNetServices.m:289: error: (Each undeclared identifier is reported only
> once
> GSMDNSNetServices.m:289: error: for each function it appears in.)
> GSMDNSNetServices.m:305: error: '_netServiceBrowser' undeclared (first use in
> this function)
> GSMDNSNetServices.m: In function '-[GSMDNSNetServiceBrowser
> executeWithError:]':
> GSMDNSNetServices.m:328: error: '_reserved' undeclared (first use in this
> function)
I made some tweaks to get the old MDNS code to compile again ... no idea if
this code actually works though as I've no code of my own which uses
NSNetServices and nobody has contributed any regression tests for it to the
testsuite.