diff --git a/src/main/cpp/Makefile b/src/main/cpp/Makefile index eb89e2d..8169697 100644 --- a/src/main/cpp/Makefile +++ b/src/main/cpp/Makefile @@ -1,4 +1,4 @@ -CXX=g++-8 +CXX=g++ default: tiv diff --git a/src/main/cpp/tiv.cpp b/src/main/cpp/tiv.cpp index 783723c..8a04581 100644 --- a/src/main/cpp/tiv.cpp +++ b/src/main/cpp/tiv.cpp @@ -362,7 +362,7 @@ void emitCodepoint(int codepoint) { std::cout << (char) (0x80 | ((codepoint >> 6) & 0x3f)); std::cout << (char) (0x80 | (codepoint & 0x3f)); } else { - std::cout << "ERROR"; + std::cerr << "ERROR"; } }