Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vs2015编译失败 #34

Open
wjlin opened this issue Jun 9, 2020 · 1 comment
Open

vs2015编译失败 #34

wjlin opened this issue Jun 9, 2020 · 1 comment

Comments

@wjlin
Copy link

wjlin commented Jun 9, 2020

Severity Code Description Project File Line Suppression State
Error C2059 syntax error: 'type' levent ..\levent\deps\libev\ev.c 1946

static void * noinline ecb_cold
array_realloc (int elem, void *base, int *cur, int cnt)
改成
noinline static void * ecb_cold
array_realloc (int elem, void base, int cur, int cnt)
好像返回值是void
的时候__declspec (noinline)必须在 void
的前面

@xjdrew
Copy link
Owner

xjdrew commented Jul 9, 2020

这个时libev代码,可以试着给libev提个pr

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

No branches or pull requests

2 participants