https://llvm.org/bugs/show_bug.cgi?id=26117
Richard Smith <richard-l...@metafoo.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #3 from Richard Smith <richard-l...@metafoo.co.uk> --- Neither GCC nor MSVC properly implement the C++11 constant expression rules in this area. Casting between pointers and integers is not permitted in a constant expression (and nor is the reinterpret_cast to cv char&). Reid, it sounds like you don't think this is worth supporting as an MSVC compatibility hack, so I'm going to close this. Please reopen if this is important for MSVC compatibility on some important headers. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs