Re: [AD] Allegro 4.2.0 RC2 |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
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
-- Regards, Michal ICQ# 175762750
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |