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

Wildcard removal and gcc #22559

Open
lazka opened this issue Nov 16, 2024 · 1 comment
Open

Wildcard removal and gcc #22559

lazka opened this issue Nov 16, 2024 · 1 comment

Comments

@lazka
Copy link
Member

lazka commented Nov 16, 2024

There was someone in chat reporting that the wildcard removal broke something which is also referenced in some MS docs: https://code.visualstudio.com/docs/cpp/config-mingw#_modifying-tasksjson and I don't know if there is a good workaround currently.

It seems that cl.exe for example supports them, and since gcc has an official option to enable this at gcc build time I wonder if we should enable it. It's unlikely there is untrusted things being passed to build tools, and it's a common thing to deal with multiple files there.

for the gcc option: https://github.com/gcc-mirror/gcc/blob/b085fc9965b7d1e99725892587682822068f2baa/gcc/configure.ac#L2262-L2270

@Kreijstal
Copy link
Contributor

shouldn't it be a commandline on gcc at runtime not at compile time?

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

2 participants