From: michael libby Date: 2002-08-28T11:06:34+09:00 Subject: Tk and -w -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Generally I expect modules not to generate warnings, but I get a whole screenfull of the following using Ruby/Tk: /usr/lib/ruby/1.6/tk.rb:233: warning: instance variable @cmdtbl not initialized /usr/lib/ruby/1.6/tk.rb:233: warning: instance variable @cmdtbl not initialized /usr/lib/ruby/1.6/tk.rb:233: warning: instance variable @cmdtbl not initialized /usr/lib/ruby/1.6/tk.rb:233: warning: instance variable @cmdtbl not initialized /usr/lib/ruby/1.6/tk.rb:233: warning: instance variable @cmdtbl not initialized The offending line reads: @cmdtbl = [] unless @cmdtbl Which seems like a sensible thing for Tk to do, especially since the next line attempts a @cmdtbl.push. Anything I can do about this warning? Thanks. -michael ++++++++++++++++++++++++++++++++++++++++++ Michael C. Libby public key: http://www.ichimunki.com/public_key.txt web site: http://www.ichimunki.com ++++++++++++++++++++++++++++++++++++++++++ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9bC/B4ClW9KMwqnMRAlD3AKCLkMFsznQC2KVuVKOPR1UBiZjyqgCcDqwo EXhbvRGhLj1h6qqtPOfZnNU= =aJ3N -----END PGP SIGNATURE-----