mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-04 18:38:37 +00:00
[CMake] Promote extension warnings to errors.
llvm-svn: 158176
This commit is contained in:
parent
f51a6d5fae
commit
6f5ee07731
@ -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