Predefined preprocessor variables

Syntax:

    __LINE__
    __FILE__
    __DATE__
    __TIME__
    __cplusplus
    __STDC__

The following variables can vary by compiler, but generally work:

GCC-specific variables

The following are GCC-specific variables. While they are not specifically preprocessor macros they are magic and can be used the same way: