Correct debug version of C++ compiler
correct prototypes