mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-01 01:30:36 +00:00
[CMake] Promote extension warnings to errors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158176 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9236362a64
commit
67762d1d45
@ -171,7 +171,10 @@ if( MSVC )
|
||||
|
||||
# Promoted warnings.
|
||||
-w14062 # Promote 'enumerator in switch of enum is not handled' to level 1 warning.
|
||||
-w14239 # Promote 'nonstandard extension used : 'token' : conversion from 'type' to 'type'' to level 1 warning.
|
||||
|
||||
# Promoted warnings to errors.
|
||||
-we4238 # Promote 'nonstandard extension used : class rvalue used as lvalue' to error.
|
||||
-we4239 # Promote 'nonstandard extension used : 'token' : conversion from 'type' to 'type'' to error.
|
||||
)
|
||||
|
||||
# Enable warnings
|
||||
|
Loading…
x
Reference in New Issue
Block a user