﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
1259	nginx build fails when using gcc7 compiler	Dariusz Bogdanski		"Nginx build fails when using gcc7 compiler. I have experienced it on Raspberry Pi running rasbian but given nature of the problem results will be the same on other platforms when gcc7 is used.

Example make error: 



src/core/ngx_murmurhash.c:37:11: error: this statement may fall through [-Werror=implicit-fallthrough
         h ^= data[2] << 16;
         ~~^~~~~~~~~~~~~~~~
src/core/ngx_murmurhash.c:38:5: note: here
     case 2:
     ^~~~
src/core/ngx_murmurhash.c:39:11: error: this statement may fall through [-Werror=implicit-fallthrough=]
         h ^= data[1] << 8;
         ~~^~~~~~~~~~~~~~~
src/core/ngx_murmurhash.c:40:5: note: here
     case 1:
     ^~~~ ==

Reason for compilation errors like these is that GCC 7 added ([https://gcc.gnu.org/gcc-7/changes.html]) a new -Wimplicit-fallthrough which generates a message for case statements that implicitly fallthrough to the next case.

"	defect	closed	minor		other	1.9.x	fixed			Linux dbrpi01 4.9.24-v7+ #991 SMP Sat Apr 22 20:26:57 BST 2017 armv7l GNU/Linux	N/A
