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

Full C++ support #21

Closed
Radeonmann opened this issue Nov 29, 2021 · 2 comments
Closed

Full C++ support #21

Radeonmann opened this issue Nov 29, 2021 · 2 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Radeonmann
Copy link
Collaborator

Radeonmann commented Nov 29, 2021

Currently C++ seems only partially supported. #include<vector> e.g. does not work.

Probably we need to provide gcc.exe / g++.exe depending on the file type *.c / *.h / *.cpp / *.hpp. Currently the configuration provider always sends gcc to the C/C++ extension.
_getConfiguration

@Radeonmann Radeonmann added the bug Something isn't working label Nov 29, 2021
@Radeonmann Radeonmann added this to the v0.0.4 milestone Nov 29, 2021
@Radeonmann Radeonmann self-assigned this Nov 29, 2021
@Radeonmann
Copy link
Collaborator Author

Radeonmann commented Nov 30, 2021

Mostly fixed with #10
Investigation of initialization of std::vector required (red squiggles)
VSCode_Cpp_Error

@Radeonmann
Copy link
Collaborator Author

The problem was the -ansi compiler switch which was defined in defaultCompilerArgs

The compiler switch was commented out and now it works properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant