Thanks ts,

I download the new ruby-1.8preview3 for both the linux and the
windows(mswin32) version and run your command. Now both give me the same
warnings.

Ruby - MSWIN32
c:\> c:\apps\ruby\bin\ruby -ve 'p Kernel::Hash'
ruby 1.8.0 (2003-06-23) [i386-mswin32]
-e:1: warning: toplevel constant Hash referenced by Kernel::Hash
Hash
c:\>

Ruby - Linux

% ruby -ve 'p Kernel::Hash'
ruby 1.8.0 (2003-06-23) [i686-linux]
-e:1: warning: toplevel constant Hash referenced by Kernel::Hash
Hash
%




"ts" <decoux / moulon.inra.fr> wrote in message
news:200306241432.h5OEWgJ11444 / moulon.inra.fr...
> >>>>> "U" == Useko Netsumi <REMOVE_THISusenets / nyc.rr.com> writes:
>
> U> If that's true, then how come it did not give any error on windows?
>
>  It depend on the ruby version
>
> svg% /usr/bin/ruby -ve 'p Kernel::Hash'
> ruby 1.8.0 (2003-05-13) [i686-linux]
> Hash
> svg%
>
> svg% ./ruby -ve 'p Kernel::Hash'
> ruby 1.8.0 (2003-06-24) [i686-linux]
> -e:1: warning: toplevel constant Hash referenced by Kernel::Hash
> Hash
> svg%
>
>
>
> Guy Decoux
>