code: def disable_clang_offsetof_extension(clang_version):
      if int(clang_version.split(".")[0]) in (16, 17):
          write_to_bazelrc("build --copt=-Wno-gnu-offsetof-extensions")
  
imports: import argparse
  import errno
  import glob
  import json
  import os
  import platform
  import re
  import subprocess
  import sys
label_desc: Use image node_id 35 for calling a global function with example usage: disable_clang_offsetof_extension(clang_version) without return types