You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cc, plusplus: add -pm option to dump predefined macros (#1592)
* cc: add -pm option to dump predefined macros
Add a new -pm compiler option that dumps all predefined macros
in #define format, similar to gcc/clang's -dM -E.
Usage: wcc386 -pm /dev/null
* plusplus: add -pm option to dump predefined macros
Port the -pm option from the C compiler to the C++ compiler,
allowing wpp/wpp386 to dump all predefined macros.
* cc, plusplus: move -pm outside preprocessor option chain
Move -pm before the :usagechain with :nochain/:usagenochain
so it is not part of the -p preprocessor control group.
Process -pm after the cpp_mode block so it has highest
priority and does not set cpp_mode.
0 commit comments