Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GCC incorrectly detected as Apple Clang on OSX #6916

Closed
dengyaotriangle opened this issue Feb 6, 2021 · 2 comments
Closed

GCC incorrectly detected as Apple Clang on OSX #6916

dengyaotriangle opened this issue Feb 6, 2021 · 2 comments
Assignees
Labels
bug fixed Check the Milestone for the release in which the fix is or will be available. Language Service regression A bug that didn't exist in a previous release
Milestone

Comments

@dengyaotriangle
Copy link

Type: LanguageService

Describe the bug

  • OS and Version: macOS catalina 10.15.7
  • VS Code Version: 1.53.0
  • C/C++ Extension Version: 1.2.0
  • C++ config: Compiler homebrew GCC 10.2, intellisense with c++17 and gcc-x64.
  • Error only appear in 1.2.0, any previous version of this extension is ok.
  • Intellisense report error while compiler compiles.

Steps to reproduce

Code

std::filesystem::path x("foo");
std::string y("bar");
x=x/y;

yield an error reporting no operator std::filesystem::__cxx11::path / std::string exists

Expected behavior

No error, since both gcc and clang compiles this code without any warning and error.

@sean-mcmanus sean-mcmanus self-assigned this Feb 8, 2021
@sean-mcmanus sean-mcmanus added bug regression A bug that didn't exist in a previous release Language Service labels Feb 8, 2021
@sean-mcmanus sean-mcmanus added this to the 1.2.1 milestone Feb 8, 2021
@sean-mcmanus sean-mcmanus assigned Colengms and unassigned sean-mcmanus Feb 8, 2021
@sean-mcmanus
Copy link
Collaborator

Thanks for reporting this -- it's a regression from 1.1.3 (i.e. downgrading to 1.1.3 is the suggested workaround until we release a fix with 1.2.1).

@Colengms Colengms added the fixed Check the Milestone for the release in which the fix is or will be available. label Feb 8, 2021
@Colengms Colengms changed the title Bogus Intellisense Error Report GCC incorrectly detected as Apple Clang on OSX Feb 9, 2021
@sean-mcmanus sean-mcmanus pinned this issue Feb 9, 2021
@sean-mcmanus sean-mcmanus unpinned this issue Feb 10, 2021
@sean-mcmanus
Copy link
Collaborator

@github-actions github-actions bot locked and limited conversation to collaborators Apr 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug fixed Check the Milestone for the release in which the fix is or will be available. Language Service regression A bug that didn't exist in a previous release
Projects
None yet
Development

No branches or pull requests

3 participants