This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/69550] Need a way to disable "flexible array member in an otherwise empty struct" error on GCC 6
- From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 29 Jan 2016 12:54:53 +0000
- Subject: [Bug c++/69550] Need a way to disable "flexible array member in an otherwise empty struct" error on GCC 6
- Auto-submitted: auto-generated
- References: <bug-69550-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69550
--- Comment #6 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
(In reply to Milan Bouchet-Valat from comment #5)
> Note this actually also happens with the C compiler (the attached example
> also illustrates this).
That's the correct behavior.