[PATCH 3/3] scanner: use printf format attributes for desc_dump

2012-10-14 Thread Olivier Blin
--- src/scanner.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/scanner.c b/src/scanner.c index c09a88f..58f5dc3 100644 --- a/src/scanner.c +++ b/src/scanner.c @@ -158,6 +158,9 @@ static const char *indent(int n) } static void +desc_dump(char *desc, const char *fmt, ...) __attrib

[PATCH 2/3] scanner: fix writing i586 descriptions

2012-10-14 Thread Olivier Blin
This moves desc as first argument of desc_dump(). Description writing was broken on i586 because desc_dump() used va_arg() after a vsnprintf() call to find the last argument. But after calling a function with a va_arg argument, this arguments is undefined. --- src/scanner.c | 39 ++

[PATCH 1/3] scanner: remove useless desc_dump arguments

2012-10-14 Thread Olivier Blin
This are remnant from the desc_dump generalization in commit 375cb418. --- src/scanner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scanner.c b/src/scanner.c index 0fc26e7..9696107 100644 --- a/src/scanner.c +++ b/src/scanner.c @@ -775,7 +775,7 @@ emit_structs(struct w

wayland scanner writes incorrect descriptions on i586

2012-10-14 Thread Olivier Blin
Hi, On i586, wayland scanner writes incorrect descriptions in the header files, see at the end of this mail for the first few differences between the x86_64 header and the i586 one. On i586, desc_dump() does not use the description passed after the vsnprintf() parameters, but unrelated values. I

Re: Building Wayland on Ubuntu

2012-10-14 Thread Simos Xenitellis
On Sun, Oct 14, 2012 at 8:31 PM, Simos Xenitellis wrote: > On Sun, Oct 14, 2012 at 8:21 PM, Rob Bradford > wrote: >> On 14 October 2012 14:25, Eunchul Kim wrote: >>> Thank's Simos. I upgraded my Ubuntu system. so, late :) >>> I finished Mesa building and libxkbcommon building. >>> but I got ano

Re: Building Wayland on Ubuntu

2012-10-14 Thread Simos Xenitellis
On Sun, Oct 14, 2012 at 8:21 PM, Rob Bradford wrote: > On 14 October 2012 14:25, Eunchul Kim wrote: >> Thank's Simos. I upgraded my Ubuntu system. so, late :) >> I finished Mesa building and libxkbcommon building. >> but I got another error at pixman building. like this. >> > > Your Ubuntu is too

Re: Building Wayland on Ubuntu

2012-10-14 Thread Rob Bradford
On 14 October 2012 14:25, Eunchul Kim wrote: > Thank's Simos. I upgraded my Ubuntu system. so, late :) > I finished Mesa building and libxkbcommon building. > but I got another error at pixman building. like this. > Your Ubuntu is too old to build Pixman master: https://bugs.freedesktop.org/show_

Re: Building Wayland on Ubuntu

2012-10-14 Thread Eunchul Kim
Thank's Simos. I upgraded my Ubuntu system. so, late :) I finished Mesa building and libxkbcommon building. but I got another error at pixman building. like this. Can you help me one more time about this ? If i need some package installation about this one, please give any information to me. CC