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: Maxthon Chan
Subject: Re: Extending gnustep-tests for .c and .cc files
Date: Mon, 17 Jun 2013 20:59:31 +0800

If someone really does not need ObjC stuff here, they will go to CFLite instead.

On Jun 17, 2013, at 20:57, Stefan Bidi <address@hidden> wrote:

I was specifically trying not to link against the ObjC runtime and gnustep-base.  The reason for that is because I would like to support building corebase without needing all the ObjC stuff for whoever wants to do that, and so I also want to make sure the tests reflect that case.



On Mon, Jun 17, 2013 at 1:46 AM, Richard Frith-Macdonald <address@hidden> wrote:

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.

_______________________________________________
Gnustep-dev mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/gnustep-dev


reply via email to

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