https://bugs.llvm.org/show_bug.cgi?id=17410
Reid Kleckner <r...@google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WONTFIX
Status|NEW |RESOLVED
--- Comment #2 from Reid Kleckner <r...@google.com> ---
MSVC has warned on this since 19.15: https://gcc.godbolt.org/z/ToG3o4
https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-4-c4668?view=msvc-160
warning C4644: usage of the macro-based offsetof pattern in constant
expressions is non-standard; use offsetof defined in the C++ standard library
instead
Someone filed a similar issue with microsoft:
https://developercommunity.visualstudio.com/t/field-offset-macro-in-winnth-can-generate-c4644-an/331780
At this point, I don't think clang needs to implement an extension for this.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs