[tor-bugs] #5704 [Tor Client]: tor 0.2.3.14-alpha doesn't build with --enable-gcc-warnings on Windows
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Mon Apr 30 15:35:18 UTC 2012
#5704: tor 0.2.3.14-alpha doesn't build with --enable-gcc-warnings on Windows
------------------------+---------------------------------------------------
Reporter: erinn | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Tor Client | Version:
Keywords: | Parent:
Points: | Actualpoints:
------------------------+---------------------------------------------------
Here's the relevant portion from the build log:
{{{
mv -f .deps/address.Tpo .deps/address.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/common -I/c/Users/erinn
/build-scri
pts.git/osx-bundles/build-alpha/lib -I/c/Users/erinn/build-scripts.git
/osx-bundl
es/build-alpha/lib -I/c/Users/erinn/build-scripts.git/osx-bundles/build-
alpha/li
b -O -g -I/c/Users/erinn/build-scripts.git/osx-bundles/build-
alpha/include -Wal
l -fno-strict-aliasing -W -Wfloat-equal -Wundef -Wpointer-arith -Wstrict-
prototy
pes -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wchar-
subscripts -Wc
omment -Wformat=2 -Wwrite-strings -Wmissing-declarations -Wredundant-decls
-Wnes
ted-externs -Wbad-function-cast -Wswitch-enum -Werror -Winit-self
-Wmissing-fiel
d-initializers -Wdeclaration-after-statement -Wold-style-definition
-Waddress -W
missing-noreturn -Wstrict-overflow=1 -Wnormalized=id -Woverride-init
-Wextra -Wa
rray-bounds -MT compat.o -MD -MP -MF .deps/compat.Tpo -c -o compat.o
compat.c
cc1.exe: warnings being treated as errors
compat.c:1672:1: error: function declaration isn't a prototype
compat.c:1672:15: error: redundant redeclaration of '__p__environ'
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/stdlib.h:149:51:
note:
previous declaration of '__p__environ' was here
make[4]: *** [compat.o] Error 1
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/5704>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list