Closed ShigekiKarita closed 4 years ago
Unfortunately that's what happens when the preprocessor is involved. dpp can't control what predefined macros clang brings to the table.
The only way around it is to have an option to not run the C preprocessor. Or, of course, rename the module.
Thanks for suggestions. I will rename that.
2020年5月11日(月) 21:24 Atila Neves notifications@github.com:
Unfortunately that's what happens when the preprocessor is involved. dpp can't control what predefined macros clang brings to the table.
The only way around it is to have an option to not run the C preprocessor. Or, of course, rename the module.
—in You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/atilaneves/dpp/issues/258#issuecomment-626668996, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTOZ3TXQ5GAERXFNGWMQJDRQ7U7LANCNFSM4M43EGBA .
There's also #259
Nice!
input file: test.dpp
preprocess result: d++ --preprocess-only test.dpp