lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Tue, Dec 31, 2013 at 5:32 PM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
>
> $ sudo luarocks install luacurl
> ...
> gcc -O2 -fPIC -I/usr/local/include -c luacurl.c -o luacurl.o -I/usr/include
> luacurl.c:813:30: error: array type has incomplete element type
> luacurl.c:823:30: error: array type has incomplete element type
> ...
Greetings,

Adding '-std=c99' to the CFLAGS could trick GCC to compile it.

  Eduardo