bloomberg / clang-p2996

Experimental clang support for WG21 P2996 (Reflection).
https://github.com/bloomberg/clang-p2996/tree/p2996/P2996.md
62 stars 14 forks source link

Compilation is broken #110

Closed Yaraslaut closed 4 weeks ago

Yaraslaut commented 4 weeks ago

master is broken: https://godbolt.org/z/dznddM8hc

commit that broke it: https://github.com/bloomberg/clang-p2996/commit/5a5e1a48f55d34ac669e3a08235c66bd39fcc046

I could not figure out exactly what is causing this error since generated errors are not pointing to the libcxx/include/experimental/meta file but to generated meta header

katzdm commented 4 weeks ago

Sorry about that - forgot to wrap in LIFT(x) instead of ^^x, so it works for both ^x and ^^x. Adding -freflection-latest will work around this for today; should be fixed tomorrow.