Closed terrillmoore closed 5 years ago
The following files use #ifdef __cplusplus. This should be corrected, because .cpp files (unlike .h files) can not be anything else.
#ifdef __cplusplus
.cpp
.h
The C-isms should also be corrected.
#define
constexpr
extern "C"
My guess is that these are cut/paste errors after refactorings.
I've corrected this. Will push a patches later today.
The following files use
#ifdef __cplusplus
. This should be corrected, because.cpp
files (unlike.h
files) can not be anything else.The C-isms should also be corrected.
#define
can almost always be replaced byconstexpr
extern "C"
-- they can (and should) be C++, or even converted to private method functions.My guess is that these are cut/paste errors after refactorings.