Bug#119132: gcc: compiler error on powerpc with va_list
On Sun, Nov 11, 2001 at 02:59:44PM +0100, Ivo Timmermans wrote:
> Package: gcc
> Version: 2:2.95.4-8
> Severity: serious
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> When compiling the next simple C code snippet on powerpc:
>
> #include <stdarg.h>
>
> int foo(int bar, ...)
> {
> va_list a, b;
>
> a = b;
> }
>
> gcc will fail:
>
> test2.c: In function `foo':
> test2.c:7: incompatible types in assignment
>
>
> Severity serious because it is holding up the build of gnutls for
> powerpc. As far as i can see powerpc is the only arch on which this
> fails (tried i386, sparc, arm, ia64, hppa).
I see you found the solution to this. For your reference, I think
S/390 has the same situation.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer
Reply to: