Hi, I don't know if it's a bug but I never explicitly use __octype__ in the script and the warning occurs systematically after I call certain CGContextXXX functions ( in my case CGContextSelectFont and CGContextShowGlyphsAtPoint ). I'll try to properly open a ticket. Julien Le 6 nov. 2010 à 05:55, Eloy Duran a écrit :
Normally this is not a bug. Most people lazy initialize instance variables, but you will get warned if you ask it to be more verbose. However, I have been unable to trigger it on MacRuby myself:
% ruby19 -w -e '!@foo' -e:1: warning: instance variable @foo not initialized
% macruby -w -e '!@foo'
On 5 nov 2010, at 18:10, Jordan K. Hubbard wrote:
On Nov 4, 2010, at 7:19 PM, Julien Jassaud wrote:
This do produces a pdf but it is completely empty. Also, MacRuby complains when called with the -w option :
$ macruby -w cocoapdf.rb unknown: warning: instance variable __octype__ not initialized
That still seems like a bug, however. Have you filed a bug report on it? Thanks.
- Jordan
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel