build: fix or suppress warnings

- activated "treat warnings as errors"
Suppressing warnings is not that bad as making it fail on warnings.