[Xcb] compiling

Rémi Denis-Courmont remi at remlab.net
Mon Jul 11 13:18:48 PDT 2011


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:

> What should I do ?

-- 
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis


More information about the Xcb mailing list