Author: theraven
Date: Sat Jan 23 14:17:28 2010
New Revision: 29364

URL: http://svn.gna.org/viewcvs/gnustep?rev=29364&view=rev
Log:
Added fall-back code to generate non-constant CF strings from CFSTR().  Note 
that this is exactly the same as what happens with Apple's implementation if 
your compiler doesn't have builtin support for constant strings or you don't 
compile with -fconstant-cfstrings.  That means that the CFSTR() macro can not 
be used reliably and portably for static initialisation in C code (although it 
will work on some versions of OS X.  The Apple headers explicitly don't allow 
it on Windows, so they don't use it like this internally for portable code).


Modified:
    libs/corebase/trunk/Headers/CoreFoundation/CFString.h
    libs/corebase/trunk/Source/CFString.m


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to