remove -Wall from release build; add -pedantic to debug build
fix -Wpedantic (-Wextra-semi)