https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57480
Andrew Pinski changed:
What|Removed |Added
Keywords||rejects-valid, wrong-code
Last
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57480
Daniel Krügler daniel.kruegler at googlemail dot com changed:
What|Removed |Added
CC|
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 ==
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
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.