Re: version conflict for package "Tcl": TCL_VERSION vs TCL_PATCH_LEVEL
- From: odt@xxxxxxx (Olaf Dietrich)
- Date: Wed, 30 Apr 2008 14:25:16 +0000 (UTC)
Donald G Porter <dgp@xxxxxxxx>:
Olaf Dietrich wrote:
Okay, so _without_ stubs, you recommend to use
Tcl_InitStubs(interp, TCL_VERSION, 1);
(works with all patchlevels of the MAJ.MIN version)
and _with_ stubs:
Tcl_InitStubs(interp, TCL_VERSION, 0);
No, I recommend the latter in both cases.
However, you were rejecting that. You were explicitly asking for a
formulation that would enforce a "no future minor release" constraint,
so I gave you the answer you were asking for.
If I remember correctly I found out in earlier tests that my extension
crashes when loaded in "future" minor releases, if built *without*
stubs support ("future" meaning newer than the one used for compilation.)
I don't expext this problem to be solved when compiling with
"Tcl_InitStubs(interp, TCL_VERSION, 0)" but *without* "-DUSE_TCL_STUBS".
However, I will do some more tests to find out ...
Olaf
.
- References:
- version conflict for package "Tcl": TCL_VERSION vs TCL_PATCH_LEVEL
- From: Olaf Dietrich
- Re: version conflict for package "Tcl": TCL_VERSION vs TCL_PATCH_LEVEL
- From: Donald G Porter
- Re: version conflict for package "Tcl": TCL_VERSION vs TCL_PATCH_LEVEL
- From: Olaf Dietrich
- Re: version conflict for package "Tcl": TCL_VERSION vs TCL_PATCH_LEVEL
- From: Donald G Porter
- version conflict for package "Tcl": TCL_VERSION vs TCL_PATCH_LEVEL
- Prev by Date: Re: version conflict for package "Tcl": TCL_VERSION vs TCL_PATCH_LEVEL
- Next by Date: Re: version conflict for package "Tcl": TCL_VERSION vs TCL_PATCH_LEVEL
- Previous by thread: Re: version conflict for package "Tcl": TCL_VERSION vs TCL_PATCH_LEVEL
- Next by thread: Tcl extensions built with lcc-win32
- Index(es):
Relevant Pages
|