https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64867
--- Comment #19 from Jonathan Wakely <redi at gcc dot gnu.org> --- Whether Clang warns or not depends on the -std mode active, as that decides the definition of a POD it uses. GCC always uses the C++11 rule, which I quoted in comment 9.