build: fix or suppress warnings

- activated "treat warnings as errors"
This doesn't, it is better to fix the warning, or just don't hide them.