Open attilaolah opened 4 years ago
This change causes a problem on my macOS system:
CMake Error at test/multiarray/CMakeLists.txt:17 (message):
cmake error: VIGRA_CPP_VERSION not defined yet. Call
VIGRA_DETECT_CPP_VERSION() from the main CMakeLists file.
Do you see why?
Hmm, I don't see why, maybe the endl
is actually causing problems, and we'd need to flush the buffer explicitly. I'll try that.
The Emscripten compiler (
em++
) will refuse to output the results of the buffer unless they are flushed explicitly, or implicitly with thestd::endl
. This will result in the C++ version being detected as being the literal string: