Skip to content

Commit ded8aa6

Browse files
committed
[lldb] Silence warning with latest MSVC
Fixes several of these: ``` [3370/3822] Building CXX object tools\lldb\source\Plugins\Process\U...lldbPluginProcessUtility.dir\NativeRegisterContextDBReg_x86.cpp.ob C:\git\llvm-project\lldb\source\Plugins\Process\Utility\NativeRegisterContextDBReg_x86.h(23): warning C4589: Constructor of abstract class 'lldb_private::NativeRegisterContextDBReg_x86' ignores initializer for virtual base class 'lldb_private::NativeRegisterContextRegisterInfo' C:\git\llvm-project\lldb\source\Plugins\Process\Utility\NativeRegisterContextDBReg_x86.h(23): note: virtual base classes are only initialized by the most-derived type ```
1 parent bafdaa1 commit ded8aa6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lldb/cmake/modules/LLDBConfig.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ if( MSVC )
215215
-wd4251 # Suppress 'warning C4251: T must have dll-interface to be used by clients of class U.'
216216
-wd4521 # Suppress 'warning C4521: 'type' : multiple copy constructors specified'
217217
-wd4530 # Suppress 'warning C4530: C++ exception handler used, but unwind semantics are not enabled.'
218+
-wd4589 # Suppress 'warning C4589: Constructor of abstract class 'lldb_private::NativeRegisterContextDBReg_x86' ignores initializer for virtual base class 'lldb_private::NativeRegisterContextRegisterInfo''
218219
)
219220
endif()
220221

0 commit comments

Comments
 (0)