-
Notifications
You must be signed in to change notification settings - Fork 364
Predefined Macros
wenns edited this page Dec 28, 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 | 201103L |
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: