-
Notifications
You must be signed in to change notification settings - Fork 363
Predefined Macros
Günter Wirth edited this page May 23, 2014
·
11 revisions
Predefined macros of C++ community plugin:
Macro | Value | Comment |
__FILE__ | "file" | |
__LINE__ | 1 | |
__DATE__ | "??? ?? ????" | indicates 'date unknown' |
__TIME__ | "??:??:??" | indicates 'time unknown' |
__STDC__ | 1 | |
__STDC_HOSTED__ | 1 | |
__cplusplus | 1 |
For most build environments these predefined macros are not sufficient. Please have a look to your build environment and project which additional macros you have to define.
Link to common build environments: