Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #7260

Closed (moved)
(moved)
Open
Created Oct 30, 2012 by Trac@tracbot

MinGW64 & -Werror -Werror

Patch1(MinGW64.patch) build on MinGW64(solved 2 errors):

ERROR1: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/common -ggdb3 -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector -fwrapv --param ssp-buffer-size=1 -Wall -fno-strict-aliasing -MT procmon.o -MD -MP -MF .deps/procmon.Tpo -c -o procmon.o procmon.c procmon.c:30:13: error: conflicting types for 'pid_t' In file included from torint.h:20:0, from compat.h:10, from procmon.h:12, from procmon.c:9: C:\MinGW\bin../lib/gcc/x86_64-w64-mingw32/4.7.0/../../../../x86_64-w64-mingw32/include/sys/types.h:68:16: note: previous declaration of 'pid_t' was here

TODO1: Please Test on MSVC64.

ERROR2: Oct 30 09:44:52.000 [err] tor_asprintf(): Bug: Internal error in asprintf Oct 30 09:44:52.000 [err] tor_asprintf(): Bug: compat.c:405: tor_asprintf: Assertion 0 failed; aborting. compat.c:405 tor_asprintf: Assertion 0 failed; aborting.

TODO2: Please Test on MinGW32.

Patch2(Werror.patch) Eliminate ALL Warnings: I have test Werror.patch on Linux_x86_64_2.6.18 & MinGW64 & OpenBSD_5.1_amd64. configure is derive from configure.in, So not included in this patch, Please generate by yourself(run autoconf before your configure).

Trac:
Username: yayooo

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking