On 16 June 2011 19:37, Marcin Juszkiewicz <marcin.juszkiew...@linaro.org> wrote: > On czw, 2011-06-16 at 20:31 +0200, Marcin Juszkiewicz wrote: >> There is a ftbfs on armel bug for postler: >> https://bugs.launchpad.net/ubuntu/+source/postler/+bug/791319 >> >> Attached test compiles fine on amd64 but fails on armel: >> >> 20:16 hrw@malenstwo:postler-0.1.1$ gcc _build_/.conf_check_0/test.c >> _build_/.conf_check_0/test.c: In function ‘main’: >> _build_/.conf_check_0/test.c:5:1: error: incompatible type for argument >> 3 of ‘vasprintf’ >> /usr/include/stdio.h:396:12: note: expected ‘__gnuc_va_list’ but >> argument is of type ‘char *’ >> >> Can someone explain me why this happens? >> >> Ubuntu armel and armhf cross compilers, CSL 2011.03-42 have same >> problem. > > Compiled fine with gcc 4.3 from Poky toolchain. Same with Emdebian > gcc-4.3 cross compiler.
Looks more to me like the old compilers are the ones with the problems and the new one is correctly throwing an error - it's supposed to have a va_list there - why would it take a string? Dave _______________________________________________ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain