# Ruby -W0 bug?

**URL:** <https://rubytalk.org/t/ruby-w0-bug/8189>\
**Category:** ruby-talk\
**Created:** [22 September 2003 05:04 UTC](https://rubytalk.org/t/ruby-w0-bug/8189 "2003-09-22T05:04:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Austin\_Ziegler2](https://avatars.discourse-cdn.com/v4/letter/a/ad7895/32.png) [@Austin\_Ziegler2](https://rubytalk.org/u/Austin_Ziegler2)\
**Post date:** [22 September 2003 05:04 UTC](https://rubytalk.org/t/ruby-w0-bug/8189/1 "2003-09-22T05:04:55Z")

</div>

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](mailto:austin@halostatue.ca) \* Toronto, ON, Canada  
> software designer \* pragmatic programmer \* 2003.09.22  
> \* 01.03.40

---

<div class="post-metadata">

**Author:** ![Yukihiro\_Matsumoto2](https://avatars.discourse-cdn.com/v4/letter/y/b9e5f3/32.png) [@Yukihiro\_Matsumoto2](https://rubytalk.org/u/Yukihiro_Matsumoto2)\
**Post date:** [23 September 2003 11:53 UTC](https://rubytalk.org/t/ruby-w0-bug/8189/2 "2003-09-23T11:53:20Z")

</div>

Hi,

> **···**
>
> In message “ruby -W0 bug?” on 03/09/22, Austin Ziegler [austin@halostatue.ca](mailto: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.
> 
> ```
