Annoying gcc warnings on MacOSX 10.6

Andreas Höschler <ahoesch-st0f/[email protected]> Wed, 17 Aug 2011 15:19:30 +0200
Newsgroups gmane.comp.macosx.devel
Message-ID <[email protected]>
Hi all,

when building code like

     NSString *message =3D ...
     [NSException raise:NSInternalInconsistencyException =
format:message];

on MacOSX 10.6, gcc give sthe following warning

	SOEditingContext.m:3574: warning: format not a string literal =
and no format arguments

Any idea how to get rid of these warnings?

Thanks a lot,

 Andreas