https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61339
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- This is a really stupid warning that only exists because the MS compiler has (or had) a bug that treats 'struct' and 'class' differently. GCC (and Clang) correctly implement the C++ standard which says it doesn't matter.