|
2004-01-13
| ||
| 10:33 | • Ticket [865264ffff] panic (the macro) is deprecated status still Closed with... artifact: 07ab5d7058 user: davygrvy | |
|
2004-01-12
| ||
| 15:25 | • Ticket [865264ffff]: 4 changes artifact: 7148eebb3a user: davygrvy | |
| 11:56 | • Ticket [865264ffff]: 4 changes artifact: 351d389888 user: dgp | |
| 11:41 | • Ticket [865264ffff]: 4 changes artifact: c6d99fb730 user: dgp | |
|
2003-12-24
| ||
| 11:27 | • Closed ticket [865264ffff]. artifact: d65e79e63d user: davygrvy | |
| 09:07 | • Ticket [865264ffff]: 4 changes artifact: f38e5010b3 user: davygrvy | |
| 09:01 | • Ticket [865264ffff]: 4 changes artifact: efab25a04c user: davygrvy | |
| 09:01 | • Add attachment patch.txt to ticket [865264ffff] artifact: 580f1e82b9 user: davygrvy | |
| 02:01 | • New ticket [865264ffff] panic (the macro) is deprecated. artifact: 435dc70e7f user: davygrvy | |
panic (the macro) is deprecated
Closed / Fixed865264ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2003-12-24 02:01:39
All uses of 'panic' in the core should be replaced with 'Tcl_Panic' as the comment in tcl.h is clear.
davygrvyplain2003-12-24 09:01:39
File Added - 71394: patch.txt
davygrvyplain2003-12-24 09:07:03
Logged In: YES user_id=7549 The core is under our control so let's following the rule about its deprecation.
davygrvyplain2003-12-24 11:27:47
Logged In: YES user_id=7549 committed to HEAD.
dgpplain2004-01-12 11:41:30
Logged In: YES user_id=80530 It appears that the Tk HEAD no longer compiles against the Tcl HEAD due to this change. When linking wish there are errors starting with: /local/src/tk/unix/libtk8.5.a(tkWindow.o): In function `TkCreateMainWindow': tkWindow.c(.text+0xdb4): undefined reference to `panic' tkWindow.c(.text+0xdb8): undefined reference to `panic' /local/src/tk/unix/libtk8.5.a(tkWindow.o): In function `Tk_DestroyWindow': tkWindow.c(.text+0x1650): undefined reference to `panic' tkWindow.c(.text+0x1654): undefined reference to `panic' /local/src/tk/unix/libtk8.5.a(tkWindow.o): In function `Tk_ConfigureWindow': tkWindow.c(.text+0x1e28): undefined reference to `panic' This suggests other extensions may also have trouble with this change? Has something public changed without a TIP?
dgpplain2004-01-12 11:56:34
Logged In: YES user_id=80530 I see. What has changed is the meaning of the -DTCL_NO_DEPRECATED compile option. Compiling an extension with that option used to allow panic(). Now it doesn't. That's quite arguably a bug fix, so we should be sure this gets flagged as a ***POTENTIAL INCOMPATIBILITY*** in the ChangeLog and changes file. Also need to update Tk to the new reality.
davygrvyplain2004-01-12 15:25:58
Logged In: YES user_id=7549 Will do. I'll do the find/replace on Tk and add the compatibility note in the Tcl ChangeLog.
davygrvyplain2004-01-13 10:33:10
Logged In: YES user_id=7549 done.
Log in (anonymous is fine) to add a comment.
Attachments:
- patch.txt [download] added by davygrvy on 2003-12-24 09:01:39. [details]