Skip to content

Duplicate message appeared in output window when delete “exe” for Compiler path on Windows #12445

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

Closed
PhoebeTf opened this issue Jul 5, 2024 · 4 comments
Assignees
Labels
bug Feature: Compile Commands fixed Check the Milestone for the release in which the fix is or will be available. Language Service verified Bug has been reproduced
Milestone

Comments

@PhoebeTf
Copy link
Member

PhoebeTf commented Jul 5, 2024

Environment

VSCode 1.90.2+ C/C++ Extension 1.21.0 pre-release)

Bug Summary and Steps to Reproduce

More info:
Repro platform: Windows
Repro languages: ENU and loc languages

Steps to reproduce:

  1. Create a new folder named 'Test' and open it in VScode
  2. Open the command palette-> Type "C/C++: Edit Configurations(UI)" and hit enter
  3. Delete "exe" for "Compiler path"
  4. Check the output info for "C/C++ Configuration Warnings"

Expected result:
Only one message appeared

Actual result:
Duplicate message appeared:
[7/5/2024, 10:27:44 AM] Unable to resolve configuration with compilerPath "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.". Using "cl.exe" instead.
[7/5/2024, 10:27:44 AM] Unable to resolve configuration with compilerPath "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.". Using "cl.exe" instead.
Cpp_Dup

Whole process:
Cpp_dupOutput

Configuration and Logs

not related

Other Extensions

No response

Additional context

No response

@browntarik browntarik self-assigned this Jul 16, 2024
@browntarik browntarik moved this to Pull Request in cpptools Jul 19, 2024
@sean-mcmanus sean-mcmanus added this to the 1.22.0 milestone Jul 19, 2024
@browntarik browntarik added the fixed Check the Milestone for the release in which the fix is or will be available. label Jul 29, 2024
@browntarik browntarik moved this from Pull Request to Done in cpptools Jul 29, 2024
@sean-mcmanus
Copy link
Contributor

@Ashley-Li
Copy link

Ashley-Li commented Aug 28, 2024

@sean-mcmanus Tested on C/C++ 1.22.0 (pre-release), this issue still repro, please see below test result:
Verify_12445

@PhoebeTf PhoebeTf reopened this Aug 28, 2024
@sean-mcmanus sean-mcmanus removed the fixed Check the Milestone for the release in which the fix is or will be available. label Aug 28, 2024
@sean-mcmanus sean-mcmanus modified the milestones: 1.22.0, 1.22 Aug 28, 2024
@sean-mcmanus
Copy link
Contributor

@PhoebeTf Interesting, I saw it show 2 errors one time too, but then when I retried I got only 1 error. Seems like there's some random bug that causes it to still repro sometimes.

@sean-mcmanus sean-mcmanus moved this from Done to Todo in cpptools Aug 28, 2024
@sean-mcmanus sean-mcmanus modified the milestones: 1.22, 1.22.3 Sep 3, 2024
@browntarik browntarik added the fixed Check the Milestone for the release in which the fix is or will be available. label Sep 4, 2024
@sean-mcmanus
Copy link
Contributor

@github-actions github-actions bot locked and limited conversation to collaborators Oct 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Feature: Compile Commands fixed Check the Milestone for the release in which the fix is or will be available. Language Service verified Bug has been reproduced
Projects
Status: Done
Development

No branches or pull requests

4 participants