logoalt Hacker News

cardiffspacemantoday at 7:53 PM0 repliesview on HN

In the last “big” shop I worked in, we were cross-compiling all production code. Each target device had an SDK that came with a GCC and a kernel tarball, inter alia. We had a standard way to set these up. We used C++03 for years. We decided to try C++11 for userland. All the compilers supported that and after some validation, we changed permanently. Neither before the change nor after, did we rely on the absence of a “—-std=“ command line option as the means of choosing the standard for C++ or even C.

Of course we were all ADHD pedantic nerds so take this with a grain of salt.