mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-19 06:31:18 +00:00
[CMake] Order MSVC warnings numerically.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158171 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c3ab9ce3c9
commit
fa371eaff3
@ -151,8 +151,10 @@ if( MSVC )
|
|||||||
-D_SCL_SECURE_NO_WARNINGS
|
-D_SCL_SECURE_NO_WARNINGS
|
||||||
|
|
||||||
# Disabled warnings.
|
# Disabled warnings.
|
||||||
|
-wd4065 # Suppress 'switch statement contains 'default' but no 'case' labels'
|
||||||
-wd4146 # Suppress 'unary minus operator applied to unsigned type, result still unsigned'
|
-wd4146 # Suppress 'unary minus operator applied to unsigned type, result still unsigned'
|
||||||
-wd4180 # Suppress 'qualifier applied to function type has no meaning; ignored'
|
-wd4180 # Suppress 'qualifier applied to function type has no meaning; ignored'
|
||||||
|
-wd4181 # Suppress 'qualifier applied to reference type; ignored'
|
||||||
-wd4224 # Suppress 'nonstandard extension used : formal parameter 'identifier' was previously defined as a type'
|
-wd4224 # Suppress 'nonstandard extension used : formal parameter 'identifier' was previously defined as a type'
|
||||||
-wd4244 # Suppress ''argument' : conversion from 'type1' to 'type2', possible loss of data'
|
-wd4244 # Suppress ''argument' : conversion from 'type1' to 'type2', possible loss of data'
|
||||||
-wd4267 # Suppress ''var' : conversion from 'size_t' to 'type', possible loss of data'
|
-wd4267 # Suppress ''var' : conversion from 'size_t' to 'type', possible loss of data'
|
||||||
@ -166,8 +168,6 @@ if( MSVC )
|
|||||||
-wd4624 # Suppress ''derived class' : destructor could not be generated because a base class destructor is inaccessible'
|
-wd4624 # Suppress ''derived class' : destructor could not be generated because a base class destructor is inaccessible'
|
||||||
-wd4715 # Suppress ''function' : not all control paths return a value'
|
-wd4715 # Suppress ''function' : not all control paths return a value'
|
||||||
-wd4800 # Suppress ''type' : forcing value to bool 'true' or 'false' (performance warning)'
|
-wd4800 # Suppress ''type' : forcing value to bool 'true' or 'false' (performance warning)'
|
||||||
-wd4065 # Suppress 'switch statement contains 'default' but no 'case' labels'
|
|
||||||
-wd4181 # Suppress 'qualifier applied to reference type; ignored'
|
|
||||||
|
|
||||||
# Promoted warnings.
|
# Promoted warnings.
|
||||||
-w14062 # Promote 'enumerator in switch of enum is not handled' to level 1 warning.
|
-w14062 # Promote 'enumerator in switch of enum is not handled' to level 1 warning.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user