f



BLT bug 886267: "Compile trouble with Tcl/Tk 8.5a0" reported

I just reported a bug against BLT, number 886267:  "Compile trouble
with Tcl/Tk 8.5a0"

Compiling against Tcl/Tk the Tcl/Tk pre-Alpha 8.5a0 fails with some
functions confilctingly declared.  Examples are Tcl_FindCommand,
Tcl_CreateNamespace, Tcl_FindNamespace, and Tcl_Export.  These are
being redeclared in bltNsUtil.h, having also been declared in
tclDecls.h
-- 
  Rich Wurth / rwurth@att.net / Rumson, NJ  07760 USA
  Consultant to the telecom industry
0
rwurth (78)
1/29/2004 1:55:54 AM
comp.lang.tcl 23428 articles. 2 followers. Post Follow

2 Replies
540 Views

Similar Articles

[PageSpeed] 41

rwurth@att.net (R. T. Wurth) wrote:

>I just reported a bug against BLT, number 886267:  "Compile trouble
>with Tcl/Tk 8.5a0"
>
>Compiling against Tcl/Tk the Tcl/Tk pre-Alpha 8.5a0 fails with some
>functions confilctingly declared.  Examples are Tcl_FindCommand,
>Tcl_CreateNamespace, Tcl_FindNamespace, and Tcl_Export.  These are
>being redeclared in bltNsUtil.h, having also been declared in
>tclDecls.h

Ask the BLT author if he can update his source to match the recent changes.
Or you can fix it yourself by adding an #if/#endif around those now public
functions in bltNsUtil.h:


#if (TCL_MAJOR_VERSION == 8 && TCL_MINOR_VERSION < 5)
.....
#endif

-- 
David Gravereaux <davygrvy@pobox.com>
[species: human; planet: earth,milkyway(western spiral arm),alpha sector]
0
davygrvy (1376)
1/29/2004 2:24:55 AM
"David Gravereaux" <davygrvy@pobox.com> wrote
> rwurth@att.net (R. T. Wurth) wrote:
> >I just reported a bug against BLT, number 886267:  "Compile trouble
> >with Tcl/Tk 8.5a0"
>
> Ask the BLT author if he can update his source to match the recent
changes.
> Or you can fix it yourself by adding an #if/#endif around those now
public
> functions in bltNsUtil.h:
>

George Howlett has stated in the past that he doesn't want to track
Tcl alpha/beta releases.  (Not to speak for George, but I thought I'd
chime in.)
http://groups.google.com/groups?selm=uh2432fc7s2s00%40corp.supernews.com

Bob
-- 
Bob Techentin                   techentin.robert@NOSPAMmayo.edu
Mayo Foundation                                 (507) 538-5495
200 First St. SW                            FAX (507) 284-9171
Rochester MN, 55901  USA            http://www.mayo.edu/sppdg/



0
1/29/2004 6:04:49 PM
Reply:

Similar Artilces:

Tcl 8.4 regexp bug ("can't happen -- you found a bug")
Howdy, The following regsub command causes the above error message in Tcl 8.4: regsub {(^|\n)+\.*b} \n.b "" tmp There's probably room for argument about whether the expression is malformed. But in that case, it should probably say "quantifier operand invalid" rather than "you found a bug". Good luck, -Jonathan Jones According to Jonathan Jones <googlegroups@spitzensparken.com>: :The following regsub command causes the above error message Stop by the SourceForge project and submit a bug report on it. -- <URL: http://wiki.tcl.tk/ > In God we trust. Even if explicitly stated to the contrary, nothing in this posting should be construed as representing my employer's opinions. <URL: mailto:lvirden@yahoo.com > <URL: http://www.purl.org/NET/lvirden/ > ...

