[GCC-XML] A one-liner patch

Brad King brad.king at kitware.com
Wed Jun 22 10:12:49 EDT 2011


On 06/22/2011 04:13 AM, Poste wrote:
> /usr/include/bits/fcntl2.h:44: error: '__builtin_va_arg_pack_len' was not declared in this scope
> 
> I tried to solve it adding this single dummy declaration "int __builtin_va_arg_pack_len();"
> into /usr/share/gccxml-0.9/GCC/4.5/gccxml_builtins.h and it seems to make it working again.

The fix is correct.  It was committed upstream almost a year ago:

  http://www.gccxml.org/Bug/view.php?id=10986

-Brad



More information about the gccxml mailing list