code: def msvc_set_PCHPDBFLAGS(env):
      
      if env.get('MSVC_VERSION',False):
          maj, min = msvc_version_to_maj_min(env['MSVC_VERSION'])
          if maj < 8:
              env['PCHPDBFLAGS'] = SCons.Util.CLVar(['${(PDB and "/Yd") or ""}'])
          else:
              env['PCHPDBFLAGS'] = ''
      else:
          # Default if we can't determine which version of MSVC we're using
          env['PCHPDBFLAGS'] = SCons.Util.CLVar(['${(PDB and "/Yd") or ""}'])
docs: Set appropriate PCHPDBFLAGS for the MSVC version being used.