Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Giving a program priority briefly
- Date: Tue, 12 Jun 2007 14:52:36 +0900
- From: "Josh Glover" <jmglov@example.com>
- Subject: Re: [tlug] Giving a program priority briefly
- References: <466B5A87.7000002@dcook.org> <466C7778.1050803@dcook.org> <78d7dd350706101834k2d764dcbsd3af2c924f29743b@mail.gmail.com> <466CCBED.30902@dcook.org> <78d7dd350706110108l4acf4a83p70e1f1b55eb9a73e@mail.gmail.com> <87myz6fssg.fsf@uwakimon.sk.tsukuba.ac.jp> <Pine.NEB.4.64.0706120127200.22712@homeric.cynic.net> <466DD92C.70801@dcook.org> <87ir9uexx1.fsf@uwakimon.sk.tsukuba.ac.jp> <466E1F74.8060508@dcook.org>
On 12/06/07, Darren Cook <darren@example.com> wrote:
*: Even something as trivial as renaming a parameter can cause very subtle bugs if the parameter name was also the name of a variable in one of the base classes. Tip of the day: use -Wshadow in g++.
Improved tip of the day, use -Wall in g[+c]{2}.
Seriously, programming without turning *all* of your compiler's warnings on is like just using one pedal on a push-bike; you can get places, just not very efficiently.
Sometimes the compiler gets confused, but most of the time you are the one who is confused.
* Perl:
use strict; use warnings;
or command-line option: -w
* gcc / g++
Command-line option: -Wall
Python and Ruby hackers, how do you do this?
-Josh
- Follow-Ups:
- Re: [tlug] Giving a program priority briefly
- From: Darren Cook
- Re: [tlug] Giving a program priority briefly
- From: Zev Blut
- Re: [tlug] Giving a program priority briefly
- From: Stephen J. Turnbull
- References:
- [tlug] Giving a program priority briefly
- From: Darren Cook
- Re: [tlug] Giving a program priority briefly
- From: Darren Cook
- Re: [tlug] Giving a program priority briefly
- From: Nguyen Vu Hung
- Re: [tlug] Giving a program priority briefly
- From: Darren Cook
- Re: [tlug] Giving a program priority briefly
- From: Nguyen Vu Hung
- Re: [tlug] Giving a program priority briefly
- From: Stephen J. Turnbull
- Re: [tlug] Giving a program priority briefly
- From: Curt Sampson
- Re: [tlug] Giving a program priority briefly
- From: Darren Cook
- Re: [tlug] Giving a program priority briefly
- From: Stephen J. Turnbull
- Re: [tlug] Giving a program priority briefly
- From: Darren Cook
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Giving a program priority briefly
- Next by Date: Re: [tlug] Giving a program priority briefly
- Previous by thread: Re: [tlug] Giving a program priority briefly
- Next by thread: Re: [tlug] Giving a program priority briefly
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links