#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 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]
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. -- Ticket URL: <https://trac.macports.org/ticket/37974#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS