Skip to content

Predefined Macros

guwirth edited this page Jan 9, 2021 · 11 revisions

This description is only valid for plugin version 1.x

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:

Clone this wiki locally