Looking for binary "expect" and "TCL/Tk" (if required) for OpenServer6
Does anybody know where to find "expect" (and related requirements) for OpenServer6? I can download the source files from nist.gov, but they do not compile. The MAN pages are already loaded on the system, so I suspect the programs would be on the distribution media somewhere. Any help would be appreciated. Thanks, Rick On 9 Feb, 17:57, Rick_Hoyle <motosl...@hotmail.com> wrote: > Does anybody know where to find "expect" (and related requirements) > for OpenServer6? I can download the source files from nist.gov, but > they do not compile. The MAN pages are al...

"::tcl::tm::UnknownHandler ::tclPkgUnknown msgcat 1.4" caused by replacing Tcl 8.4.1 with 8.5.7
In the blog http://planet.larrythecow.org/archives/2009-07-26.html "The Twouble with Tcl" Iain Buchanan shows that redefining OPEN proc leads to the errors similar to what I am getting - when I replaced Tcl 8.4.1 with Tcl 8.5.7. In my case I don't know the exact root cause though ... Any ideas how I should proceed with debugging this issue ? Thanks, Alex tclsh c:/Tornado/host/resource/hutils/tcl/makeSymTbl.tcl ppc tmp.o symTbl.c invalid command name "::tcl::tm::UnknownHandler" while executing "::tcl::tm::UnknownHandler ::tclPkgUnknown msg...

"Tcl/Tk 8.5 tutorial"
All the documentation at http://tcl.tk/man/ is available as *html.tar.gz except "Tcl/Tk 8.5 tutorial". Is there a reason or just an accident of history. I have ActiveTcl installed and its associated ActiveTclHelp8.6.chm . This trifocal wearing senior citizen finds it impossible to read comfortably. I prefer HTML as I have my browser configured for legibility. I wish to have the tutorial available on my machine. >=20 > I have ActiveTcl installed and its associated=20 > ActiveTclHelp8.6.chm . This trifocal wearing senior citizen finds=20 > it impossible to read comfortably. I prefer HTML as I have my=20 > browser configured for legibility. I wish to have the tutorial=20 > available on my machine. A solution is to put the pages on your PC using httrack : http://www.httrac= k.com/page/1/en/index.html. After installation and having given a "project = name" and the path of a directory of your choice ( ex : xyz ) just then po= int the address to http://tcl.tk/man/tcl8.5/tutorial/tcltutorial.html . Lau= nch it . At the end, it will last a few minutes, you will see a file "index= ..html" in "xyz" directory . And... just doubleclick and here you are... It is web copier that you can use for a set of pages. The default settings = are such that you will download the necessary pages, not all the website, w= hich is not legal I think.=20 Olivier. On 3/11/2016 9:18 AM, Olivier wrote: >>...

"Sayonara Tcl/Tk"
It seems that someone is really upset about Tcl/Tk. http://forum.sqlitestudio.pl/viewtopic.php?f=16&t=333 Στις 29/4/2013 11:49, ο/η saxo3800@gmail.com έγραψε: > It seems that someone is really upset about Tcl/Tk. > > http://forum.sqlitestudio.pl/viewtopic.php?f=16&t=333 > I think that he has a point regarding threads. George On Apr 29, 11:02=C2=A0am, Georgios Petasis <peta...@iit.demokritos.gr> wrote: > =CE=A3=CF=84=CE=B9=CF=82 29/4/2013 11:49, =CE=BF/=CE=B7 saxo3...@gmail.co= m =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5: > > > It seems that someone is really upset about Tcl/Tk. > > >http://forum.sqlitestudio.pl/viewtopic.php?f=3D16&t=3D333 > > I think that he has a point regarding threads. Sure. Though I'm curious to know what specific problem of his is so much better served by explicit locks and shared vars than by message passing, given the context. It's not as if he was worried by lost nanoseconds in mutex contention. -Alex Στις 29/4/2013 20:07, ο/η Alexandre Ferrieux έγραψε: > On Apr 29, 11:02 am, Georgios Petasis <peta...@iit.demokritos.gr> > wrote: >> Στις 29/4/2013 11:49, ο/η saxo3...@gmail.com έγραψε: >> >>> It seems that someone is really upset about Tcl/Tk. >> >>> http://forum.sqlitestudio.pl/viewtopic.php?f=16&t=333 >> >> I think that he has a point regarding threads. > > Sure. Though I'...

