Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ihnp4!homxb!mhuxt!m10ux!rgr From: rgr@m10ux.UUCP Newsgroups: comp.lang.c,comp.unix.questions Subject: debugger problem? Message-ID: <387@m10ux.UUCP> Date: Fri, 2-Oct-87 13:56:07 EDT Article-I.D.: m10ux.387 Posted: Fri Oct 2 13:56:07 1987 Date-Received: Sun, 4-Oct-87 00:36:32 EDT Organization: AT&T Bell Labs, Murray Hill Lines: 23 Xref: utgpu comp.lang.c:4442 comp.unix.questions:3912 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. | +-------------------------------------------------------------------+