Re: version conflict for package "Tcl": TCL_VERSION vs TCL_PATCH_LEVEL
- From: odt@xxxxxxx (Olaf Dietrich)
- Date: Wed, 30 Apr 2008 07:58:27 +0000 (UTC)
Ralf Fassel <ralfixx@xxxxxx>:
* odt@xxxxxxx (Olaf Dietrich)
| Tcl_PkgRequire(interp, "Tcl", TCL_VERSION, 1)
Check the meaning of the '1' in this call:
http://www.tcl.tk/man/tcl8.5/TclLib/PkgRequire.htm
| int exact (in)
| Non-zero means that only the particular version
| specified by version is acceptable. Zero means that newer
| versions than version are also acceptable as long as they
| have the same major version number as version.
I want to accept all versions with the same _minor_ version
number (e.g. 8.5.0, 8.5.1, 8.5.2, ... 8.5.23), but _not_ newer
versions with a different minor version number, i.e. not 8.6.0
etc. since these might be incompatible.
And then consider using 0 instead.
So I cannot use 0. And it seems that under tcl 8.4 I get exactly
the desired behavior with the call above - but not longer under
tcl 8.5.
Olaf
.
- Follow-Ups:
- Re: version conflict for package "Tcl": TCL_VERSION vs TCL_PATCH_LEVEL
- From: Neil Madden
- Re: version conflict for package "Tcl": TCL_VERSION vs TCL_PATCH_LEVEL
- 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: Ralf Fassel
- 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: 3Dcanvas error
- Previous by thread: Re: version conflict for package "Tcl": TCL_VERSION vs TCL_PATCH_LEVEL
- Next by thread: Re: version conflict for package "Tcl": TCL_VERSION vs TCL_PATCH_LEVEL
- Index(es):
Relevant Pages
|