| ▲ | stabbles 5 hours ago | |||||||||||||||||||||||||||||||
This is not the case. They are discussing the default value of `g++ -std=...`. That does not complicate bootstrapping as long as the C++ sources of GCC are compatible with older and newer versions of the C++ standard. | ||||||||||||||||||||||||||||||||
| ▲ | cogman10 5 hours ago | parent [-] | |||||||||||||||||||||||||||||||
> as long as the C++ sources of GCC are compatible with older and newer versions of the C++ standard. I've worked on a number of pretty large projects. If the target for the source code changes it can be really hard to keep C++20 features from creeping in. It means that you either need to explicitly build targeting 11, or whoever does code reviews needs to have encyclopedic knowledge of whether or not a change leaked in a future feature. It is "doable" but why would you do it when you can simply keep the compiler targeting 11 and let it do the code review for you. | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||