vscode-cpptools icon indicating copy to clipboard operation
vscode-cpptools copied to clipboard

Compiler probe fails if relative paths as passed through for unhandled args

Open ryanpholt opened this issue 6 years ago • 22 comments

Starting with 0.29.0, I had to set the compiler path explicitly even though I have configured intellisense with a compile_commands.json file. The compiler to use is in the compile_commands.json and so I would have expected that it would be automatically picked up. I also noticed that it doesn't fallback to a default compiler either. Is this expected?

ryanpholt avatar Jul 28 '20 18:07 ryanpholt

Hi @ryan-holt-1 . I believe I've addressed this, by setting the working directory appropriately when probing the compiler. A fix should be available in our next insiders releases.

Colengms avatar Aug 13 '20 18:08 Colengms

Fixed with https://github.com/microsoft/vscode-cpptools/releases/tag/0.30.0-insiders3 .

sean-mcmanus avatar Aug 21 '20 23:08 sean-mcmanus