Re: Annoying gcc warnings on MacOSX 10.6
"Gary L. Wade" <garywade-9iVW/[email protected]> Wed, 17 Aug 2011 07:17:41 -0700
| Newsgroups | gmane.comp.macosx.devel |
|---|---|
| Message-ID | <[email protected]> |
Read the documentation for NSException and follow it. - Gary L. Wade (Sent from my iPhone) On Aug 17, 2011, at 6:19 AM, Andreas H=C3=B6schler <ahoesch-st0f/[email protected]> wr= ote: > Hi all, >=20 > when building code like >=20 > NSString *message =3D ... > [NSException raise:NSInternalInconsistencyException format:message]; >=20 > on MacOSX 10.6, gcc give sthe following warning >=20 > SOEditingContext.m:3574: warning: format not a string literal and no fo= rmat arguments >=20 > Any idea how to get rid of these warnings? >=20 > Thanks a lot, >=20 > Andreas >=20