Issue #861. configure option --no-unused-warnings

Added an option "--no-unused-warnings" that hides compiler warnings about unused variables, parameters and functions. -Wunused-but-set-parameter is explicitly enabled because it may indicate more serious error.