On Dec 4, 2017, at 2:53 PM, Rick Mann <rm...@latencyzero.com> wrote: > I tried that. It doesn't work. > > MCP.m:262:54: Unexpected '@' in program
Weird. I just tried it here, using your exact example, and it worked fine under Xcode 9.2. (I slapped it into my iOS app's application:didFinishLaunchingWithOptions: as a quick and dirty test.) #define NSSTR(s) (@ s) #define kSomeCStringConstant "foo" NSLog(@"foo is %@", NSSTR(kSomeCStringConstant)); Do you have some unusual circumstances in your build environment? b _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com