This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Fix test gcc.dg/c99-flex-array-2.c
- From: "Billinghurst, David (CRTS)" <David dot Billinghurst at riotinto dot com>
- To: <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 12 Feb 2002 15:09:37 +1100
- Subject: Fix test gcc.dg/c99-flex-array-2.c
Test gcc.dg/c99-flex-array-2.c fails with a C89 warning. Committed as obvious.
2002-02-12 David Billinghurst <David.Billinghurst@riotinto.com>
* gcc.dg/c99-flex-array-2.c: Add -std=iso9899:1999
diff -u -r1.1 c99-flex-array-2.c
--- c99-flex-array-2.c 2002/02/11 02:37:37 1.1
+++ c99-flex-array-2.c 2002/02/12 04:08:04
@@ -1,5 +1,6 @@
/* PR c/5623 */
/* { dg-do compile } */
+/* { dg-options "-std=iso9899:1999 -pedantic-errors" } */
struct blah {
int number;