|
From: | Stefan Bidi |
Subject: | Re: Extending gnustep-tests for .c and .cc files |
Date: | Mon, 17 Jun 2013 07:57:57 -0500 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |