Mail Archives: djgpp/2002/02/14/08:07:54
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f
|
Date: | Thu, 14 Feb 2002 13:21:18 +0100 (MET)
|
From: | Paul Muehlbach <traexx AT gmx DOT de>
|
To: | djgpp AT delorie DOT com
|
MIME-Version: | 1.0
|
Subject: | |
X-Priority: | 3 (Normal)
|
X-Authenticated-Sender: | #0012439405 AT gmx DOT net
|
X-Authenticated-IP: | [212.185.251.135]
|
Message-ID: | <26256.1013689278@www52.gmx.net>
|
X-Mailer: | WWW-Mail 1.5 (Global Message Exchange)
|
X-Flags: | 0001
|
Reply-To: | djgpp AT delorie DOT com
|
I think, I have found a bug in the error message system:
I use the follow function in a programm:
void _abstract::draw(_bitmap* bmp, _abstract_pointer* abs,
signed long x_base, signed long y_base)
{
if (child.empty())
return;
std::list<_abstract_pointer>::iterator i = child.begin();
/* draw all objects in child */
while (i != child.end())
{
i->abs->draw(bmp, *i, x_base + i->rec->get_x(), y_base +
i->rec->get_y());
i++;
};
};
That is the error message I get:
abstract.cpp(143) Fehler: no matching function for call to
_abstract::draw( _bitmap*& , _abstract_pointer&, long int, long int)'
But _bitmap*& is crazy!. The real error has to sound like
abstract.cpp(143) Fehler: no matching function for call to
`_abstract::draw( _bitmap* , _abstract_pointer*, long int, long int)'
all right! please fix it. (I had fixed my error to: &(*i))
thank
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
- Raw text -