File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 99
99
-DCMAKE_PREFIX_PATH=$CONDA_PREFIX \
100
100
-DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX \
101
101
-DXEUS_CPP_ENABLE_CODE_COVERAGE=${{ matrix.coverage }} \
102
+ -DCMAKE_COMPILE_WARNING_AS_ERROR=ON \
102
103
${{ matrix.extra_cmake_flags }}
103
104
104
105
- name : build & install
Original file line number Diff line number Diff line change 6
6
# The full license is in the file LICENSE, distributed with this software. #
7
7
#############################################################################
8
8
9
- cmake_minimum_required (VERSION 3.4.3 )
9
+ cmake_minimum_required (VERSION 3.24 )
10
10
project (xeus-cpp )
11
11
12
12
enable_language (CXX )
Original file line number Diff line number Diff line change @@ -101,8 +101,8 @@ int __get_cxx_version () {
101
101
__get_cxx_version ()
102
102
)" ;
103
103
104
- long cxx_version = Cpp::Evaluate (code);
105
- return std::to_string (cxx_version);
104
+ auto cxx_version = Cpp::Evaluate (code);
105
+ return std::to_string (cxx_version);
106
106
}
107
107
108
108
@@ -138,6 +138,9 @@ __get_cxx_version ()
138
138
{
139
139
nl::json kernel_res;
140
140
141
+
142
+ auto input_guard = input_redirection (allow_stdin);
143
+
141
144
// Check for magics
142
145
for (auto & pre : preamble_manager.preamble )
143
146
{
You can’t perform that action at this time.
0 commit comments