We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc14222 commit 15297a3Copy full SHA for 15297a3
src/xinterpreter.cpp
@@ -77,7 +77,6 @@ namespace xcpp
77
static std::string get_stdopt()
78
{
79
// We need to find what's the C++ version the interpreter runs with.
80
-#ifndef EMSCRIPTEN
81
const char* code = R"(
82
int __get_cxx_version () {
83
#if __cplusplus > 202302L
@@ -100,9 +99,6 @@ __get_cxx_version ()
100
99
)";
101
auto cxx_version = Cpp::Evaluate(code);
102
return std::to_string(cxx_version);
103
-#else
104
- return "20";
105
-#endif
106
}
107
108
interpreter::interpreter(int argc, const char* const* argv) :
0 commit comments