This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/25897] New: GCC rejects the following strictly conforming code with -ansi -pedantic errors
- From: "neil at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jan 2006 07:06:24 -0000
- Subject: [Bug c/25897] New: GCC rejects the following strictly conforming code with -ansi -pedantic errors
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
void foo (const int (*h)[2], int (*i)[2])
{
1 ? h: i;
}
Also rejected in C99 mode.
--
Summary: GCC rejects the following strictly conforming code with
-ansi -pedantic errors
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: neil at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25897