On Thu, Dec 1, 2011 at 7:42 PM, Joseph S. Myers <jos...@codesourcery.com> wrote:
> On Thu, 1 Dec 2011, Steven Bosscher wrote:
>
>> Is it valid in dialects older than C99 to declare a function static
>> inline after calling it? Should the warnings be brought back in the
>> compiler?
>
> Older dialects didn't have inline.

Not even gnu89?


>> One reason to bring the warnings back could be that there is now no
>> way for anyone bootstrapping GCC to detect this warning. If it is
>> still a goal that recently modern GCC's should be able to build the
>> latest GCC, then it would be good if the latest GCC warns about the
>> same things in a given C dialect as older GCC versions do.
>
> Building with older GCC should not use -Werror; only later bootstrap
> stages, or --enable-werror-always, should do so, and
> --enable-werror-always is meant to be used for building a cross-compiler
> using the same version of GCC.

Hm, I didn't do anything special. Just configure --target=arm-eabi,
then make. Perhaps there is an error in configure.ac.

Ciao!
Steven

Reply via email to