< Previous by Date | Date Index | Next by Date > |
< Previous in Thread | Thread Index | Next in Thread > |
Karl,
you are right, that didn't help. But making
the TargetCommand::Target
non-abstract didn't work either: Casting
the IncomingTarget pointer to a Target
pointer returned NULL.
Maybe this is because the IncomingTarget
class is declared private in
DialogUsageManager? Or should I try to put
IncomingTarget or Target
as separate classes (out of their
containing classes)?
Since I have no idea what's going on here i
can only try things... :-(
Do you have a better idea?
Thanks very much,
Matthias Von: Karl Mutch [mailto:kmutch@xxxxxxxxxxxxx] Gesendet: Fr 21.04.2006 21:28 An: Matthias Moetje - TERASENS GmbH; resiprocate-devel@xxxxxxxxxxxxxxxxxxx Betreff: RE: [reSIProcate] Really Strange compiler behaviour Point taken on the code etc ... One of the things that
could be happening is that as
the MSVC compiler matures it could be revealing
problems areas of code that in the
past worked as a result of a less aggressive compiler
etc.
Even using pointers I think there will still be a
partially constructed object.
Thanks
Karl
From: Matthias Moetje -
TERASENS GmbH [mailto:moetje@xxxxxxxxxxxx]
Sent: Friday, April 21, 2006 10:19 AM To: Karl Mutch; Scott Godin; Alexander Altshuler; resiprocate-devel@xxxxxxxxxxxxxxxxxxx Subject: RE: [reSIProcate] Really Strange compiler behaviour Karl,
thanks very much for your comments. I need to note that
this
is not my code, it's the code that already existed and
probably it has worked on some compilers/platforms and on
others (e.g. VS 2005) perhaps no one has actually been using
the
feature that makes this error relevant.
To
me it seems that using pointers would be the best solution
to
fix this, even if it breaks existing applications (but
actually
it
won't be much more than replacing the & with a * in a
derived ServerAuthManager and maybe deleting some *
operators.
Best,
Matthias
|