﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
201	cannot build with gcc 4.7.1 and -O2	Brent Garber	somebody	"
{{{
gcc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
		-o objs/src/http/ngx_http_core_module.o \
		src/http/ngx_http_core_module.c
src/http/ngx_http_core_module.c: In function ‘ngx_http_get_forwarded_addr’:
src/http/ngx_http_core_module.c:2779:13: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
cc1: all warnings being treated as errors
make[1]: *** [objs/src/http/ngx_http_core_module.o] Error 1
make[1]: Leaving directory `/usr/src/nginx-1.3.5'
make: *** [build] Error 2
make -f objs/Makefile install
make[1]: Entering directory `/usr/src/nginx-1.3.5'
gcc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
		-o objs/src/http/ngx_http_core_module.o \
		src/http/ngx_http_core_module.c
src/http/ngx_http_core_module.c: In function ‘ngx_http_get_forwarded_addr’:
src/http/ngx_http_core_module.c:2779:13: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
cc1: all warnings being treated as errors
make[1]: *** [objs/src/http/ngx_http_core_module.o] Error 1
make[1]: Leaving directory `/usr/src/nginx-1.3.5'
make: *** [install] Error 2
}}}

"	defect	closed	major		nginx-core	1.3.x	fixed			Linux 3.4.2-x86_64-linode25 #2 SMP Tue Jun 26 16:10:49 EDT 2012 x86_64 GNU/Linux	1.3.5
