BlueAndi / vscp-arduino

Very Simple Control Protocol (VSCP) Level 1 Library for the arduino IDE.
Other
14 stars 10 forks source link

Compilation errors due to missing 'extern “C”' in *.h files in events directory. #5

Closed michpro closed 1 month ago

michpro commented 1 month ago

Since Arduino code is assumed to be written (and compiled) in c++, the lack of 'extern “C”' in the *.h headers in the functions in the events directory causes Name Mangling which leads to compilation errors (inability to find the object when linking).

BlueAndi commented 1 month ago

Could it be that in earlier days the .c files were compiled as C++, because it was working on my side without issue. But you are right, will add them.