-
Notifications
You must be signed in to change notification settings - Fork 224
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
安装失败 #33
Comments
http-parser的编译同时打开了-Wall -Wextra -Werror。 把http-parser库里的makefile中的 -Werror 去掉就行
|
感谢,我已经放弃使用这个工具了 |
我遇上了同样的问题,但是每次用vi 把Makefile 里的-Werror 去掉后,一跑 ./configure, 那-Werror 又回到 Makefile 里面。 |
@[farmountain] 你删错地方了,要vim ./3rdparty/http-parser-2.1.zip 中的Makefile。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
./configure
报错内容
Is OSX: NO
st-1.9t is ok.
build http-parser-2.1
cc -I. -DHTTP_PARSER_STRICT=1 -Wall -Wextra -Werror -O0 -g -c http_parser.c
http_parser.c: In function ‘http_parser_parse_url’:
http_parser.c:2093:18: error: this statement may fall through [-Werror=implicit-fallthrough=]
2093 | found_at = 1;
| ~~~~~~~~~^~~
http_parser.c:2096:7: note: here
2096 | case s_req_server:
| ^~~~
cc1: all warnings being treated as errors
make: *** [Makefile:35:http_parser.o] 错误 1
build http-parser-2.1 failed, ret=2
The text was updated successfully, but these errors were encountered: