When gcc 3.2 is used to compile the attached program it incorrectly gives the error:
varargs.c: In function `my_printf':
varargs.c:14: incompatible types in assignment
gcc version 3.2
SuSE Linux 8.1 Beta
Linux Kernel 2.4.19
gcc -o varargs varargs.c
Responsible-Changed-Why: Likely knowledgable
State-Changed-Why: This is known behaviour becase va_list is internally an array - the program is not allowed to take address of va_list
Reopening to ...
To close as a dup of bug 14557.
*** This bug has been marked as a duplicate of 14557 ***