gnustep-dev
[Top][All Lists]
Advanced

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

Re: Extending gnustep-tests for .c and .cc files


From: Richard Frith-Macdonald
Subject: Re: Extending gnustep-tests for .c and .cc files
Date: Mon, 17 Jun 2013 07:46:33 +0100

PS. adding support for .c and .cc files seems a little unnecessary since 
testing of C and C++ code is already supported (in .m and .mm files).

It's true that when you test C code in a .m file, you do get the ObjC runtime 
library and the gnustep-base library added to the link command, but if you 
don't use them that seems harmless, and if you want to link alternative 
libraries which export the same symbols, you could do so with a little care 
about the link order you use.

I guess the point is mainly familiarity/clarity ... people might just want to 
put a .c extension on their files rather than a .m extension.  The patch is 
good to allow that.


reply via email to

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