This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/82299] -Wuseless-cast errors on typed enums used in member data initializers in c++1z
- From: "jakub 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 Sep 2017 19:41:32 +0000
- Subject: [Bug c++/82299] -Wuseless-cast errors on typed enums used in member data initializers in c++1z
- Auto-submitted: auto-generated
- References: <bug-82299-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82299
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
{ target c++11 } means the test is run for -std=c++{11,14,17,2a,17 -fconcepts}.
And the test wants to make sure that the warning isn't emitted in any of those
modes.