1
Programming / gcc compiler warnings patch
« on: June 17, 2014, 04:25:51 pm »
I'm attempting to build a package on Fedora 20. It adds the compiler flag -Wall, so (along with -Werror from configure) I get a lot of build failures. I've attached a patch to fix various problems including
unused variables or methods (-Wunused)
uninitialized variables (-Wuninitialized)
signed/unsigned comparisons (-Wsign-compare)
order of initiliazers (-Wreorder)
unused variables or methods (-Wunused)
uninitialized variables (-Wuninitialized)
signed/unsigned comparisons (-Wsign-compare)
order of initiliazers (-Wreorder)