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.
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.