Disabled warning C4251 on MSVC builds.
authorTodd Fiala <todd.fiala@gmail.com>
Wed, 28 May 2014 17:58:29 +0000 (17:58 +0000)
committerTodd Fiala <todd.fiala@gmail.com>
Wed, 28 May 2014 17:58:29 +0000 (17:58 +0000)
See http://reviews.llvm.org/D3934 for more details.
This is only the CMakeLists.txt portion of that change.

Change by Zachary Turner.

llvm-svn: 209756

lldb/CMakeLists.txt

index a16af6f..f758362 100644 (file)
@@ -152,6 +152,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'
+    -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.'
   )