Add --warnings-as-errors configure option
Fix class/struct mismatch
Remove unused function parameter
Call previously missed unit tests