Changed -Wpedantic back to -pedantic for compatibility with GCC versions where -Wpedantic isn't recognized.