[mythtv] Is fixing GCC 4.0 compile issues a task for a novice?

Isaac Richards ijr at case.edu
Fri Apr 22 21:24:22 UTC 2005

On Friday 22 April 2005 05:14 pm, Kyle Rose wrote:
> Daniel Kristjansson wrote:
> > Just do it, it won't be committed unless it's clean. Make sure it still
> > works with gcc 2.95.3, as this is still needed for some platforms.
> > I believe this basically means you can't use all the fancy C++ style
> > casts,
> Not true.  All the fancy (ISO) casts work great: e.g., I have been using
> dynamic_cast successfully in gcc-2.95 for four years at work, and have
> had zero problems.  The same was not true of gcc-2.7.x, but IMO anyone
> trying to use a compiler that old can just lose.

I believe either static_cast<> or const_cast<> doesn't exist in 2.95.

> FWIW, having done lots of 2.95->3.3 porting, the main things you'll run
> into are primarily syntax:

Everything's fine in myth with gcc 3.x.  4.x is a different story.


More information about the mythtv-dev mailing list