Add -pedantic, -pendantic-errors to c/c++ checkers

The -pedantic compiler flags throws warning on the use of any language
extensions, and is used when strict ISO-compliance is desired.

-pedantic-errors is equivilient, but throws errors rather than warnings.