-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Disable -Werror for http parser. #1065
Copy link
Copy link
Closed
Labels
EnhancementImprovement or enhancement.Improvement or enhancement.TransByAITranslated by AI/GPT.Translated by AI/GPT.
Milestone
Description
I am getting this error when installing on ubuntu 17.10.
build http-parser-2.1
patching file Makefile
cc -I. -DHTTP_PARSER_STRICT=1 -Wall -Wextra -Werror -O0 -g -c http_parser.c
http_parser.c: In function ‘http_parser_parse_url’:'
This line is already in English and does not require translation.
http_parser.c:2093:18: error: this statement may fall through [-Werror=implicit-fallthrough=]
found_at = 1;
~~~~~~~~~^~~
http_parser.c:2096:7: note: here
case s_req_server:
^~~~
cc1: all warnings being treated as errors
Makefile:40: recipe for target 'http_parser.o' failed
make: *** [http_parser.o] Error 1
build http-parser-2.1 failed, ret=2
TRANS_BY_GPT3
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
EnhancementImprovement or enhancement.Improvement or enhancement.TransByAITranslated by AI/GPT.Translated by AI/GPT.