Skip to content

Commit

Permalink
Add 'unused variable' warning on MSVC.
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Jul 13, 2021
1 parent 1c8cfe4 commit a797982
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions options_win.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
/w14834 # [[nodiscard]]
/w15038 # wrong initialization order
/w14265 # class has virtual functions, but destructor is not virtual
/w14101 # 'identifier' : unreferenced local variable
/wd4068 # Disable "warning C4068: unknown pragma"
/wd4267 # 'initializing': conversion from 'size_t' to 'int', possible loss of data.
/wd4244 # '=': conversion from 'size_t' to 'int', possible loss of data.
Expand Down

0 comments on commit a797982

Please sign in to comment.