The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Warnings == Errors

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Daniel Berger

Posts: 1383
Nickname: djberg96
Registered: Sep, 2004

Daniel Berger is a Ruby Programmer who also dabbles in C and Perl
Warnings == Errors Posted: Dec 18, 2008 9:35 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Daniel Berger.
Original Post: Warnings == Errors
Feed Title: Testing 1,2,3...
Feed URL: http://djberg96.livejournal.com/data/rss
Feed Description: A blog on Ruby and other stuff.
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Daniel Berger
Latest Posts From Testing 1,2,3...

Advertisement
I see Piers has discovered that Rails doesn't run -w clean, and it's not alone.

I feel your pain Piers.

Here's the template for all of my Rake test tasks. You should take heed:
desc "Run the test suite"
Rake::TestTask.new("test") do |t|
   t.warning = true
   t.verbose = true
   # ...
end

A few incredibly obnoxious gcc warnings aside, if you treat warnings as errors you're going to end up with better code, and you might just spot a few bugs to boot.

Read: Warnings == Errors

Topic: More Unfun with OS X Previous Topic   Next Topic Topic: Friendly Ruby Objects

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use