[lldb-dev] include stdarg.h via va_arg

Dragos Tatulea dragos.tatulea at gmail.com
Mon Jan 9 06:57:15 PST 2012


On Mon, Jan 9, 2012 at 4:55 PM, Dragos Tatulea <dragos.tatulea at gmail.com> wrote:
> Self explanatory I guess... Fixes the Linux build for me.
>
Forgot to put in the compile error msg:
/w/llvm/tools/lldb/source/Host/common/Host.cpp:235:1: error: prototype
for ‘void lldb_private::Host::SystemLog(lldb_private::Host::SystemLogType,
const char*, __va_list_tag*)’ does not match any in class
‘lldb_private::Host’
/w/llvm/tools/lldb/source/Host/common/../../../include/lldb/Host/Host.h:130:5:
error: candidates are: static void
lldb_private::Host::SystemLog(lldb_private::Host::SystemLogType, const
char*, int)
/w/llvm/tools/lldb/source/Host/common/../../../include/lldb/Host/Host.h:127:5:
error:                 static void
lldb_private::Host::SystemLog(lldb_private::Host::SystemLogType, const
char*, ...)

Thanks,
Dragos




More information about the lldb-dev mailing list