function pointer

Thomas Kunert kunert@physik.tu-dresden.de
Tue Jul 14 05:53:00 GMT 1998


The following code refuses to compile with egcs-2.91.47 19980713, but
does with egcs-1.0.2:

struct A {};

void (*g)(A*);

void f()
{
  A* h;
  g(h);
}

--
Thomas Kunert



More information about the Gcc-bugs mailing list