[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gcc 4.1 and that warning: '_OBJC_INSTANCE_0' defined but not used
From: |
Chris B. Vetter |
Subject: |
Re: gcc 4.1 and that warning: '_OBJC_INSTANCE_0' defined but not used |
Date: |
Fri, 24 Mar 2006 12:51:53 +0100 |
On 3/24/06, Pete French <pete@twisted.org.uk> wrote:
> Hmm, this is driving me up the wall! (actually, up the -Wall :-) ) - does
> anyone know how to stop it, or where I might submit a bug report
> about it ? I get it wen I do things such as returning strings from
> a function - e.g. 'return @"hello";' will do it nicely!
Do not use -Wall, instead explicitly specify which warnings you're
interested in, eg.
-Wno-parentheses -Wno-pointer-arith -Wno-nested-externs -Wno-protocol
-Wcast-align -Wwrite-strings -Werror -Wfatal-errors
--
Chris