Riccardo Mottola wrote:

> David Chisnall wrote:
>> On 16 Aug 2013, at 22:34, Riccardo Mottola <[email protected]> 
>> wrote:
>> 
>>> Anyway, what happens is that the CC file is compiled using CLFAGS and not 
>>> the CXXFLAGS.
>> The compiling with CFLAGS is also a bug, as C-compiler flags (e.g. -std=c99) 
>> are often invalid for C++.  I've hit this problem before.
> Yes, it is incorrect. In this case it doesn't harm and, perhaps, I can add or 
> I need to duplicate them. -I flags should not be CFLAGS I suppose, but 
> CPPFLAGS, which are traditionally shared.
> 
> Anyway, the bigger problem is that CXXFLAGS are being ignored.

I had a quick look through rules.make and it seems that GNUstep-make uses 
CCFLAGS instead of CXXFLAGS. Those flags are added to the ones given in CFLAGS, 
so the incorrect behavior mentioned by David applies.

Wolfgang


_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to