microsoft / proxy

Proxy: Next Generation Polymorphism in C++
https://wg21.link/p3086
MIT License
2.17k stars 134 forks source link

What happened to Clang's `__declspec(empty_bases)`? #178

Closed frederick-vs-ja closed 3 weeks ago

frederick-vs-ja commented 1 month ago

124 added usage of __declspec(empty_bases) which enforces (?) EBCO, but it wasn't enabled for Clang.

https://github.com/microsoft/proxy/blob/52ab85be9ec91ee9dbe46161fa8cb987d1702cb6/proxy.h#L26-L30

I'm sure that Clang supports __declspec(empty_bases) in MS-compatible mode. And per DevCom-10588147, MSVC formerly behaved worse than Clang.