Compile pedantic

This introduces more pedantic options for common mistakes.