Re:A week-long programming retreat
by cwyers on Monday March 05, 2018 @03:04AM
(#16519520)
Sure, but is there a popular, modern C compiler out there that doesn't compile C++ as well? Clang, GCC, Intel, MSVC... all of them compile C++ as well as C. I don't think it's possible to have first-hand support for C and not C++ any more unless you ship your own compiler. It sounds like the issue here is that OpenBSD is shipping older versions of LLVM/Clang and GCC.
[ Parent
| on HN ]
Re:A week-long programming retreat
by temprature on Monday March 05, 2018 @06:10AM
(#16520227)
OpenBSD's base ships the most recent LLVM and Clang (5.01), but there's no LLDB yet and gdb is outdated (6.3, the last GPLv2 version).
He would have had a much better time using C99 than C++11, especially since he didn't want to install a newer gdb from ports.
Actually those C compilers you mention are implemented in C++, so yeah from that point of view you are right.
I was just speaking from language point of view, without regard to specific implementations.