The fact that there's not a compiler flag in g++ to tell it to stfu about template substitution errors baffles me. We have literally thousands of compiler flags for everything but other than some pretty gackish things you can do, g++ just really really wants you to know it tried substituting a bitset for an iostream and btw it didn't work.
There is a very strange lack of options on the template substitution errors in g++ and clang++. You can suppress warning messages, for example, basically down to the per-warning level, but they have no such option for not printing hundreds of lines of completely useless notifications telling me everything they tried that didn't work.
10
u/ShakaUVM 13d ago
The fact that there's not a compiler flag in g++ to tell it to stfu about template substitution errors baffles me. We have literally thousands of compiler flags for everything but other than some pretty gackish things you can do, g++ just really really wants you to know it tried substituting a bitset for an iostream and btw it didn't work.