[Bug c++/64867] warning for passing non-POD to varargs function

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Sep 5 15:37:00 GMT 2017


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.


More information about the Gcc-bugs mailing list