This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c/2646: Invalid warning message
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c/2646: Invalid warning message
- From: lenon at sanctuary dot org
- Date: 25 Apr 2001 21:06:58 -0000
- Reply-To: lenon at sanctuary dot org
>Number: 2646
>Category: c
>Synopsis: Invalid warning message
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: rejects-legal
>Submitter-Id: net
>Arrival-Date: Wed Apr 25 14:16:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Lenon W. Kitchens
>Release: gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-81)
>Organization:
>Environment:
Standard RedHat 7.1 on x86. It's "out of the box".
>Description:
gcc gives this warning:
test.cc:5:27: warning: trigraph ??! ignored
whenever it sees a string that contains the characters "??!"
the command line I used is:
gcc -Wall -g test.cc -o test
>How-To-Repeat:
#include <stdio.h>
int main(void)
{
printf("??!!!\r\n");
return 1;
}
>Fix:
Don't use "??!" in a string :)
>Release-Note:
>Audit-Trail:
>Unformatted: