c/7759: incorrect warning emited
Christian Ehrhardt
ehrhardt@mathematik.uni-ulm.de
Tue Dec 3 09:26:00 GMT 2002
The following reply was made to PR c/7759; it has been noted by GNATS.
From: "Christian Ehrhardt" <ehrhardt@mathematik.uni-ulm.de>
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!
More information about the Gcc-prs
mailing list