Skip to content

Commit

Permalink
Disabling some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Stepanov Igor committed Jan 10, 2025
1 parent 9965873 commit 0787991
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,13 @@ target_compile_options(
/source-charset:UTF-8
/D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR
/W4
/wd4244 # conversion from 'a' to 'T', possible loss of data
/wd4267 # conversion from 'size_t' to 'int', possible loss of data
/wd4245 # conversion from 'int' to 'const size_t', signed/unsigned
# mismatch
/wd4100 # unreferenced formal parameter
/wd4458 # declaration of 'var' hides class member
/wd4101 # 'var': unreferenced local variable
>
$<$<NOT:$<CXX_COMPILER_ID:MSVC>>:
-Wall
Expand Down

0 comments on commit 0787991

Please sign in to comment.