-Wpedantic replaced with -pedantic-errors