https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83732
Kenman Tsang <kentsangkm at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kentsangkm at gmail dot com --- Comment #6 from Kenman Tsang <kentsangkm at gmail dot com> --- Created attachment 47137 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47137&action=edit An example error case Sorry for bring this topic back again. But I think there are some inconsistancy with the std::is_pod and the error messages. Refers to my example. A1 is a POD, but the error message said it is "non-POD". Should we either include more detail to the message (like C++98 POD) or to relax the POD checking? I tried the same case with clang. clang successfully compiles and return the correct size. And I cannot found anyway to unify their behavior, hence I cannot have a compiler independent code base Thank you