Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I generate a list of the compiler predefined macros?

compiler list macros predefined
0
Posted

How can I generate a list of the compiler predefined macros?

0

For the full list of pre-defined macros, compile the null C program (“void main(void) { }”) with the -ppm option. This will produce the file .pp which contains the macro definitions of all the pre-defined macros. Or use the -ppm option on any source file. The resulting .pp file will contain the pre-defined and user defined macros.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123