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

The wildcard can't be used by the C/C++ compiler recommanded! #7895

Open
WangShiSuiFeng24 opened this issue Dec 28, 2024 · 1 comment
Open

Comments

@WangShiSuiFeng24
Copy link

When I browsed the doc of GCC on Windows,I found that I could modify my tasks.json file to build multiple C++ files by using an argument like "${workspaceFolder}/*.cpp" instead of "${file}". But there is a fatal error when I run my program. The information is that *.cpp is invalid argument.

What is interesting is that my program runs sucessfully if I use another compiler downloaded from https://winlibs.com/.
Image

@WangShiSuiFeng24
Copy link
Author

The recommanded compiler is installed by msys2 with the command line "pacman -S --needed base-devel mingw-w64-ucrt-x86_64-toolchain
"
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant