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] | |
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] |