File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,8 @@ OPTION(XEUS_CPP_BUILD_EXECUTABLE "Build the xcpp executable" ON)
47
47
OPTION (XEUS_CPP_USE_SHARED_XEUS "Link xcpp with the xeus shared library (instead of the static library)" ON )
48
48
OPTION (XEUS_CPP_USE_SHARED_XEUS_CPP "Link xcpp with the xeus shared library (instead of the static library)" ON )
49
49
50
+ option (CMAKE_COMPILE_WARNING_AS_ERROR "Compile warnings as errors" ON )
51
+
50
52
# Test options
51
53
OPTION (XEUS_CPP_BUILD_TESTS "xeus-cpp test suite" ON )
52
54
OPTION (XEUS_CPP_ENABLE_CODE_COVERAGE "xeus-cpp test suite" OFF )
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ int __get_cxx_version () {
101
101
__get_cxx_version ()
102
102
)" ;
103
103
104
- long cxx_version = Cpp::Evaluate (code);
104
+ auto cxx_version = Cpp::Evaluate (code);
105
105
return std::to_string (cxx_version);
106
106
}
107
107
@@ -133,7 +133,6 @@ __get_cxx_version ()
133
133
bool silent,
134
134
bool /* store_history*/ ,
135
135
nl::json /* user_expressions*/ ,
136
- bool allow_stdin
137
136
)
138
137
{
139
138
nl::json kernel_res;
You can’t perform that action at this time.
0 commit comments