[PATCH] D133574: [C2x] reject type definitions in offsetof

Thomas Lively via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 13 09:34:56 PST 2023


tlively added a comment.

FWIW I had to patch the musl used by Emscripten to work around this: https://github.com/emscripten-core/emscripten/pull/18510

The fix was simple and I don't have a strong opinion about the right way forward, but this change was slightly disruptive and I imagine other projects will have to work around it as well.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133574/new/

https://reviews.llvm.org/D133574



More information about the cfe-commits mailing list