[ale] wierd compilation error

Danny Cox danscox at mindspring.com
Tue Dec 3 12:39:34 EST 2002


Geoffrey,

On Tue, 2002-12-03 at 12:14, Geoffrey wrote:
> That's what I get for being in a hurry.  Thought I had.  Here they are:

> test.c: extern struct vars *v;
> 
> test.h: extern struct vars * v;
> 
> the big question is, why would gcc 3.2 complain and gcc 2.96 not??

	Well, that really looks like a compiler error to me.  It's not an error
to re-declare a var in C.  Hmm.  Perhaps the GCC crew ought to be
notified about this one.

-- 
kernel, n.: A part of an operating system that preserves the
medieval traditions of sorcery and black art.

Danny

_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale






More information about the Ale mailing list