[Lldb-commits] [lldb] r349977 - [cmake] Suppress 'warning C4201: nonstandard extension used: nameless struct/union' on Windows
Stella Stamenova via lldb-commits
lldb-commits at lists.llvm.org
Fri Dec 21 15:59:24 PST 2018
Author: stella.stamenova
Date: Fri Dec 21 15:59:24 2018
New Revision: 349977
URL: http://llvm.org/viewvc/llvm-project?rev=349977&view=rev
Log:
[cmake] Suppress 'warning C4201: nonstandard extension used: nameless struct/union' on Windows
This warning comes up in the ObjC language plugin because of the use of nameless structs. This change suppresses the warning.
Modified:
lldb/trunk/cmake/modules/LLDBConfig.cmake
Modified: lldb/trunk/cmake/modules/LLDBConfig.cmake
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/cmake/modules/LLDBConfig.cmake?rev=349977&r1=349976&r2=349977&view=diff
==============================================================================
--- lldb/trunk/cmake/modules/LLDBConfig.cmake (original)
+++ lldb/trunk/cmake/modules/LLDBConfig.cmake Fri Dec 21 15:59:24 2018
@@ -243,6 +243,7 @@ if( MSVC )
-wd4018 # Suppress 'warning C4018: '>=' : signed/unsigned mismatch'
-wd4068 # Suppress 'warning C4068: unknown pragma'
-wd4150 # Suppress 'warning C4150: deletion of pointer to incomplete type'
+ -wd4201 # Suppress 'warning C4201: nonstandard extension used: nameless struct/union'
-wd4251 # Suppress 'warning C4251: T must have dll-interface to be used by clients of class U.'
-wd4521 # Suppress 'warning C4521: 'type' : multiple copy constructors specified'
-wd4530 # Suppress 'warning C4530: C++ exception handler used, but unwind semantics are not enabled.'
More information about the lldb-commits
mailing list