Are Tcl and Tk "inseparable"?
Hi, I am a Ruby user and probably I will have to use Tk in order to get nice GUIs. Now, the problem is that: Learning a new language (Ruby) is already time consuming enough. Do I have to learn also Tcl in order to use Tk? Can't I use Tk alone? (Umm, well, not so alone, together with Ruby, I mean) Thanks in advance. Surgeon schrieb: > Hi, > > I am a Ruby user and probably I will have to use Tk in order to get > nice GUIs. Now, the problem is that: Learning a new language (Ruby) is > already time consuming enough. Do I have to learn also Tcl in order to > use Tk? Can't I use Tk alone? (Umm, well, not so alone, together with > Ruby, I mean) The Perl community ripped Tcl from their PerlTk package, but it was just slower, less up to date and more memory hungry. So in principle one could separate Tk from Tcl, but its not worth it. But your question goes in a different direction: The Ruby/Tk binding wraps Tk into a set of Ruby Objects, so you are using Ruby when you create Ruby/Tk programs. So you do not need to learn Tcl to be able to use RubyTk, but it could help in translating advanced Tk examples found on the Tcl'ers wiki (http://wiki.tcl.tk). But you have to learn the options and functions of your libraries, as you have to do for any other package. Michael Surgeon <biyokuantum@gmail.com> wrote: > Hi, > I am a Ruby user and probably I will have to use Tk in order > to get nice GUIs. Now, the problem is that: Learning a ...

"""""""""ADD ME""""""""""
Hi , Hope you are doing great. Please let me take this opportunity to introduce myself, Iam Karthik working with BhanInfoi Inc, a NY based company. We have consultants on our bench on various technologies, my request is to add me to your distribution list and kindly do send me the requirements. i have the below list available 1. Mainframe 2. Java 3.. Financial Analyst 4. Data Architect If there is any vendor ship agreement which has to be signed then I would like to take an opportunity to represent my company and expect your cooperation... ...

ANN: Tcl-Tk-Aqua 8.4.14 "universal" installer for OS X
The Tcl/Tk "Universal" packages are distributions of the core Tcl/Tk libraries, plus the Tile theming extension, built to support the PPC and Intel architectures of the Mac OS X platforms. They can be downlaoded at http://tk-components.sourceforge.net/installer/index.html. OVERVIEW OF PACKAGES The Tcl/Tk "Universal" package for Mac OS X are based on the current version of Tcl/Tk at the time of this build, 8.4.14. The Tile extension is version 0.7.8. The packages support the native Aqua version. Aqua The "Aqua" package supports the native Mac windowing environment. It is useful for developing and deploying native Mac OS X applications. With the "Aqua" package, the following will be installed on your machine: *The Tcl and Tk frameworks will be installed in /Library/Frameworks. * The Tcl interpreter, tclsh, and the Tk interpreter, wish, will be installed in /usr/local/bin. *The Tile extension, which adds native Aqua theming to the Tk widgets, will be installed in /Library/Tcl. * The Wish application package will be installed in /Applications/Utilities. A standalone version of Wish, with the Tcl/Tk and Tile libraries embedded in the application package, will be installed in /Applications/Utilities/Wish-Embedded. This package is useful for deploying Tcl/Tk applications to end users.The Tcl/Tk "Universal" packages are distributions of the core Tcl/Tk libraries, plus the Tile theming extension, built to support...

