Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #5704

Closed (moved)
Open
Opened Apr 30, 2012 by Erinn Clark@erinn

tor 0.2.3.14-alpha doesn't build with --enable-gcc-warnings on Windows

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
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
Tor: 0.2.3.x-final
Milestone
Tor: 0.2.3.x-final
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#5704