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.
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