3 problems with "A small editor in 8.5.0" ( http://wiki.tcl.tk/20542)
I'm using Tcl/Tk 8.6.4 under WinXP Pro. Problem 1. I don't see any where to specify desired font. There is a code fragment saying ----------- proc textfenster {mframe {master {}}} { if {$master eq {}} { text [set mframe].t -bg white -xscrollcommand [ ---------------------------- which I edited to be ----------- proc textfenster {mframe {master {}}} { if {$master eq {}} { text [set mframe].t -font "Courier 20" -bg white -xscrollcommand [ ---------------------------- It made no difference. Problem 2. Although moving the butto...

BWidget tree can't be "packed" in latest tcl/tk (8.6.b1.1)
With windows (2k/xp) and 8.6b1 tcl/tk in a tclkit my code works. I just found a newer tclkit, 8.6b1.1 and the below test code is now suddenly broken. It gets an error on the second pack statement: "cannot use geometry manager pack inside .wtree_top.sw which already has slaves managed by grid" Is there a new restriction (or one that is now enforced) that has recently been added that causes this to break? It would be a rather sad development if I could no longer use BWidget trees with the pack manager. -------------------------------------- I built my own tclk...

checkbuttons in tcl 8.4.12 and 8.5a4 with -offvalue == ""?
Hello, I just realized some differences between the checkbuttons visualisation in tcl 8.4 and 8.5. If the offvalue of a checkbutton is set to "" (empty string) and the checkbutton is not "checked", than ... - in tcl 8.4.12 the background is white - in tcl 8.5a4 the background is grey and the "check" is still visible That's a bug, isn't it? If the offvalue is " " (one blank), than every thing works. Best regards, Martin Lemburg UGS - Transforming the Process of Innovation MartinLemburg@UGS wrote: > Hello, > > I just realized some differences between the checkbuttons visualisation > in tcl 8.4 and 8.5. > > If the offvalue of a checkbutton is set to "" (empty string) and the > checkbutton is not "checked", than ... > - in tcl 8.4.12 the background is white > - in tcl 8.5a4 the background is grey and the "check" is still > visible > > That's a bug, isn't it? > It's a much sought-after new feature. Checkbuttons in tk 8.5 have the ability to have three states: on, off and "tristate". The default value for the third state is the empty string. It's documented in the 8.5 manual page; look for the -tristatevalue option: http://www.tcl.tk/man/tcl8.5/TkCmd/checkbutton.htm#M17 Hhm, ... ok I know now why, but I don't understand why this way of tristate value usage was chosen! If I have an offvalue "" ...

"Multithreaded" tcl/tk problem?
Hello In short: I ran into serious problems when developing multithreded Tcl/ Tk application in C. After spending (literally!) weeks on debugging and tests, I believe that it narrows down to Tcl/Tk bugs in multithread mode. I tried to find something over net on such problems, but to no success :-( I'll be very grateful if someone could confirm that, or perhaps point out what I'm doing wrong...here's detailed description: I have Win32 C++ application (SCADA/HMI program) which may contain several (from zero to literally hundreths) independent Tcl/Tk "modules". Module is my own term here, and it boils down to separate thread, with it's own tcl interpreter. I also create a "container window" in module's thread, and initialize Tk in this interpreter (via Tk_Init) so that "container window" becomes parent window for this Tk's instance "main window" (this is done via setting global "argv" variable to "-use container_id"). After initialization, thread load script from file into interpreter and enters fairly standard event loop, processing both windows messages and Tcl events. Some of messages (defined by RegisterWindowsMessage) are used to carry commands from other threads - when I receive such message I call some Tcl function in interpreter, by usual Tcl_Eval( "functionName" ) call. This code in turn does some Tcl work, like setting GUI up, displaying information for the user, sometimes i...

reporting a compiler performance "bug"
What are some guidelines for reporting a compiler performance "bug"? Two compilers will not run the same code at exactly the same speed, and one should not expect a compiler to run two codes doing the same computations but in different ways to run at exactly the same speed. Speeding up someone's code on one platform could slow it down on other platforms and slow down other codes on the same platform. Reporting a violation of the Fortran standard is more clearcut. On Feb 16, 8:44 am, "Beliavsky" <beliav...@aol.com> wrote: > What are some guidelines for reporti...

"pipe" in Tcl 8.5ff
Hi, I am looking for a replacement of the "pipe" command of tclx. This command creates a FIFO and returns one fd for reading and one for writing. A similar command in C is #include <unistd.h> int pipe(int pipefd[2]); How do I do that with plain Tcl (version >= 8.5)? Best regards Ole Στις 8/8/2013 2:38 μμ, ο/η Olе Streicher έγραψε: > Hi, > > I am looking for a replacement of the "pipe" command of tclx. This > command creates a FIFO and returns one fd for reading and one for > writing. A similar command in C is > > #include <unistd.h> > int pipe(int pipefd[2]); > > How do I do that with plain Tcl (version >= 8.5)? > > Best regards > > Ole > In tcl 8.6, with the "chan pipe" command. In tcl 8.5, with the tclpipe extension: http://wiki.tcl.tk/21637 If you need this for executing commands, see the man page for "open" and possibly "exec". George Hi George, George Petasis <petasisg@yahoo.gr> writes: > Στις 8/8/2013 2:38 μμ, ο/η Olе Streicher έγραψε: >> I am looking for a replacement of the "pipe" command of tclx. > In tcl 8.6, with the "chan pipe" command. In tcl 8.5, with the tclpipe > extension: > > http://wiki.tcl.tk/21637 Is there a way to do it in plain tcl, without the need to compile an external package? > If you need this for executing commands, ...

"prompt" dialog for Tcl/Tk
Hey folks, I noticed Tk has some handy default modal dialogs: tk_messageBox, tk_chooseDirectory, tk_openFile, and so on. One particular form of dialog I would like to find - but don't know if it exists - is a "prompt" dialog similar to a browser's native "prompt" dialog for JavaScript, which pops up a modal dialog with a label, a single text entry field, and "OK" and "Cancel" buttons, and returns the string value of its entry field when the user clicks "OK" (or null if the user clicks "Cancel"). Since browser makers have seen fit to include this as a core native widget for the browser, I'd be surprised if Tk didn't have something similar (before I go off & try building one on my own). Thanks, David On May 10, 12:41=A0pm, David Golightly <davig...@gmail.com> wrote: > Hey folks, > > I noticed Tk has some handy default modal dialogs: tk_messageBox, > tk_chooseDirectory, tk_openFile, and so on. =A0One particular form of > dialog I would like to find - but don't know if it exists - is a > "prompt" dialog similar to a browser's native "prompt" dialog for > JavaScript, which pops up a modal dialog with a label, a single text > entry field, and "OK" and "Cancel" buttons, and returns the string > value of its entry field when the user clicks "OK" (or null if the > user clicks "Cancel"). =A0Since br...

"/a" is not "/a" ?
Hi everybody, while testing a module today I stumbled on something that I can work around but I don't quite understand. >>> a = "a" >>> b = "a" >>> a == b True >>> a is b True >>> c = "/a" >>> d = "/a" >>> c == d True # all good so far >>> c is d False # eeeeek! Why c and d point to two different objects with an identical string content rather than the same object? Manu Emanuele D'Arrigo wrote: >>>> c = "/a" >>>&...

why "::", not "."
Why does the method of modules use a dot, and the constants a double colon? e.g. Math::PI and Math.cos -- Posted via http://www.ruby-forum.com/. On Oct 26, 2010, at 01:48 , Oleg Igor wrote: > Why does the method of modules use a dot, and the constants a double > colon? > e.g. > Math::PI and Math.cos For the same reason why inner-classes/modules use double colon, because = they're constants and that's how you look up via constant namespace. Math::PI and ActiveRecord::Base are the same type of lookup... it is = just that Base is a module and PI is a float....

"out" and "in out"
Hi i found the following explaination: In Ada, "in" parameters are similar to C++ const parameters. They are effectively read-only within the scope of the called subprogram. Ada "in out" parameters have a reliable initial value (that passed in from the calling subprogram) and may be modified within the scope of the called procedure. Ada "out" parameters have no reliable initial value, but are expected to be assigned a value within the called procedure. What does "have no reliable initial value" mean when considering the "out" parameter? By c...

about "++" and "--"
why this program snippet display "8,7,7,8,-7,-8" the program is: main() { int i=8; printf("%d\n%d\n%d\n%d\n%d\n%d\n",++i,--i,i++,i--,-i++,-i--); } > why this program snippet display "8,7,7,8,-7,-8" Ask your compiler-vendor because this result is IMHO implementation-defined. Check this out: http://www.parashift.com/c++-faq-lite/misc-technical-issues.html#faq-39.15 http://www.parashift.com/c++-faq-lite/misc-technical-issues.html#faq-39.16 Regards, Irina Marudina fxc123@gmail.com wrote: > why this program snippet display "8,7,7,8,-7,-8&q...

"or" and "and"
Hi, I'm just getting to discover ruby, but I find it very nice programming language. I just still don't understand how the "or" and "and" in ruby... I was playing with ruby and for example made a def to print Stem and Leaf plot (for those who didn't have a statistics course or slept on it, e.g. http://cnx.org/content/m10157/latest/) Here is the Beta version of it: class Array def n ; self.size ; end def stem_and_leaf(st = 1) # if st != (2 or 5 or 10) then ; st = 1 ; end k = Hash.new(0) self.each {|x| k[x.to_f] += 1 } k = k.sort{|a, b| a[0].to_f <=&g...

"my" and "our"
Hi, while testing a program, I erroneously declared the same variable twice within a block, the first time with "my", the second time with "our": { my $fz = 'VTX_Link'; .... ( around 200 lines of code, all in the same block) our $fz = 'VTX_Linkset'; ... } So the initial contents of the $fz declared with "my" is lost, because "our" creates a lexical alias for the global $fz, thus overwriting the previous "my" declaration. It was my error, no question. But I wonder why Perl doesn't mention this - even with "use s...

How to do PHP "require()" or TCL "source" in bash script
I'm sorry but I can't figure out how to explain this any better than this. In PHP we have a command "require()" that obtains a file and logically places it into another file. I cannot figure out how to do this in bash script as the requirement is necessary for a migration script to obtain the code from a .cfg file and then be able for the "parent" script to run the code it "imported" from the .cfg file, much like PHP's require() or TCL's "source". This is what I have so far and it fails: if [ -f ivc.cfg ]; then cat ivc.cfg fi Anyone...

Trouble With "For Each" and "Next"
Access 2000 I am trying to check the form to be sure that required fields are entered. For each required field (Control) I have set the tag property to "1". I am trying to loop through all controls with a tag property of "1", If they are null, I want to stop the loop and setfocus on the control. The below code works Except it will not stop looping when a control is null. It will display the msgBox and then continue to the next control. Dim ctl As Control For Each ctl in Me,Controls If ctl.Tag = "1" And IsNull(ctl) Then MsgBox("Required Field Is B...

"In" "Out" and "Trash"
I just bought a new computer and I re-installed Eudora Light on my new computer. But when I open Eudora, the "In", "Out" and "Trash" links are not on the left side of the screen the way they were on my old computer. How can I get these links back on the left side of the screen? Thank you. On 25 Mar 2007 09:49:22 -0700, "abx" <abfunex@yahoo.com> wrote: >I just bought a new computer and I re-installed Eudora Light on my new >computer. But when I open Eudora, the "In", "Out" and "Trash" links >are ...

Web resources about - BLT bug 886267: "Compile trouble with Tcl/Tk 8.5a0" reported - comp.lang.tcl

Resources last updated: 3/13/2016 7:57:29 PM