Path: utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!ATHENA.MIT.EDU!rfrench From: rfrench@ATHENA.MIT.EDU ("Robert S. French") Newsgroups: gnu.g++.bug Subject: G++ 1.34.1: Bug with function prototypes Message-ID: <8904210150.AA00613@OLIVER.MIT.EDU> Date: 21 Apr 89 01:50:28 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 21 The file: void foo(int (*pfri)()); causes g++ 1.34.1 to error out with: g++ version 1.34.1 /mit/gnu/vaxlib/gcc-cpp -+ -v -undef -D__GNU__ -D__GNUG__ -Dvax -Dunix -D__vax_ _ -D__unix__ /tmp/foo.c /tmp/cc000608.cpp GNU CPP version 1.34 /mit/gnu/vaxlib/gcc-c++ /tmp/cc000608.cpp -quiet -dumpbase /tmp/foo.c -version -o /tmp/cc000608.s GNU C++ version 1.34.1 (vax) compiled by GNU C version 1.34. /tmp/foo.c:1: `pfri' undeclared, outside of functions /tmp/foo.c:1: bad parameter list specification for function `foo' The same file goes through gcc 1.34 fine. Rob