[Bug c++/57480] struct with a va_list considered as non-POD

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57480 Andrew Pinski changed: What|Removed |Added Keywords||rejects-valid, wrong-code Last

[Bug c++/57480] struct with a va_list considered as non-POD

2013-05-31 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57480 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC|

[Bug c++/57480] struct with a va_list considered as non-POD

2013-05-31 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57480 --- Comment #2 from Jonathan Wakely redi at gcc dot gnu.org --- Surely this depends on whether is_podva_list is true, and is that required, or is it unspecified? I think this should always pass though: static_assert(is_podfiber::value ==

[Bug c++/57480] struct with a va_list considered as non-POD

2013-05-31 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57480 --- Comment #3 from Daniel Krügler daniel.kruegler at googlemail dot com --- (In reply to Jonathan Wakely from comment #2) My interprettaion is that the standard does not say anything about that (I think I had once a similar question in regard to

[Bug c++/57480] struct with a va_list considered as non-POD

2013-05-31 Thread roman at tsisyk dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57480 --- Comment #4 from Roman Tsisyk roman at tsisyk dot com --- I use offsetof on this structure and C++ produces a warning about POD data type. std::is_pod is not so important here. I temporary add -Wno-invalid-offsetof to my code.