Skip to content

Commit

Permalink
more /wd for msvc
Browse files Browse the repository at this point in the history
  • Loading branch information
guyutongxue committed Nov 23, 2024
1 parent c8f2267 commit 28f95d1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,12 @@ set(enable-fpic

set(msvc-flags
/utf-8 # Use UTF-8 source and execution character set
/wd4819
/wd4005
/wd4146
/wd4530
/wd4309
/wd4334
/wd4245 # Conversion with signed/unsigned mismatch.
/wd4267 # Conversion with possible loss of data.
/wd4324 # Padding structure due to alignment.
Expand Down

0 comments on commit 28f95d1

Please sign in to comment.