Re: [AD] Allegro 4.2.0 RC2

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Sun, 2005-08-28 at 13:38 +0200, Michal Molhanec wrote:
> Elias Pschernig wrote:
> > Thanks, makes sense. But gcc 4.0.2 doesn't warn about it even with
> > -pedantic.. so want to think about it before committing. Is this a bug
> > in gcc? Or is there some reason behind it, and we need no (void*)?
> 
> This is just because MSVC doesn't like to loose that const qualifier. 
> Casting it to (void*) explicitly should be troublefree as the load_font 
> parameter is (void*) anyway
> 

Yes, I'd have expected gcc to warn about it too. Committed it.

-- 
Elias Pschernig





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/