Remove redundant extern "C" from the definitions in printf.c #144
Labels
platform-incompatibility
The library is making assumptions causing it to fail on platforms where they do not hold.
task
When using the library in C++, only the printf.h definitions need to be surrounded by
extern "C"
(see also this SO question). Apparently, some compilers (e.g. clang on Mac) seem to have trouble with definitions surrounded by it. So - let's remove it.The text was updated successfully, but these errors were encountered: