This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C99 usage in gcc [was Re: build failure on mainline due tojava/expr.c]


Hi,

On Fri, 30 Jan 2004, Andrew Haley wrote:

> Compiling this testcase:
> 
> int foo (void)
> {
>   int a = 99;
>   a++;
>   int b = a;
>   return b;
> }
> 
> with "-Wall -std=c89" doesn't seem to generate any warnings either.

It is a pedwarn, hence you need -pedantic also.


Ciao,
Michael.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]