From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16905 invoked by alias); 8 Nov 2006 04:01:14 -0000 Received: (qmail 16897 invoked by uid 22791); 8 Nov 2006 04:01:14 -0000 X-Spam-Check-By: sourceware.org Received: from mailfe08.swip.net (HELO swip.net) (212.247.154.225) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 08 Nov 2006 04:01:06 +0000 X-T2-Posting-ID: xM5+dyx+bA+XkPEuvlDX1Q== X-Cloudmark-Score: 0.000000 [] Received: from [213.100.41.17] (HELO [192.168.0.16]) by mailfe08.swip.net (CommuniGate Pro SMTP 5.0.12) with ESMTP id 318780856 for gcc-help@gcc.gnu.org; Wed, 08 Nov 2006 05:01:03 +0100 Message-ID: <455156B4.5090607@home.se> Date: Wed, 08 Nov 2006 04:01:00 -0000 From: Erik User-Agent: Thunderbird 1.5.0.7 (X11/20060926) MIME-Version: 1.0 To: gcc-help@gcc.gnu.org Subject: -Werror for certain warnings? Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2006-11/txt/msg00130.txt.bz2 "info:/gcc/Warning Options" mentions -Werror, that treats all warnings as errors and -Werror-implicit-function-declaration, which treats implicit function declarations as errors but it does not mention how to treat other certain kinds of warnings as errors. For example -Werror-shadow does not work. How is it supposed to be done?