[Mesa-dev] [PATCH kmscube] Makefile.am: Add -std=c99 to CFLAGS

2017-03-21 Thread Fabio Estevam
Currently the following build errors are seen on mips64el: cube-tex.c: In function 'get_fd_rgba': cube-tex.c:230:2: error: 'for' loop initial declarations are only allowed in C99 mode for (uint32_t i = 0; i < texh; i++) { ^ cube-tex.c:230:2: note: use option -std=c99 or -std=gnu99 to compile

Re: [Mesa-dev] [PATCH kmscube] Makefile.am: Add -std=c99 to CFLAGS

2017-03-21 Thread Eric Engestrom
On Tuesday, 2017-03-21 10:04:13 -0300, Fabio Estevam wrote: > Currently the following build errors are seen on mips64el: > > cube-tex.c: In function 'get_fd_rgba': > cube-tex.c:230:2: error: 'for' loop initial declarations are only allowed in > C99 mode > for (uint32_t i = 0; i < texh; i++) { >