Artifacts Associated With Ticket 927411ffffffffff
Ticket change [f6c2d7ddbd] (rid 130353) by vincentdarley on 2004-04-01 11:04:00:
- assignee initialized to: "mdejong"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Trying to compile tclvfs on Windows against the latest cvs head throws these errors: ../../cvs-tcl/generic\tclIntDecls.h(702) : error C2143: syntax error : missing ' )' before '*' ../../cvs-tcl/generic\tclIntDecls.h(702) : error C2143: syntax error : missing ' {' before '*' ../../cvs-tcl/generic\tclIntDecls.h(702) : error C2059: syntax error : 'type' ../../cvs-tcl/generic\tclIntDecls.h(702) : error C2059: syntax error : ')' ../../cvs-tcl/generic\tclIntDecls.h(1115) : error C2143: syntax error : missing ')' before '*' ../../cvs-tcl/generic\tclIntDecls.h(1115) : error C2143: syntax error : missing ';' before '*' ../../cvs-tcl/generic\tclIntDecls.h(1115) : error C2059: syntax error : '*' ../../cvs-tcl/generic\tclIntDecls.h(1115) : error C2059: syntax error : ')' ../../cvs-tcl/generic\tclIntDecls.h(1164) : error C2059: syntax error : '}' ../../cvs-tcl/generic\tclIntDecls.h(1169) : error C2143: syntax error : missing '{' before '*' C:\Progra~1\devstudio\vc\include\time.h(154) : warning C4142: benign redefinitio n of type C:\Progra~1\devstudio\vc\include\time.h(154) : error C2372: 'time' : redefinitio n; different types of indirection ..\generic\vfs.c(963) : error C2223: left of '->tclInExit' must point to struct/ union This appears to be due to vfs.c doing this: #include <tcl.h> /* Required to access the 'stat' structure fields */ #include "tclPort.h" If one adds a #include "tclInt.h" in between those two includes, then the compilation proceeds ok. At the least this behaviour change should be documented in the ChangeLog. - foundin initialized to: "obsolete: 8.5a2"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "vincentdarley"
- subsystem initialized to: "53. Configuration and Build Tools"
- title initialized to: "tclPort.h throws errors"
- type initialized to: "Bug"
Ticket change [541c5d7a1d] (rid 93882) by dgp on 2004-04-02 00:11:51:
- icomment:
Logged In: YES user_id=80530 can you check whether the patch attached to Feature Request 922727 corrects this? (or makes it worse?)
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [6827466bf5] (rid 103016) by dgp on 2004-04-07 04:29:06:
- assignee changed to: "dgp"
Ticket change [d554a519ee] (rid 123601) by dgp on 2004-04-07 05:40:44:
- assignee changed to: "vincentdarley"
- closedate changed to: "2004-04-06T22:40:44"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 please check the HEAD again. Patch 922727 may have corrected this.
- login: "dgp"
- mimetype: "text/plain"
- status changed to: "Pending"
- username: "dgp"
Ticket change [a6359b4972] (rid 98559) by vincentdarley on 2004-04-07 05:49:03:
- assignee changed to: "dgp"
- icomment:
Logged In: YES user_id=32170 vfs.c still fails, but now with TclInExit not being defined. I guess before that function was accessed through tclPort.h somehow. Finally, with the previous fix to vfs.c the code still works. So, in some sense Tcl has still broken backwards compatibility (but only for internal interfaces), and a simple one-line source fix solves the issue. (sorry for not checking this earlier -- I've been v. busy)
- login: "vincentdarley"
- mimetype: "text/plain"
- status changed to: "Open"
- username: "vincentdarley"
Ticket change [1198fd5e1d] (rid 95175) by dgp on 2004-04-07 20:44:13:
- closedate changed to: "2004-04-07T13:44:13"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 Yes, TclInExit() is in the internal stubs table, so its declaration is best access via #include "tclInt.h" Using that instead of #include "tclPort.h" should cover compatibility with both the HEAD and older Tcl releases. Closing. Re-open if there are problems with that answer. Thanks for testing.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dgp"