https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88144
--- Comment #6 from Eric Gallager ---
(In reply to Jonathan Wakely from comment #3)
> Maybe -Wdeprecated or -Wdeprecated-declarations
I think clang puts this under -Wgnu-designator:
https://clang.llvm.org/docs/DiagnosticsReference.html#wgnu-des
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88144
--- Comment #5 from sandra at gcc dot gnu.org ---
Note that I also filed PR 88158 about the manual still saying C++ doesn't
support designated initializers at all. It's clear that's incorrect, but it's
not clear to me what it should say instead.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88144
--- Comment #4 from joseph at codesourcery dot com ---
On Thu, 22 Nov 2018, pinskia at gcc dot gnu.org wrote:
> I think one of the reasons why it has not been removed is there is still code
> out there that uses this syntax.
Including system he
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88144
--- Comment #3 from Jonathan Wakely ---
Maybe -Wdeprecated or -Wdeprecated-declarations
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88144
Eric Gallager changed:
What|Removed |Added
CC||egallager at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88144
--- Comment #1 from Andrew Pinski ---
I think one of the reasons why it has not been removed is there is still code
out there that uses this syntax.
If anything we should add a warning about it first if we are going to remove
it.