[llvm-commits] [llvm] r158176 - /llvm/trunk/cmake/modules/HandleLLVMOptions.cmake

Michael J. Spencer bigcheesegs at gmail.com
Thu Jun 7 16:33:56 PDT 2012


Author: mspencer
Date: Thu Jun  7 18:33:56 2012
New Revision: 158176

URL: http://llvm.org/viewvc/llvm-project?rev=158176&view=rev
Log:
[CMake] Promote extension warnings to errors.

Modified:
    llvm/trunk/cmake/modules/HandleLLVMOptions.cmake

Modified: llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/HandleLLVMOptions.cmake?rev=158176&r1=158175&r2=158176&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/HandleLLVMOptions.cmake (original)
+++ llvm/trunk/cmake/modules/HandleLLVMOptions.cmake Thu Jun  7 18:33:56 2012
@@ -171,7 +171,10 @@
 
     # 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





More information about the llvm-commits mailing list