[lldb-dev] strncmp() compiler issue in source/Plugins/SymbolFile/DWARF/DWARFDefines.cpp

Benjamin Kramer benny.kra at googlemail.com
Wed Jul 7 02:21:07 PDT 2010


On 07.07.2010, at 03:56, Pawel Wodnicki wrote:

> Hi,
> 
> On ubuntu gcc-4.4.3 has an issue with strncmp()  in 
> source/Plugins/SymbolFile/DWARFDWARFDefines.cpp.
> The quick fix is to  add #include <string.h> in addtion to the  #include 
> <string> .
> Better way might be to avoid the strncmp() and use string::compare()

Thanks, applied as r107763.



More information about the lldb-dev mailing list