[Xcb] compiling
Adam Majewski
adammaj1 at o2.pl
Wed Jul 20 09:44:54 PDT 2011
Dnia Mon, 11 Jul 2011 23:18:48 +0300, Rémi Denis-Courmont napisał(a):
> Le lundi 11 juillet 2011 19:25:35 Adam Majewski, vous avez écrit :
>> After :
>> gcc -Wall e.c -lxcb
>> I get :
>>
>> e.c: In function ‘print_modifiers’: e.c:17: warning: initialization
>> from incompatible pointer type e.c:17: error: ‘for’ loop initial
>> declarations are only allowed in C99 mode
>> e.c:17: note: use option -std=c99 or -std=gnu99 to compile your code
>
> I think that error message answers this your question:
Does it mean that example from documentation is wrong ?
Adam
More information about the Xcb
mailing list