www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/04/01:42:19

From: mert0407 AT sable DOT ox DOT ac DOT uk (George Foot)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: learning objects
Date: Tue, 04 Feb 1997 05:35:25 GMT
Organization: Oxford University
Lines: 22
Message-ID: <32f6ca0f.51908381@news.ox.ac.uk>
References: <5cu5u7$nfu AT Chaos DOT es DOT co DOT nz>
NNTP-Posting-Host: mc31.merton.ox.ac.uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019