[lldb-dev] include stdarg.h via va_arg
Mark Peek
mark at peek.org
Mon Jan 9 07:59:22 PST 2012
On 1/9/12 6:57 AM, Dragos Tatulea wrote:
> 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*, ...)
Odd...I'm not seeing this error with a clean Linux build on my system. I'm
using clang 2.9 to compile everything. What compiler/version are you using?
Mark
More information about the lldb-dev
mailing list