K&R style prototypes

Jeffrey A Law law@cygnus.com
Sat Apr 4 16:51:00 GMT 1998

  In message < Pine.BSI.3.95.980402212135.10458A-100000@flex.com >you write:
  > I compile the following with:
  > gcc -ansi -pedantic-errors code.c
  > and it didn't give any errors, how come?
I believe ansi allows old-style K&R argument declarations; therefore
this shouldn't be an error.


More information about the Gcc-bugs mailing list