Instructs the compiler to select a specific ABI implementation.
Windows: None
Linux: Preprocessor > gcc Compatibility
Options
Mac OS X: None
IA-32 architecture, Intel® 64 architecture, IA-64 architecture
| Linux and Mac OS X: | -fabi-version=n |
| Windows: | None |
| n | Is the ABI implementation. Possible values are: | |
| 0 | Requests the latest ABI implementation. | |
| 1 | Requests the ABI implementation used in gcc 3.2 and gcc 3.3. | |
| 2 | Requests the ABI implementation used in gcc 3.4 and higher. | |
| Varies | The compiler uses the ABI implementation that corresponds to the installed version of gcc. |
This option tells the compiler to select a specific ABI implementation. This option is compatible with gcc option -fabi-version. If you have multiple versions of gcc installed, the compiler may change the value of n depending on which gcc is detected in your path.
Note
gcc 3.2 and 3.3 are not fully ABI-compliant, but gcc 3.4 is highly ABI-compliant.
Caution
Do not mix different values for -fabi-version in one link.
None