Re: [Math-atlas-devel] packaging ATLAS and gcc 4
Brought to you by:
rwhaley,
tonyc040457
From: <rw...@cs...> - 2005-08-24 00:13:20
|
>On Tue, Aug 23, 2005 at 03:14:12PM -0400, R Clint Whaley wrote: > >> Can you tell me what part of the ANSI C standard this piece of code >> fails? > >The comment in our bugzilla says it's section 6.2.1 of C99. Let's >see, see 6.2.2 paragraph 3, and the footnote that goes with it: "A >function delcaration can contain the stoarge-class specifier static >only if it is at file scope". Last I knew, gcc did not fully support C99; I cannot find any such rule in the ANSI/ISO 9899-1990 standard that I own. Does anyone know if it is in that original ANSI C standard, or is gcc 4 C99 compliant but not ANSI C compliant, or what? In one sense it doesn't matter, in that I will change this way of doing things, if it matches neither C99 or C++, but if the gcc folks are making an _error_ (rather than a warning) of something legal in ANSI C but not in C99, I think it needs to be reported as a gcc 4 bug. Thanks, Clint |