Author: Nerixyz
Date: 2026-08-14T22:46:43+02:00
New Revision: 048fb2887d4ab0f4c6e71667337bba70704908b4

URL: 
https://github.com/llvm/llvm-project/commit/048fb2887d4ab0f4c6e71667337bba70704908b4
DIFF: 
https://github.com/llvm/llvm-project/commit/048fb2887d4ab0f4c6e71667337bba70704908b4.diff

LOG: [lldb] Disable C4250 warning on MSVC (#215304)

When compiling LLDB with MSVC, there are a lot of
[C4250](https://learn.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-2-c4250)
warnings (A inherits B::func via dominance). One for every subclass of
`ScriptedPythonInterface`. This PR disables the warning on MSVC.

Added: 
    

Modified: 
    lldb/cmake/modules/LLDBConfig.cmake

Removed: 
    


################################################################################
diff  --git a/lldb/cmake/modules/LLDBConfig.cmake 
b/lldb/cmake/modules/LLDBConfig.cmake
index 73eb0ecff41d5..1cb20f5234bed 100644
--- a/lldb/cmake/modules/LLDBConfig.cmake
+++ b/lldb/cmake/modules/LLDBConfig.cmake
@@ -318,6 +318,7 @@ if( MSVC )
     -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'
+    -wd4250 # Suppress 'warning C4250: 'class1' : inherits 'class2::member' 
via dominance
     -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.'


        
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to