chaoslawful/lua-nginx-module — Issue #80: compilation error for gcc v4.3.4
Author: bigplum
Created: 2012-01-29 09:13:29+00:00
State: open

make -f objs/Makefile
make[1]: Entering directory `/root/nppkg/nginx_src/nginx-1.1.13'
gcc -c -pipe -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-function -Wunused-variable -Wunused-value -Werror -g -DNDK_SET_VAR -I src/core -I src/event -I src/event/modules -I src/os/unix -I ./addon/ngx_devel_kit-833abe6/objs -I objs/addon/ndk -I ./addon/nginx-http-nphase-module/src -I /usr/local/include/luajit-2.0 -I objs -I src/http -I src/http/modules -I ./addon/ngx_devel_kit-833abe6/src -I src/mail \
-o objs/addon/src/ngx_http_lua_module.o \
./addon/lua-nginx-module-dc37474/src/ngx_http_lua_module.c
cc1: warnings being treated as errors
./addon/lua-nginx-module-dc37474/src/ngx_http_lua_module.c: In function â€˜ngx_http_lua_initâ€™:
./addon/lua-nginx-module-dc37474/src/ngx_http_lua_module.c:251: error: call to function â€˜ngx_http_lua_header_filter_initâ€™ without a real prototype
./addon/lua-nginx-module-dc37474/src/ngx_http_lua_headerfilterby.h:13: note: â€˜ngx_http_lua_header_filter_initâ€™ was declared here

hadoop3:~/nppkg/nginx_src/nginx-1.1.13 # gcc -v
Using built-in specs.
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.3 --enable-linux-futex --without-system-libunwind --with-cpu=generic --build=x86_64-suse-linux
Thread model: posix
gcc version 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux)