File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -33,12 +33,13 @@ else()
3333 -Wpedantic # warn if non-standard C++ is used
3434 -Wconversion # warn on type conversions that may lose data
3535 -Wsign-conversion # warn on sign conversions
36- -Wmisleading-indentation # warn if identation implies blocks where blocks do not exist
37- -Wduplicated-cond # warn if if / else chain has duplicated conditions
38- -Wduplicated-branches # warn if if / else branches have duplicated code
36+ -Wmisleading-indentation # warn if identation implies blocks where blocks
37+ # do not exist
38+ -Wduplicated-cond # warn if if / else chain has duplicated conditions
39+ -Wduplicated-branches # warn if if / else branches have duplicated code
3940 -Wlogical-op # warn about logical operations being used where bitwise were
4041 # probably wanted
41- -Wnull-dereference # warn if a null dereference is detected
42+ -Wnull-dereference # warn if a null dereference is detected
4243 -Wuseless-cast # warn if you perform a cast to the same type
4344 -Wdouble-promotion # warn if float is implicit promoted to double
4445 -Wformat=2 # warn on security issues around functions that format output
4748endif ()
4849
4950add_executable (intro main.cpp)
50- # target_compile_features(intro PRIVATE cxx_std_14 )
51+ target_compile_features (intro PRIVATE cxx_std_17 )
5152target_link_libraries (intro PRIVATE project_warnings --coverage)
5253
5354enable_testing ()
You can’t perform that action at this time.
0 commit comments