Skip to content

Instantly share code, notes, and snippets.

@rphillips
Created January 31, 2012 21:09
Show Gist options
  • Save rphillips/1712928 to your computer and use it in GitHub Desktop.
Save rphillips/1712928 to your computer and use it in GitHub Desktop.
cc -std=c89 -g -Wall -Werror -c src/luvit_main.c -o build/luvit_main.o -Ideps/http-parser -Ideps/uv/include -Ideps/luajit/src -Ideps/yajl/src/api -Ideps/yajl/src -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHTTP_VERSION=\"v1.0-61-g4898606\" -DUV_VERSION=\"g2651273\" -DYAJL_VERSIONISH=\"2.0.4-1-g8b48967\" -DLUVIT_VERSION=\"0.1.5-92-g1ec995f\" -DLUAJIT_VERSION=\"v2.0.0-beta9-5-g248cf2f\"
In file included from deps/uv/include/uv.h:64,
from src/luvit_main.c:28:
deps/uv/include/uv-private/uv-unix.h:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uv_rwlock_t’
cc1: warnings being treated as errors
In file included from src/luvit_main.c:28:
deps/uv/include/uv.h:262: error: ‘struct addrinfo’ declared inside parameter list
deps/uv/include/uv.h:262: error: its scope is only this definition or declaration, which is probably not what you want
deps/uv/include/uv.h:1334: error: expected ‘)’ before ‘*’ token
deps/uv/include/uv.h:1335: error: expected ‘)’ before ‘*’ token
deps/uv/include/uv.h:1336: error: expected ‘)’ before ‘*’ token
deps/uv/include/uv.h:1337: error: expected ‘)’ before ‘*’ token
deps/uv/include/uv.h:1338: error: expected ‘)’ before ‘*’ token
deps/uv/include/uv.h:1339: error: expected ‘)’ before ‘*’ token
deps/uv/include/uv.h:1340: error: expected ‘)’ before ‘*’ token
deps/uv/include/uv.h:1341: error: expected ‘)’ before ‘*’ token
In file included from src/luvit_main.c:29:
src/luv.h:21: error: expected identifier or ‘(’ before ‘/’ token
src/luv.h:21: error: stray ‘#’ in program
In file included from src/luv.h:24,
from src/luvit_main.c:29:
src/utils.h:26:11: error: character constant too long for its type
In file included from src/luv.h:24,
from src/luvit_main.c:29:
src/utils.h:46: error: expected identifier or ‘(’ before ‘/’ token
src/luvit_main.c: In function ‘main’:
src/luvit_main.c:51: error: expected expression before ‘/’ token
make: *** [build/luvit_main.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment