GCC, The GNU Compiler Collection
We use GCC 14.2, which includes both
gcc-14.2
and
g++-14.2
: the C and C++ compilers.
Do not use older versions as they have poor compliance with the
C++ standard. You are welcome to use more recent versions of
GCC if you can use one, but the tests will be done with
14.2. Using a more recent version is often a good
means to get better error messages if you can’t understand what
GCC 14.2 is trying to say.
There are good patches floating around to improve GCC. The GCC Bounds Checking Page & mudflap are interesting examples in this respect. They are however no longer maintained and we advise you to have a look at sanitizers instead, which is officially part of GCC.