diff options
| author | Michael J. Spencer <bigcheesegs@gmail.com> | 2012-06-07 23:33:56 +0000 |
|---|---|---|
| committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2012-06-07 23:33:56 +0000 |
| commit | aeb59e1d0d95862f66cc1a393d55b8a430417d5f (patch) | |
| tree | 037b9ea2c705fc1e6e2489c1874c437cfac05ded | |
| parent | 2cdc8afccf10218189bc653bcd5ba368e2f9bdaa (diff) | |
| download | bcm5719-llvm-aeb59e1d0d95862f66cc1a393d55b8a430417d5f.tar.gz bcm5719-llvm-aeb59e1d0d95862f66cc1a393d55b8a430417d5f.zip | |
[CMake] Promote extension warnings to errors.
llvm-svn: 158176
| -rw-r--r-- | llvm/cmake/modules/HandleLLVMOptions.cmake | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/cmake/modules/HandleLLVMOptions.cmake b/llvm/cmake/modules/HandleLLVMOptions.cmake index 65bf63408f0..34d2d415d1b 100644 --- a/llvm/cmake/modules/HandleLLVMOptions.cmake +++ b/llvm/cmake/modules/HandleLLVMOptions.cmake @@ -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 |

