discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Various headers with duplicate declarations


From: Richard Frith-Macdonald
Subject: Re: Various headers with duplicate declarations
Date: Wed, 11 Jan 2012 09:19:38 +0000

On 11 Jan 2012, at 09:10, Thomas Davie wrote:

> Hi all,
> 
> I've noticed that in recent svn cos various headers have several duplicate 
> declarations in them, for example NSNetServices.h has
> #if OS_API_VERSION(100500,GS_API_LATEST) 
> - (NSInteger)port;
> 
> - (void) publishWithOptions: (NSNetServiceOptions)options;
> #endif
> 
> twice in it.  As I normally compile with -Werror on, this generates quite a 
> few issues for me.  Is there a reason it's set up like this, or has something 
> gone awry?
> 
> Such errors also appear in NSCalendar.h (-setQuater:), NSString.h (-init) and 
> NSDate.h (-timeIntervalSinceReferenceDate).

Thanks ... I removed those duplicates.


reply via email to

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