9 Apr
2024
9 Apr
'24
11:54 a.m.
On 08.04.24 23:09, Andrey Semashev via Boost wrote:
Why changing compiler options affects C++ AST? Which is what the compiled module basically is, or supposed to be, anyway.
Yes, the AST could change because of different macro definitions, but that is not an issue. Or not more of an issue than it currently is with different macro definitions between TUs. I don't expect modules to solve this issue.
Compilers often expose their options through predefined macros. -- Rainer Deyke (rainerd@eldwood.com)