[lldb-dev] include stdarg.h via va_arg

dawn at burble.org dawn at burble.org
Tue Jan 10 16:54:12 PST 2012


I had to make this change to.  Sorry I forgot to submit a patch for it.

-Dawn

On Mon, Jan 09, 2012 at 07:59:22AM -0800, Mark Peek wrote:
> 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
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev



More information about the lldb-dev mailing list