5.7.5.3 Pedantic-errors Option

The -pedantic-errors option works in the same way as the -pedantic option, only errors, instead of warnings, are issued when a program is not ISO compliant.