Warnings in lldb-mi

Hi Deepak, Colin,

A long time ago when I started trying to clean up the warnings for the Windows build, there were a few that I left alone because they seemed non-trivial, or at the very least required some specific knowledge about lldb-mi.

Is there any chance you guys wouldn’t mind taking a look at them and trying to fix them? I would love to get to a warning free build.

[1145/1146] Building CXX object tools\lldb\tools\driver\CMakeFiles\lldb.dir\Platform.cpp.obj
d:\src\llvm\tools\lldb\tools\driver\Platform.h(48) : warning C4005: ‘SIG_DFL’ : macro redefinition
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\signal.h(50) : see previous definition of ‘SIG_DFL’
d:\src\llvm\tools\lldb\tools\driver\Platform.h(50) : warning C4005: ‘SIG_IGN’ : macro redefinition
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\signal.h(51) : see previous definition of ‘SIG_IGN’
d:\src\llvm\tools\lldb\tools\driver\Platform.h(84) : warning C4273: ‘signal’ : inconsistent dll linkage
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\signal.h(94) : see previous definition of ‘signal’
[1145/1146] Building CXX object tools\lldb\tools\driver\CMakeFiles\lldb.dir\Driver.cpp.obj
d:\src\llvm\tools\lldb\tools\driver\Platform.h(48) : warning C4005: ‘SIG_DFL’ : macro redefinition
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\signal.h(50) : see previous definition of ‘SIG_DFL’
d:\src\llvm\tools\lldb\tools\driver\Platform.h(50) : warning C4005: ‘SIG_IGN’ : macro redefinition
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\signal.h(51) : see previous definition of ‘SIG_IGN’
d:\src\llvm\tools\lldb\tools\driver\Platform.h(84) : warning C4273: ‘signal’ : inconsistent dll linkage
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\signal.h(94) : see previous definition of ‘signal’

Hi Zachary,

Sure, I’ll take a look and try to fix them.

Thanks,
Deepak