[LLVMbugs] [Bug 11336] vargs macro dererencing a incomplete structure
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Nov 8 14:44:30 PST 2011
http://llvm.org/bugs/show_bug.cgi?id=11336
Eli Friedman <sharparrow1 at yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
--- Comment #3 from Eli Friedman <sharparrow1 at yahoo.com> 2011-11-08 16:44:30 CST ---
Trunk gives:
<stdin>:10:14: error: second argument to 'va_arg' is of incomplete type 'struct
S'
va_arg(ap, struct S);
~~~~~~~~~~~^~~~~~~~~
/Volumes/storage/llvmbin/Release+Asserts/bin/../lib/clang/3.1/include/stdarg.h:35:50:
note: expanded from macro 'va_arg'
#define va_arg(ap, type) __builtin_va_arg(ap, type)
^
<stdin>:3:8: note: forward declaration of 'struct S'
struct S;
^
1 error generated.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list