[MacPorts] #37974: Pallet @1.1.1 Patches for syntax warnings when using Clang and Xcode 4.6
MacPorts
noreply at macports.org
Fri Feb 8 00:21:36 PST 2013
#37974: Pallet @1.1.1 Patches for syntax warnings when using Clang and Xcode 4.6
-------------------------+--------------------------------
Reporter: iandw.au@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Low | Milestone:
Component: contrib | Version: 2.1.3
Resolution: | Keywords: haspatch
Port: Pallet |
-------------------------+--------------------------------
Comment (by egall@…):
Replying to [comment:5 larryv@…]:
> Replying to [comment:4 ryandesign@…]:
> > Replying to [comment:1 egall@…]:
> > > You might want to apply these conditionally; string literals are a
newer Objective C feature, and I'm not sure how far backwards compatible
they go...
> >
> > NSString literals have been around "forever" according to
[http://blog.bignerdranch.com/398-objective-c-literals-part-1/ this blog
post]; what's new in clang 3.2 are literals for NSNumber, NSArray, and
NSDictionary.
>
> Mac OS X 10.0’s GCC (which looks like it was 2.95.2, Apple build 926)
[http://www.opensource.apple.com/source/gcc/gcc-926/gcc/c-lex.c recognized
Objective-C string literals]. So yeah, we probably don’t have to worry too
much about backwards compatibility on that front.
Right, I was getting my different types of literals confused... guess that
means it's probably safe to commit then.
--
Ticket URL: <https://trac.macports.org/ticket/37974#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list