[Freeciv-Dev] Re: A rouge client from the trenches
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Thu, Jul 18, 2002 at 08:49:12PM -0400, Jason Short wrote:
> Mike Kaufman wrote:
> > On Thu, Jul 18, 2002 at 10:44:47PM +0200, Arnstein Lindgard wrote:
>
> > yes. it's a sin. you need to declare at beginning of scope, so
> >
> > if(foo) {
> > int a;
> > }
> >
> > is ok too.
> >
> > 3.0.3 has cut me slack as well on occasion...
>
> I'll bet there's an option you can give gcc to give warnings about
> potential problems. I don't know what it would be under gcc3, though.
try:
$ gcc -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes
-Wmissing-declarations -Werror ...
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"Real Users find the one combination of bizarre
input values that shuts down the system for days."
|
|