[LLVMbugs] [Bug 7109] __builtin_offsetof - non-POD type warning
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sat Aug 7 06:40:33 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=7109
Douglas Gregor <dgregor at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #3 from Douglas Gregor <dgregor at apple.com> 2010-08-07 08:40:33 CDT ---
(In reply to comment #2)
> Not strictly POD; maybe we should relax the warning by default to match the
> C++0x rules, though. I thought this had been discussed before, but I can't
> seem to find the discussion...
In C++0x, we should only complain if the class isn't standard-layout. For
C++98/03, I think we're right to warn (even if it is a bit pedantic to do so).
Please re-open if you disagree.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list