code: def gcc_checker(code, filename_suffix, arguments, working_directory):
      
      run = run_in_subprocess(code,
                              filename_suffix,
                              arguments + ['-pedantic', '-fsyntax-only'],
                              working_directory=working_directory)
  
      def run_check():
          """Yield errors."""
          result = run()
          if result:
              (output, filename) = result
              for line in output.splitlines():
                  try:
                      yield parse_gcc_style_error_message(line,
                                                          filename=filename)
                  except ValueError:
                      continue
  
      return run_check
docs: Return checker.