OH1KK / KiwiSDR-antenna-switch-extension

KiwiSDR antenna switch extension
MIT License
28 stars 13 forks source link

compatibility with clang compiler #25

Closed jks-prv closed 6 years ago

jks-prv commented 6 years ago

Renames ant_switch.c to ant_switch.cpp for compatibility with clang++.

In v1.189 the Makefile does this automatically for compatibility with older installed versions of the extension. But making the change here is a better solution going forward.

All the Kiwi .c files were changed into .cpp files also. Without this change a very difficult C/C++ interface would have been needed to compile .c files with non-C++ clang.

Also fixed a couple of compiler warnings.