discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Odd problem


From: Fred Kiefer
Subject: Re: Odd problem
Date: Mon, 25 Jul 2011 22:32:12 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.18) Gecko/20110616 SUSE/3.1.11 Thunderbird/3.1.11

On 25.07.2011 19:26, David Chisnall wrote:
On 25 Jul 2011, at 18:17, Germán Arias wrote:

NSJSONSerialization.m:104:5: warning: ISO C90 forbids mixed declarations
and code [-Wdeclaration-after-statement]


This code may need some tweaking to compile with compilers that don't support 
the 12-year-old version of the C standard.

David,

some time ago we agreed to use the ISO 90 switch when compiling GNUstep. This means that everybody using gcc, not only the ones using gcc 2.95, wont be able to compile this file. Apart from the ISO 99 positioning of declaration there was also an issue with the use of the END_FOR_IN() macro, here the argument was missing.

Both these should be fixed in SVN now.

Fred



reply via email to

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