unused arguments warnings--
remove the --cast-qual warning for gcc compilers