enable error on unused function parameters in build process

removes -Wunused-parameter flag

fixes #369