text: import sys
  
  
  # Support @response-file notation for windows to reduce cmd length
  if sys.argv[1].startswith('@'):
      with open(sys.argv[1][1:]) as afile:
          sys.argv[1:] = afile.read().splitlines()
  
  
  with open(sys.argv[1], 'w') as f:
      f.write('#if defined(__GNUC__)\n')
      f.write('#pragma GCC diagnostic ignored "-Wunknown-pragmas"\n')
      f.write('#if defined(__clang__)\n')
      f.write('#pragma GCC diagnostic ignored "-Wunknown-warning-option"\n')
      f.write('#endif\n')
      f.write('#pragma GCC diagnostic ignored "-Wsubobject-linkage"\n')
      f.write('#endif\n\n')
  
      for i in sys.argv[2:]:
          f.write('#include "' + i + '"\n')
  