Re: [gtkmm] Replacing dynamic_cast<> with static_cast<> - compilererror.
- From: "Jarek Dukat" <madmaxer poczta fm>
- To: "gtkmm-main" <gtkmm-list gnome org>
- Subject: Re: [gtkmm] Replacing dynamic_cast<> with static_cast<> - compilererror.
- Date: Wed, 18 Sep 2002 16:50:15 +0200
> On Wed, 2002-09-18 at 15:42, Paulo Pinto wrote:
> > Which means that the dynamic_cast can't be safely replaced.
> > So there's no use in trying to solve that bug that Murray
> > was refering to. Just tell people to upgrade their compilers.
>
> Or not to use the convenience constructors. I have added an FAQ entry
> about this.
I think it would be nice to surround these dangerous c-tors with ifdefs
dependent on compiler version and in this way make them not available for
people using gcc 2.95/2.96. What do you think about it?
----------------------------------------------------------------------
Wiesz, co dzisiaj leci w TV? >>> http://link.interia.pl/f1655
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]