Overview
Artifact ID: | 87d347e0d67d95cdcb863dbebd65abb0546c6215e5ef8866ef7330fa705c7bae |
---|---|
Ticket: | 6ade28ab79d99479e5f6125dd63072e002003187
Define "Tcl_Size" when compiling with Tcl = 8.7 |
User & Date: | xdelaruelle 2024-05-12 15:37:50 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
Hello, Commit f0385027e9ba256e adds definition of "Tcl_Size" type if compiling with Tcl <= 8.6. I wonder if this definition could also be defined if compiling with Tcl = 8.7. I build my code for test against last published version of Tcl9 and Tcl8.7. On Tcl8.7a5, it seems that Tcl_Size is not defined as I get the following error: envmodules.c: In function ‘Envmodules_GetFilesInDirectoryObjCmd’: envmodules.c:80:4: error: unknown type name ‘Tcl_Size’; did you mean ‘Tcl_Time’? 80 | Tcl_Size dirlen; | ^~~~~~~~ | Tcl_Time It would be wonderful to also have the type defined on Tcl8.7, as I will be able to completely drop some pragma, needed otherwise to port to Tcl9: -#if TCL_MAJOR_VERSION < 9 - int dirlen; -#else Tcl_Size dirlen; -#endif Regards, Xavier
- is_private changed to: "0"
- login: "xdelaruelle"
- priority changed to: "5 Medium"
- private_contact changed to: "231d7ecff918d0384f1ee469cf171339e824104a"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "xdelaruelle"
- subsystem changed to: "85. tclconfig"
- title changed to: "Define "Tcl_Size" when compiling with Tcl = 8.7"
- type changed to: "RFE"