ImportC does not has builtin, and those macros are predefined by cpp. Therefore, cpp is run with -Wno-builtin-macro-redefined.
Perhaps you are building with an earlier dmd? That -W switch was added to dmd's call to cpp very recently.
Comment #3 by ibuclaw — 2023-01-19T11:30:01Z
(In reply to Walter Bright from comment #2)
> ImportC does not has builtin, and those macros are predefined by cpp.
> Therefore, cpp is run with -Wno-builtin-macro-redefined.
>
> Perhaps you are building with an earlier dmd? That -W switch was added to
> dmd's call to cpp very recently.
No, you are not seeing this because you're building with an outdated toolcahin. I'm building master, everything is broken since https://github.com/dlang/dmd/pull/14801
CI is also broken when updating to latest toolchain, so I've had to revert it here: https://github.com/dlang/dmd/pull/14824