This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c/3467: Although told to adhere to C99, reports C89 violation
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c/3467: Although told to adhere to C99, reports C89 violation
- From: ljrittle at acm dot org
- Date: 28 Jun 2001 22:09:55 -0000
- Reply-To: ljrittle at acm dot org
>Number: 3467
>Category: c
>Synopsis: Although told to adhere to C99, reports C89 violation
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu Jun 28 15:16:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: ljrittle@acm.org
>Release: unknown-1.0
>Organization:
>Environment:
>Description:
This warning is reported:
l3.c: In function `tdef':
l3.c:3: warning: ISO C89 forbids variable-size array `A'
when attached code is compiled with -std=c99 -pedantic
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="l3.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="l3.c"
dm9pZCB0ZGVmKGludCBuKQogICAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgdHlwZWRlZiBpbnQgQVtuXTsKICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICBBIGE7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgQSAqcDsKICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICBwID0gJmE7CiAgICAgICAgICAgICAgICAgICAgIH0K