Merge pull request #11434 from danilaml/fix-warnings
msvc: set warning level to /W4 globally
This commit is contained in:
commit
5e424d791b
13 changed files with 17 additions and 20 deletions
|
@ -245,8 +245,6 @@ target_link_libraries(shader_recompiler PUBLIC common fmt::fmt sirit)
|
|||
|
||||
if (MSVC)
|
||||
target_compile_options(shader_recompiler PRIVATE
|
||||
/W4
|
||||
|
||||
/we4242 # 'identifier': conversion from 'type1' to 'type2', possible loss of data
|
||||
/we4254 # 'operator': conversion from 'type1:field_bits' to 'type2:field_bits', possible loss of data
|
||||
/we4800 # Implicit conversion from 'type' to bool. Possible information loss
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue