Path: utzoo!telly!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ICS.UCI.EDU!rfg From: rfg@ICS.UCI.EDU Newsgroups: gnu.gcc.bug Subject: suggested new warnings Message-ID: <8912151232.aa15562@ICS.UCI.EDU> Date: 15 Dec 89 20:32:03 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 19 The following pairs of declarations, while perfectly legal, may cause confusion and consternation among some users (especially in the case of the function pointer parameters). Therefore I suggest that warnings should be issued by GCC when such cases arise. void flummox_1 (int a[]); void flummox_1 (int *a); void flummox_2 (int f()); void flummox_2 (int (*f)()); void flummox_3 (int *a); void flummox_3 (int a[]); void flummox_4 (int (*f)()); void flummox_4 (int f());