Artifacts Associated With Ticket 1456373
Ticket change [941a1aa645] (rid 105926) by mic42 on 2006-03-22 19:23:44:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Testing the tcl8.4a4 rc1 tarballs i stumbled across the following bug: after doing: mkdir build cd build ../win/configure make test gcc -c -O2 -fomit-frame-pointer -Wall -Wconversion -I"../win/../generic" -DTCL_TOMMATH -DMP_PREC=4 -I"../win/../libtommath" -I"../win" -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_NO_SEH=1 -DEXCEPTION_DISPOSITION=int -DHAVE_WINNT_IGNORE_VOID=1 -DHAVE_ALLOCA_GCC_INLINE=1 -DHAVE_CAST_TO_UNION=1 -DTCL_CFGVAL_ENCODING=\"cp1252\" -DTCL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1 "../win/tclWinTest.c" -o tclWinTest.o ../win/tclWinTest.c: In function `TclplatformtestInit': ../win/tclWinTest.c:71: warning: passing arg 3 of `Tcl_CreateCommand' from incompatible pointer type ../win/tclWinTest.c: In function `TesteventloopCmd': ../win/tclWinTest.c:148: warning: passing arg 1 of `PostQuitMessage' as signed due to prototype ../win/tclWinTest.c: In function `TestplatformChmod': ../win/tclWinTest.c:505: warning: missing braces around initializer ../win/tclWinTest.c:505: warning: (near initialization for `userSidAuthority.Value') ../win/tclWinTest.c:657: warning: passing arg 3 of pointer to function from incompatible pointer type ../win/tclWinTest.c:667: warning: passing arg 1 of pointer to function with different width due to prototype ../win/tclWinTest.c:668: warning: passing arg 3 of pointer to function with different width due to prototype ../win/tclWinTest.c:673: warning: passing arg 1 of pointer to function from incompatible pointer type ../win/tclWinTest.c:703: warning: dereferencing type-punned pointer will break strict-aliasing rules ../win/tclWinTest.c:710: error: `INHERITED_ACE' undeclared (first use in this function) ../win/tclWinTest.c:710: error: (Each undeclared identifier is reported only once ../win/tclWinTest.c:710: error: for each function it appears in.) ../win/tclWinTest.c:535: warning: unused variable `userSidLen' ../win/tclWinTest.c:537: warning: unused variable `userDomainLen' ../win/tclWinTest.c: In function `TestchmodCmd': ../win/tclWinTest.c:803: warning: passing arg 2 of `TestplatformChmod' as signed due to prototype make: *** [tclWinTest.o] Error 1 System information: Running under msys/mingw (fresh install) $ gcc --version gcc.exe (GCC) 3.4.2 (mingw-special) Windows XP SP 2
- foundin initialized to: "obsolete: 8.5a4"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "mic42"
- subsystem initialized to: "53. Configuration and Build Tools"
- title initialized to:
tcl 8.5a4 rc 1 fails to run 'make test' under windows/mingw
- type initialized to: "Bug"
Ticket change [6e43612b4c] (rid 100115) by mic42 on 2006-03-23 02:24:52:
- assignee changed to: "vincentdarley"
- priority changed to: "9 Immediate"
Ticket change [3645e1f5bc] (rid 107083) by patthoyts on 2006-03-23 08:20:11:
- icomment:
Logged In: YES user_id=202636 We need: // MinGW 3.4.2 does not define this. #ifndef INHERITED_ACE #define INHERITED_ACE (0x10) #endif // INHERITED_ACE and the code needs some general cleaning up.
- login: "patthoyts"
- mimetype: "text/plain"
- username: "patthoyts"
- icomment:
Ticket change [051d7245ca] (rid 89000) by mic42 on 2006-03-28 00:51:06:
- icomment:
Logged In: YES user_id=302287 Adding pats #define to tclwintest.c enables make test again.
- login: "mic42"
- mimetype: "text/plain"
- username: "mic42"
- icomment:
Ticket change [17713e3633] (rid 122496) by patthoyts on 2006-03-28 06:29:26:
- closedate changed to: "2006-03-27T23:29:26"
- closer changed to: "patthoyts"
- icomment:
Logged In: YES user_id=202636 Added code to handle the missing define and cleaned up some gcc warnings. Committed to core-8-4-branch and HEAD.
- login: "patthoyts"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "patthoyts"
Ticket change [d537ecb7b5] (rid 123582) by dgp on 2006-03-28 22:45:23:
- icomment:
Logged In: YES user_id=80530 thanks for the fixes. A few suggestions: Can the conditional #define of INHERITED_ACE be moved to tclWinPort.h instead? Seems like that's where issues of porting among different compilers belong. On the HEAD, can we drop the #define USE_COMPAT_CONST and any use of CONST84 ? For a file distributed as part of the Tcl 8.5 codebase, I don't see the point of continuing to support source compatibility with Tcl 8.3 header files.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [514027bf98] (rid 126107) by dkf on 2006-03-29 04:50:14:
- icomment:
Logged In: YES user_id=79902 FWIW, I'm working to squelch VOID from all non-public files (i.e. I'm leaving tcl.h and tcl.decls alone) and can tackle CONST at the same time. We've certainly required full ANSI support throughout 8.4 anyway, so we might as well make use of it...
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [0d08754517] (rid 114289) by dgp on 2006-03-29 12:19:13:
- icomment:
Logged In: YES user_id=80530 A global CONST -> const is something to consider; let's chat about it, but let's keep that separate from this report.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment: