Skip to content

Commit

Permalink
CMake: turn missing functions into errors with MSVC in dev mode
Browse files Browse the repository at this point in the history
  • Loading branch information
robUx4 committed Jan 1, 2025
1 parent ad4a2f3 commit 455595c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ if(DEV_MODE)
-Werror=declaration-missing-parameter-type
-Werror=switch
-Werror=return-type
-W4)
-W4
-WX:4013 # undefined; assuming extern returning int
)
endif()

add_subdirectory("corec")
Expand Down

0 comments on commit 455595c

Please sign in to comment.