LF Fortran 95

-MLDEFAULT { bc | bd | fc | lf90 | lf95 | msvb | msvc | winapi }

Mixed Language Default

Compile only. Default: -mldefault lf95

Specify the -mldefault option to set the default target language name decoration/calling convention for all program units. Use the -ml option to alternatively affect name mangling only for procedure names in DLL_IMPORT, DLL_EXPORT, and ML_EXTERNAL statements.

Use bc for Borland C++; bd for Borland Delphi; msvb for Microsoft Visual Basic; msvc for Microsoft Visual C++; fc for Fujitsu C; LF95 for LF95; LF90 for LF90; and winapi for accessing the Windows API directly.

Visual Studio Property

The -mldefault option corresponds to the Fortran|Mixed Language|Default Convention property. This property can be set on the property page for the project or source file.

See Also

Setting Build Options