[LLVMbugs] [Bug 2904] New: Error initializing va_list with another variable.
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Thu Oct 16 16:21:11 PDT 2008
http://llvm.org/bugs/show_bug.cgi?id=2904
Summary: Error initializing va_list with another variable.
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: parser
AssignedTo: unassignedbugs at nondot.org
ReportedBy: alexei.svitkine at gmail.com
CC: llvmbugs at cs.uiuc.edu
In a function:
void do_stuff(va_list arglist)
{
va_list temp_args= arglist;
....
}
clang gives an error:
error: initialization with "{...}" expected for array
va_list temp_args= arglist;
GCC and VC7 compile the code fine.
--
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