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 3a04f39 commit b617c3aCopy full SHA for b617c3a
.github/workflows/test_precommit.yml
@@ -74,7 +74,7 @@ jobs:
74
run: |
75
mkdir build && cd build
76
pip install nanobind==2.4.0
77
- cmake ../tests/cpp/precommit/ -DCMAKE_CXX_FLAGS=-Werror
+ cmake ../tests/cpp/precommit/
78
cmake --build . -j $((`nproc`*2+2))
79
- name: Run test
80
tests/cpp/precommit/CMakeLists.txt
@@ -29,7 +29,7 @@ if(MSVC)
29
endif()
30
31
if(CMAKE_CXX_COMPILER_ID MATCHES "^GNU|(Apple)?Clang$")
32
- add_compile_options(-Wall -Wextra)
+ add_compile_options(-Wall -Wextra -Wpedantic)
33
34
35
if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm64.*|aarch64.*|AARCH64.*)")
0 commit comments