Re: NSCAssert in OS X and iOS

2013-04-18 Thread Jean-Daniel Dupas
Le 18 avr. 2013 à 18:31, Jens Alfke a écrit : > > On Apr 18, 2013, at 12:14 AM, Rick Mann wrote: > >> I had an NSAssert with varargs in a C routing in a .mm file. It compiled >> fine in a Mac OS X app, but the same code in an iOS app bitches about too >> many arguments. Is that right? > >

Re: NSCAssert in OS X and iOS

2013-04-18 Thread Rick Mann
Well, it still builds correctly in the OS X project (it's common utility code I use across projects). The line is: enum AnchorRegion inRgn = ...; NSCAssert(false, @"Unknown AnchorRegion %d", inRgn); On Apr 18, 2013, at 09:31 , Jens Alfke wrote: > > On Apr 18, 2013, at 1

Re: NSCAssert in OS X and iOS

2013-04-18 Thread Jens Alfke
On Apr 18, 2013, at 12:14 AM, Rick Mann wrote: > I had an NSAssert with varargs in a C routing in a .mm file. It compiled fine > in a Mac OS X app, but the same code in an iOS app bitches about too many > arguments. Is that right? Double-check that the warning isn't in fact correct. Clang has