Hacker News new | ask | show | jobs
by gilnaa 2739 days ago
It's not always up to me which compiler version I use.

Some organizations change compilers very slowly, and you can't assume you always have the most updated compiler.

For example, when writing a library for my org I assumed that GCC 5.4 (2016) is a reasonable lower bound, and I used the appropriate set of supported C++11 features, and twice I had to downgrade as different teams notified me they had older and older compilers. (and couldn't upgrade)