This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/47997] gcc on macosx: "ld: warning: -fwritable-strings not compatible with literal CF/NSString"
- From: "iains at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 26 Jun 2011 16:26:17 +0000
- Subject: [Bug target/47997] gcc on macosx: "ld: warning: -fwritable-strings not compatible with literal CF/NSString"
- Auto-submitted: auto-generated
- References: <bug-47997-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47997
--- Comment #12 from Iain Sandoe <iains at gcc dot gnu.org> 2011-06-26 16:25:32 UTC ---
Author: iains
Date: Sun Jun 26 16:25:29 2011
New Revision: 175410
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175410
Log:
PR target/47997
* config/darwin.c (darwin_mergeable_string_section): Place string
constants in '.cstring' rather than '.const' when CF/NSStrings are
active.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/darwin.c