[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

ruby -W0 bug?

Austin Ziegler

9/22/2003 5:05:00 AM

I just tried:

remus:~$ ruby -W0 -e 'warn "hello"'
hello
remus:~$ ruby -v -W0 -e 'warn "hello"'
ruby 1.8.0 (2003-09-12) [i686-linux]
hello

I can understand if -v automatically overrides any instance of -W0, but this
doesn't seem right. Shouldn't -W0 suppress any warnings?

-austin
--
austin ziegler * austin@halostatue.ca * Toronto, ON, Canada
software designer * pragmatic programmer * 2003.09.22
* 01.03.40



1 Answer

matz

9/23/2003 11:53:00 AM

0

Hi,

In message "ruby -W0 bug?"
on 03/09/22, Austin Ziegler <austin@halostatue.ca> writes:

|remus:~$ ruby -W0 -e ''warn "hello"''
|hello
|remus:~$ ruby -v -W0 -e ''warn "hello"''
|ruby 1.8.0 (2003-09-12) [i686-linux]
|hello
|
|I can understand if -v automatically overrides any instance of -W0, but this
|doesn''t seem right. Shouldn''t -W0 suppress any warnings?

You are right. I will fix this.

matz.