Skip to content

Prevent probing of compilers that are not gcc, clang, or a variant #6314

Closed

Description

We should add a verification that a compiler is probeable, and avoid any subsequent probe attempts if it is not. Currently, only gcc, clang, and variants of those, are probeable.

For example, if a user has a compile_commands.json that refers to a C/C++ compiler we do not support (i.e. gomacc.exe), we may probe it for each entry (if args differ, since we don't know what args are relevant), resulting in way too many, slow compiler-probe operations that will never succeed. We could use a single check to determine if a compiler is probeable or not. If not, we can avoid any subsequent probing of that executable.

Activity

  1. added this to the 1.2.0 milestone on Oct 29, 2020
  2. added
    fixedCheck the Milestone for the release in which the fix is or will be available.
    and removed
    fixedCheck the Milestone for the release in which the fix is or will be available.
    on Jan 26, 2021
  3. locked and limited conversation to collaborators on Mar 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Feature: ConfigurationAn issue related to configuring the extension or IntelliSenseLanguage ServicebugfixedCheck the Milestone for the release in which the fix is or will be available.

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions