[comp.lang.c] debugger problem?

rgr@m10ux.UUCP (10/02/87)

I'm having a problem--When I compile the following program
with -g (on system 5, on a VAX 8650), I get

"t.c", line 9: compiler error: compiler takes size of function

here's the code:

typedef struct _sim_{
	int j;
	} SIM;

typedef SIM ARLST[ 5 ], (*ARRLSTP)[ 5 ];

ARRLSTP sim_add( )
{
}

It compiles okay without -g.  Does anyone know what this means?
-- 
  +-------------------------------------------------------------------+
  |          Duke Robillard                {ihnp4!}m10ux!rgr          |
  |              Disclaimer:  I claim to live in Dis.                 |
  +-------------------------------------------------------------------+