Mail Archives: djgpp/1997/02/04/01:42:19
On 1 Feb 1997 01:23:19 GMT, stbarham AT es DOT co DOT nz (Sam Barham) wrote:
>I'm trying to learn C++ and objects and stuff, but when I compile my program, I
>get an error for EVERY reference to a void in one of the classes I'm using
>
>The error goes like:
>request for member 'get_pusher' in 'map()', which is of non-aggregate tyor
>'board()()'
>
>where get_pusher is the void, board is the object, and map is the instance
>
>I compile it using:
>gcc -Wall roboedit.cc -o roboedit.exe -lalleg
>
>Sorry if if this is a daft question, but I'm learning out of a book.
Please post some simple code which generates this error; it's not easy
to fix bugs without source code. Your entire source file would
probably be inappropriate; try to cut out irrelevant code.
George Foot
- Raw text -