This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

c/3467: Although told to adhere to C99, reports C89 violation



>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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]