[Bug target/47997] gcc on macosx: "ld: warning: -fwritable-strings not compatible with literal CF/NSString"
tobias.netzel at googlemail dot com
gcc-bugzilla@gcc.gnu.org
Wed Jul 20 21:54:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47997
--- Comment #19 from Tobias Netzel <tobias.netzel at googlemail dot com> 2011-07-20 21:53:16 UTC ---
(In reply to comment #18)
> Iain, I'm thinking we should do your code unconditionally for darwin10 and
> later. In darwin10.h, we put:
To me it seems that specifying LINKER_PEDANTICALLY_WANTS_CSTRING would only do
the same thing as passing -mconstant-cfstrings to gcc. And passing
-mconstant-cfstrings doesn't change anything in my case.
The only thing that helps in my case is the first patch.
You should also be aware that one can build and use (I do) the linker from
darwin10 in earlier versions of the OS.
More information about the Gcc-bugs
mailing list