On Wed, 29 Apr 2009, Manuel López-Ibáñez wrote:

> >> BTW, why is this warned about?
> >
> > I imagine because in C it is not conventional to use "extern" when
> > defining something, only on a declaration that is not a definition.
> 
> But may it lead to some confusion or subtle error? It seems overly
> pedantic to me if it is just a matter of style, because  extern is
> implicit if missing,

"int i;" is not the same as "extern int i;".

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to