# mregparm-version

Determines which version of the Application Binary Interface (ABI) is used for the regparm parameter passing convention.

## Architecture Restrictions

Only available on IA-32 architecture

## Syntax

Linux: | -mregparm-version=n

macOS: |

macOS: | None

Windows: | None

## Arguments

n | Specifies the ABI implementation to use. Possible values are:
0 | Tells the compiler to use the most recent ABI implementation.
1 | Tells the compiler to use the ABI implementation that is compatible with gcc 3.4.6 and icc 15.0.

## Default

0 | The compiler uses the most recent ABI implementation.

## Description

This option determines which version of the Application Binary Interface (ABI) is used for the regparm parameter passing convention. This option lets you choose compatibility with previous ABI implementations.

## IDE Equivalent

None

## Alternate Options

None

Parent topic: Code Generation Options

## See Also

mregparm compiler option