MinGW64 & -Werror -Werror
- Truncate descriptions
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
- Show labels
- Show closed items