Skip to content

Update zklua.c#20

Open
zhangskd wants to merge 1 commit intoforhappy:masterfrom
zhangskd:master
Open

Update zklua.c#20
zhangskd wants to merge 1 commit intoforhappy:masterfrom
zhangskd:master

Conversation

@zhangskd
Copy link

Remove unexpected character '_', which leading to compile error below:

gcc -c pkg-config --cflags lua -fPIC -O2 -std=gnu99 zklua.c
In file included from /usr/local/include/lua.h:13,
from zklua.h:24,
from zklua.c:29:
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/include/stddef.h:149: error: expected '=', ',', ';', 'asm' or 'attribute' before 'typedef'

Remove  unexpected character '_', which leading to compile error below:

gcc -c `pkg-config --cflags lua` -fPIC -O2 -std=gnu99  zklua.c
In file included from /usr/local/include/lua.h:13,
                 from zklua.h:24,
                 from zklua.c:29:
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/include/stddef.h:149: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant