diff options
author | Joseph Myers <jsm28@cam.ac.uk> | 2000-11-13 13:31:16 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2000-11-13 13:31:16 +0000 |
commit | 26d4fec72e0319f2af9416ceaa9c76430b9e808d (patch) | |
tree | 7f9d7597fc09c082ffe833c9bc59a6994331b0a1 /gcc/varasm.c | |
parent | 1173593dd6368a86253e21fcb00ff8496c0eac34 (diff) | |
download | gcc-26d4fec72e0319f2af9416ceaa9c76430b9e808d.zip gcc-26d4fec72e0319f2af9416ceaa9c76430b9e808d.tar.gz gcc-26d4fec72e0319f2af9416ceaa9c76430b9e808d.tar.bz2 |
c-parse.in (initelt): Give appropriate pedantic warnings...
* c-parse.in (initelt): Give appropriate pedantic warnings,
depending on flag_isoc99, for non-ISO syntax and for C99 syntax
outside C99 mode.
(designator): If pedantic, pedwarn for a designator specifying a
range of elements.
* c-typeck.c (set_init_index, set_init_label): Don't pedwarn for
these cases.
* extend.texi: Document the C99 syntax as the preferred syntax,
and the pre-2.5 syntax as obsolete. Mention use of designator
lists for nested subobjects.
From-SVN: r37421
Diffstat (limited to 'gcc/varasm.c')
0 files changed, 0 insertions, 0 deletions