Added and fixed warnings for build

 - added -Wall and -Werror flags for release build
 - fixed warning in splashtools
 - fixed warning in PDC