From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27935 invoked by alias); 3 Dec 2002 17:26:04 -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 27915 invoked by uid 71); 3 Dec 2002 17:26:03 -0000 Date: Tue, 03 Dec 2002 09:26:00 -0000 Message-ID: <20021203172603.27914.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: "Christian Ehrhardt" Subject: Re: c/7759: incorrect warning emited Reply-To: "Christian Ehrhardt" X-SW-Source: 2002-12/txt/msg00157.txt.bz2 List-Id: The following reply was made to PR c/7759; it has been noted by GNATS. From: "Christian Ehrhardt" To: laurent.mazier@esf.ericsson.se, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org Cc: Subject: Re: c/7759: incorrect warning emited Date: Tue, 3 Dec 2002 18:18:12 +0100 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7759 Hi, this warning is intentional. According to the C standard the sequence "??)" is replaced with "]" in the very early preprocessing stage (even within strings). gcc doesn't follow the standard here unless -pedantic is specified but warns the user about this fact. This report should be closed. regards Christian Ehrhardt -- THAT'S ALL FOLKS!