Boost logo

Boost :

From: Rainer Deyke (rdeyke_at_[hidden])
Date: 2024-04-09 11:54:45


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_at_[hidden])

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk