[MacPorts] #28932: gcc 4.6 should have a fix "-fwritable-strings not compatible with literal CF/NSString"
MacPorts
noreply at macports.org
Sun Mar 27 14:31:20 PDT 2011
#28932: gcc 4.6 should have a fix "-fwritable-strings not compatible with literal
CF/NSString"
--------------------------------------+-------------------------------------
Reporter: anatol.pomozov@… | Owner: mww@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port: gcc
--------------------------------------+-------------------------------------
Comment(by anatol.pomozov@…):
More information:
I have 10.6.4 macosx. The warning is reproducible on the current gcc46
port. So the patch is applicable only for gcc46.
gcc from xcode is too outdated and does not contains few features that I
need (e.g. thread local variables) so I looked for gcc42 alternatives. I
tried gcc45 from macports and I found that it is unusable for macosx
development - it is not possible to compile a program that uses Core
framework. From other side GCC 4.6 is *very* usable. I use it for
development now - and everything looks fine.
It is possible to use gcc46 without the patch provided by gcc team - but
it might confuse people who tries to use it. I would prefer to have the
patch included to macports (assuming that it does not introduce any other
bugs).
--
Ticket URL: <https://trac.macports.org/ticket/28932#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list