General GCC Support Notes

C++test supports the following distributions of the GCC compiler:

To use any of these supported distributions, the directory containing the GCC executable must be included in the $PATH environment variable.


Tip

In some versions of CygwinTM (for Windows), it is possible to have GCC 2.95.x and GCC 3.x installed at the same time. This is because there are two differently-named executables for GCC 2.95.x and GCC 3.x, so both of them can be located on the $PATH and both will be detected by C++test.

Unsupported Compiler Extensions for GCC Compilers

The following sections detail the GCC compiler extensions that C++test does not currently support. http://gcc.gnu.org/onlinedocs was used as the source of information on GNU compiler extensions.

GCC 2.95.x

Unsupported Features

Incompatibilities

GCC 3.2.x

Unsupported Features

Incompatibilities

GCC 3.3.x

Unsupported Features

Incompatibilities

GCC 3.4.x

Unsupported Features

Incompatibilities

GCC 4.0.x

Unsupported Features

Incompatibilities

GCC 4.1.x

Same as for GCC 4.0.x.

GCC 4.2.x

Same as for GCC 4.0.x.

GCC 4.3.x

Same as for GCC 4.0.x

GCC 4.4.x

Same as for GCC 4.0.x

GCC 4.5.x

Same as for GCC 4.0.x

GCC 4.6.x

Same as for GCC 4.0.x

GCC 4.7.x

Same as for GCC 4.0.x

GCC 4.8.x

Same as for GCC 4.0.x

GCC 4.9.x

Same as for GCC 4.0.x

GCC 5.x

Same as for GCC 4.0.x.

GCC 6.x

Same as for GCC 4.0.x

Missing C++17 features:

N4295 Folding expressions

P0036R0 Unary Folds and Empty Parameter Packs

GCC 7.x

Same as for GCC 4.0.x.