https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57480
Andrew Pinski changed:
What|Removed |Added
Keywords||rejects-valid, wrong-code
Last reconfi
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57480
--- Comment #4 from Roman Tsisyk ---
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.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57480
--- Comment #3 from Daniel Krügler ---
(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 another type from the C
Library). I su
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57480
--- Comment #2 from Jonathan Wakely ---
Surely this depends on whether is_pod is true, and is that required,
or is it unspecified?
I think this should always pass though:
static_assert(is_pod::value == is_pod::value, "same PODness");
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57480
Daniel Krügler changed:
What|Removed |Added
CC||daniel.kruegler@googlemail.