If you can provide the configure check, we can add it to gnustep-make's 
configure.
Making it general, so that it may one day work with other compilers too, would 
be
appreciated.

It should all be fairly easy, but if you provide me with the appropriate 
configure check,
I can do the gnustep-make tweaking.

It would be good to do this before the new release of gnustep-make, so that it 
becomes
part of it. :-)

Thanks

-----Original Message-----
From: "David Chisnall" <[email protected]>
Sent: Tuesday, 15 February, 2011 13:03
To: "GNUstep Developer" <[email protected]>
Subject: GNUstep Make not adding -fblocks

I've just noticed this, since I usually add the flag explicitly:

GNUstep make is not adding -fblocks to OBJCFLAGS even when configured with 
clang and libobjc2 , which means that we are getting the ugly 
GCC-compatible-work-around code in NSRegularExpression.m, instead of the simple 
code that uses blocks, and people using blocks in their code are going to get a 
compiler error instead of having it work as they would expect.

David
_______________________________________________
Gnustep-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnustep-dev



_______________________________________________
Gnustep-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to