From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5244 invoked by alias); 29 Jan 2002 02:16:10 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 5155 invoked by uid 71); 29 Jan 2002 02:16:02 -0000 Date: Mon, 28 Jan 2002 18:16:00 -0000 Message-ID: <20020129021602.5154.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Carlo Wood Subject: Re: preprocessor/5520: There's a warning I miss with "if{} else{}" statement Reply-To: Carlo Wood X-SW-Source: 2002-01/txt/msg01006.txt.bz2 List-Id: The following reply was made to PR preprocessor/5520; it has been noted by GNATS. From: Carlo Wood To: jbach1@caramail.com Cc: gcc-gnats@gcc.gnu.org Subject: Re: preprocessor/5520: There's a warning I miss with "if{} else{}" statement Date: Tue, 29 Jan 2002 03:09:21 +0100 On Mon, Jan 28, 2002 at 11:41:20PM -0000, jbach1@caramail.com wrote: > I think a warning shoul be raised when someone writes > if (condition); Only *before* replacing macros please (if at all). Macros can be empty and be used like: if (condition) POSSIBLY_EMPTY_MACRO; -- Carlo Wood