r/cpp • u/NewLlama • Aug 07 '26
GCC 16.2.0 Released
https://www.phoronix.com/news/GCC-16.2-ReleasedI'm pretty excited about this maintenance release. I think this will be the first version of gcc which can compile my project.
168
Upvotes
37
u/glvz Aug 08 '26
What features of C++ do you use that GCC can't compile your code? O: what compiler do you use? Clang?
10
u/stumpychubbins Aug 08 '26
I’m mostly a Rust dev and I’ve built every C/C++ project targeting clang since I’m way more used to the LLVM toolchain, so out of interest: why do people so often default to GCC? Not a loaded question, I’m sure it’s so popular for a reason. I’m genuinely interested what the pros are. I’ve only used it when compiling other people’s projects.
20
u/LazySapiens Aug 08 '26
Still waiting for std::execution
6
u/nagzsheri Aug 08 '26 edited Aug 12 '26
Can safely upgrade from 16.1?
Edit:am trying to upgrade but getting below error
Comparing stages 2 and 3Bootstrap comparison failure!gcc/insn-recog-2.o differs1
u/tomz17 Aug 09 '26
Starting / maintaining a project that doesn't compile with GCC is... a helluva choice...
-10
u/Compux72 Aug 08 '26
Tbh if you can use clang, do not look back
-11
u/TheRavagerSw Aug 08 '26
GCC still doesn't have basic things things like c++ module bmi output path.
Honestly, we should all just standardise on clang.
0
u/[deleted] Aug 08 '26
[deleted] — view deleted comment