public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c/7759: incorrect warning emited
@ 2002-12-03  9:26 Christian Ehrhardt
  0 siblings, 0 replies; 3+ messages in thread
From: Christian Ehrhardt @ 2002-12-03  9:26 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

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!


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: c/7759: incorrect warning emited
@ 2002-12-18 15:00 ehrhardt
  0 siblings, 0 replies; 3+ messages in thread
From: ehrhardt @ 2002-12-18 15:00 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, laurent.mazier, nobody

Synopsis: incorrect warning emited

State-Changed-From-To: open->closed
State-Changed-By: cae
State-Changed-When: Wed Dec 18 15:00:15 2002
State-Changed-Why:
    
    Not a bug. See audit trail.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7759


^ permalink raw reply	[flat|nested] 3+ messages in thread

* c/7759: incorrect warning emited
@ 2002-08-29  5:36 laurent.mazier
  0 siblings, 0 replies; 3+ messages in thread
From: laurent.mazier @ 2002-08-29  5:36 UTC (permalink / raw)
  To: gcc-gnats


>Number:         7759
>Category:       c
>Synopsis:       incorrect warning emited
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 29 03:46:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     laurent.mazier@esf.ericsson.se
>Release:        GCC-3.2
>Organization:
>Environment:
Cygwin PPC cross compiler
>Description:
When compiling this simple C source line :
strcpy (my_string, "(???)");

GCC issues following warning :
"warning: trigraph ??) ignored"

Should it be ?



>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-12-18 23:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-03  9:26 c/7759: incorrect warning emited Christian Ehrhardt
  -- strict thread matches above, loose matches on Subject: below --
2002-12-18 15:00 ehrhardt
2002-08-29  5:36 laurent.mazier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).