Re: GCC-ANSI C conflict

2005-06-16 Thread Andrew Pinski
On Jun 16, 2005, at 12:35 AM, Sankara Rameswaran wrote: hi according to ansi c standards all declarations have to to be at the starting of the block.. which means the program below should not work.. i compiled this using gcc For C90 yes but not for C99. gcc (GCC) 3.4.3 20041212 (Red Hat 3.

GCC-ANSI C conflict

2005-06-15 Thread Sankara Rameswaran
hi according to ansi c standards all declarations have to to be at the starting of the block.. which means the program below should not work.. i compiled this using gcc >>gcc (GCC) 3.4.3 20041212 (Red Hat 3.4.3-9.EL4) >>Copyright (C) 2004 Free Software Foundation, Inc. >>This is free software; see