[mythtv] PATCH: fix Mythweather compile with gcc 3.4.1+

Isaac Richards ijr at po.cwru.edu
Thu Aug 19 00:16:54 EDT 2004

On Wednesday 18 August 2004 11:36 pm, Mark Spieth wrote:
> maybe you can put in a #define
> #if GCC3
> #define STATIC_CAST(x) static_cast<x>
> #else
> #define STATIC_CAST(x) (x)
> #endif
> best of both worlds.

Ugly, and not worth the effort, IMO.  static_cast<> isn't really that much 
safer than a c-style cast.


More information about the mythtv-dev mailing list