This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/81234] [6 Regression] stray notes for a flexible array member not at end of struct
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 28 Jun 2017 07:21:23 +0000
- Subject: [Bug c++/81234] [6 Regression] stray notes for a flexible array member not at end of struct
- Auto-submitted: auto-generated
- References: <bug-81234-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81234
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Martin Sebor from comment #3)
> In C, mode GCC accepts the test case from comment #0 but with -Wpedantic
> issues a warning:
>
> t.c:8:14: warning: invalid use of structure with flexible array member
> [-Wpedantic]
Ah, I missed that when checking with the C front end, thanks.