|
2003-04-17
| ||
| 06:33 | • Closed ticket [713562ffff]: missing wideInt Tcl_ObjType plus 7 other changes artifact: 2625e76596 user: dgp | |
|
2003-04-08
| ||
| 00:41 | • Ticket [713562ffff]: 4 changes artifact: 7f4544e17f user: dgp | |
| 00:41 | • Ticket [713562ffff]: 5 changes artifact: e21574d11a user: dgp | |
| 00:41 | • Add attachment 713562.patch to ticket [713562ffff] artifact: 72f440eec8 user: dgp | |
|
2003-04-07
| ||
| 23:23 | • Open ticket [713562ffff]: missing wideInt Tcl_ObjType plus 4 other changes artifact: 2e51de892e user: dgp | |
| 17:26 | • Closed ticket [713562ffff]. artifact: 1e4bf483a8 user: dkf | |
|
2003-04-05
| ||
| 15:24 | • Ticket [713562ffff]: 5 changes artifact: 3c15eaea6e user: dgp | |
|
2003-04-02
| ||
| 14:56 | • Ticket [713562ffff]: 4 changes artifact: cffa38baef user: dgp | |
| 07:33 | • Ticket [713562ffff]: 4 changes artifact: 39d999ecef user: dgp | |
|
2003-04-01
| ||
| 22:11 | • New ticket [713562ffff]. artifact: e29a88dc3b user: dgp | |
missing wideInt Tcl_ObjType
Closed / Fixed713562ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2003-04-01 22:11:38
When I build and use Tcl on a platform where TCL_WIDE_INT_IS_LONG gets #define'd, like my Linux/Alpha machine, the consequence is that there is no Tcl_ObjType named "wideInt" registered in that Tcl library. This means that an extension writer cannot reliably Tcl_ConvertToType either to or from the "wideInt" type across platforms. Instead extensions are required to do a rather complex conditionalizing on TCL_WIDE_INT_IS_LONG. Would be much nicer if the Tcl library always defined the "wideInt" Tcl_ObjType, but just made sure it did the right thing on different platforms. The most recent example is the TIP 111 implementation. I cannot test this on my Linux/Alpha box, because parts of it just assume that comparisons against &tclWideIntType are possible. That's the internal version of the exported description above.
dgpplain2003-04-02 07:33:00
File Added - 46530: 713562.patch Logged In: YES user_id=80530 work in progress towards a proposed fix.
dgpplain2003-04-02 14:56:34
File Deleted - 46530: File Added - 46559: 713562.patch Logged In: YES user_id=80530 updated patch. please review.
dgpplain2003-04-05 15:24:19
Logged In: YES user_id=80530 Raising priority. This is no longer a theoretical problem for extension authors. Now the HEAD will not build.
dkf Closed ticket [713562ffff].
[History diff]2003-04-07 17:26:05
dgpplain2003-04-07 23:23:23
Logged In: YES
user_id=80530
re-opened. There's a problem with the
committed fix.
Although the "wideInt" type is now recognized,
on TCL_WIDE_INT_IS_LONG platforms, it
cannot be converted to.
Tcl_ConvertToType(interp, objPtr, Tcl_GetObjType("wideInt"))
wil convert objPtr to type "int" instead of the
requested type "wideInt".
The patch already attached here does not
suffer from that defect.
dgpplain2003-04-08 00:41:54
File Added - 47001: 713562.patch Logged In: YES user_id=80530 here's an updated patch made against the current HEAD. Dropped priority since the HEAD compiles now.
dgpplain2003-04-08 00:41:55
File Deleted - 46559:
dgpplain2003-04-17 06:33:34
Logged In: YES user_id=80530 Fixed in 8.4 branch and HEAD.
Log in (anonymous is fine) to add a comment.
Attachments:
- 713562.patch [download] added by dgp on 2003-04-08 00:41:54. [details]