Skip to content

Commit

Permalink
/OX is definitely not recognized + disable MSVC deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Hirondelle-Tech committed Sep 30, 2024
1 parent 5484ab0 commit 0653622
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
include_directories(include)

if(MSVC)
add_compile_options(/W3 /WX /OX)
add_compile_options(/W3 /WX)
else()
add_compile_options(-Wall -Wextra -Wpedantic -O3)
endif()
Expand Down
2 changes: 2 additions & 0 deletions tests/test_save_vector.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#define _CRT_SECURE_NO_WARNINGS

#include <vector.h>
#include <utils.h>

Expand Down

0 comments on commit 0653622

Please sign in to comment.