• Sam Lantinga's avatar
    Fixed bug #537 · d2e9f851
    Sam Lantinga authored
    Description From  esigra   2008-01-07 16:20:21   (-) [reply]
    
    I try to get a clean compile for a project using SDL. But I get warnings
    from SDL headers when I use -Wold-style-cast. This is especially bad
    because I plan to build the software with -Werror=old-style-cast when we
    have switched over to GCC 4.2, which has that option.
    
    But this problem can be fixed in the SDL headers. I checked out the SVN
    version and made some patches. See the attached patch.
    
    --HG--
    extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403532
    d2e9f851
SDL_endian.h 6 KB