Comeau Computing Home
Comeau's gcc/g++ Compatibility


Comeau C/C++ 4.3.3 and above provides support for the command-line switches --gcc, --g++, --no_gcc and --no_g++. Currently, this is only available for LINUX/Intel/ELF ports of Comeau C/C++. When active, the intent is to provide some language compatibility with GNU C compilers and C++ compilers respectively. Note that the compatibility is neither exact (i.e., some extensions may have a slightly different meaning) nor complete (some extensions are not implemented). Note also that the compatibility incorporates many gnu bugs and undocumented features as a gesture for consistent behavior despite the moving target.

The list of compatibilities listed below are gcc compatibilities provided by Comeau C in GNU C mode; in fact, the --gcc and --no_gcc command-line switches imply C mode even when no --c option is specified. The list of Comeau's support for g++ compatibilities are listed further below. The set of extensions enabled with the --gcc option includes the following, shown in no meaningful order:

The list of compatibilities listed below are g++ compatibilities provided by Comeau C++ in GNU C++ mode; in fact, the --g++ and --no_g++ command-line switches imply C++ mode even when no --c++ option is specified. The set of extensions enabled with the --g++ option includes the following, shown in no meaningful order: The above lists may be incomplete.

Comeau Computing
http://www.comeaucomputing.com

(c) © 2001-2013 Comeau Computing. All Rights Reserved.