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

"Cout is ambigous" error #11122

Closed
aadia1234 opened this issue Jun 23, 2023 · 8 comments
Closed

"Cout is ambigous" error #11122

aadia1234 opened this issue Jun 23, 2023 · 8 comments
Assignees
Labels
bug Language Service regression A bug that didn't exist in a previous release verified Bug has been reproduced
Projects
Milestone

Comments

@aadia1234
Copy link

aadia1234 commented Jun 23, 2023

          Hi, I'm experiencing this exact issue for the first time (June 2023). Here is what I see:

Screenshot 2023-06-23 at 12 11 05 PM

It seems that whenever I'm creating a new statement or modifiyng one of my previous print statements the error occurs. It goes away if I comment then uncomment #include<iostream> or restart vscode (but reappears soon after)

Specs:
Apple M1 Pro
macOS: 13.3.1 (a) (22E772610a)

VSCode:

Version: 1.79.2
Commit: 695af097c7bd098fbf017ce3ac85e09bbc5dda06
Date: 2023-06-14T08:58:33.551Z
Electron: 22.5.7
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Darwin arm64 22.4.0

C/C++ tool version: v1.16.2

Originally posted by @gam3boy1 in #9471 (comment)

@ranganpal
Copy link

I am also getting same error today

@TashinParvez
Copy link

I am also getting same error

@bobbrow bobbrow added bug Language Service regression A bug that didn't exist in a previous release labels Jun 23, 2023
@bobbrow
Copy link
Member

bobbrow commented Jun 23, 2023

I'm not currently reproducing the error on Windows. Can someone run the C/C++: Log Diagnostics command and share it with us? So far, I see one user reporting it happening on Apple M1 Pro. Is anyone seeing this on Windows or linux?

@bobbrow bobbrow added this to the On Deck milestone Jun 23, 2023
@bobbrow bobbrow pinned this issue Jun 23, 2023
@aadia1234
Copy link
Author

I'm not currently reproducing the error on Windows. Can someone run the C/C++: Log Diagnostics command and share it with us? So far, I see one user reporting it happening on Apple M1 Pro. Is anyone seeing this on Windows or linux?

Here's a link to a recent post with the exact same issue on windows: #11123

@bobbrow bobbrow changed the title "Cout is ambigous" error (bug still present) "Cout is ambigous" error Jun 23, 2023
@aadia1234
Copy link
Author

@bobbrow I'd like to point out that the label "regression" doesn't fit because this problem has occurred in vs code previously: #9471 (comment)

@sean-mcmanus
Copy link
Collaborator

@gam3boy1 This new issue does appear to be a 1.16.2 regression, since #9471 has different repro steps.

@sean-mcmanus
Copy link
Collaborator

sean-mcmanus commented Jun 23, 2023

We've repro'd the issue -- the recommended workaround is to downgrade to 1.15.4.

image

A 100% repro requires making an edit inside the function and moving the cursor to a new line (although it's possible a repro is still possible randomly without an edit).

@sean-mcmanus sean-mcmanus added the verified Bug has been reproduced label Jun 23, 2023
@sean-mcmanus sean-mcmanus modified the milestones: On Deck, 1.16.3 Jun 23, 2023
@sean-mcmanus sean-mcmanus added this to Triage in 1.16 via automation Jun 23, 2023
@sean-mcmanus sean-mcmanus moved this from Triage to In progress in 1.16 Jun 23, 2023
@sean-mcmanus sean-mcmanus self-assigned this Jun 23, 2023
@sean-mcmanus sean-mcmanus moved this from In progress to Code Review in 1.16 Jun 23, 2023
@michelleangela
Copy link
Contributor

This is now fixed in release version 1.16.3.

1.16 automation moved this from Code Review to Done Jun 24, 2023
@sean-mcmanus sean-mcmanus unpinned this issue Jun 24, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Aug 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Language Service regression A bug that didn't exist in a previous release verified Bug has been reproduced
Projects
No open projects
1.16
Done
Development

No branches or pull requests

6 participants