- From: Thomas Dreibholz <dreibh AT irmgard.exp-math.uni-essen.de>
- To: "Marjan Bozinovski" <marjanb AT cpk.auc.dk>, "Thomas Dreibholz" <dreibh AT exp-math.uni-essen.de>, <rsplib-discussion AT sctp.de>
- Subject: Re: [RSPlib-Discusssion] fail-over problems
- Date: Fri Oct 4 09:27:01 2002
- List-id: RSPlib Discussions <rsplib-discussion.sctp.de>
- Organization: University of Essen, Institute for Experimental Mathematics
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Donnerstag, 3. Oktober 2002 13:12, Marjan Bozinovski wrote:
>
> No, I meant the parameter parentCondition (void
>
> Condition::addParent(Condition* parentCondition)). Please use this for
>
> the debug output in addParent() and removeParent().
>
>
I did this:
>
>
-----------------
>
printf("adding parent %p (%s) to %p
>
(%s)",(void*)parentCondition,parentCondition->getName(),(void*)this,this->g
>
e tName);
>
------------------
>
>
and then gmake install, but I get:
>
-----------------
>
condition.cc: In method `void Condition::addParent(Condition *)':
>
condition.cc:74: invalid use of member (did you forget the `&' ?)
>
condition.cc: In method `void Condition::removeParent(Condition *)':
>
condition.cc:90: invalid use of member (did you forget the `&' ?)
>
gmake[1]: *** [condition.lo] Error 1
>
gmake[1]: Leaving directory `/usr/local/socketapi-1.0.0/socketapi'
>
gmake: *** [install-recursive] Error 1
>
-----------------------
>
>
What am I doing wrong?
Use this->getName() to get the condition's name, not this->getName (this will
return the pointer to the getName() function).
Best regards
- --
=======================================================================
Dipl.-Inform. Thomas Dreibholz
Molbachweg 7
D-51674 Wiehl-Forst Mail:
dreibh AT exp-math.uni-essen.de
Germany WWW:
http://www.exp-math.uni-essen.de/~dreibh
=======================================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see
http://www.gnupg.org
iD8DBQE9nUHN32BbsHYPLWURAgT9AKCcI8GGkTpfUQL6euDmgnfD6paT7QCfYP6i
KAZkxX6IIl/mMAymfnyJGdg=
=fpsI
-----END PGP SIGNATURE-----
Archive powered by MHonArc 2.6.19+.