Procedure Names in Fortran, C, and C++

The following table summarizes how Fortran, C, and C++ handle procedure names:

Language

Attributes

Name Translated As

Case of Name in .o File

Fortran

cDEC$ ATTRIBUTES C

name

All lowercase

Fortran

default

name_

All lowercase

C

cdecl (default)

name

Mixed case preserved

C

__stdcall

name

Mixed case preserved

C++

Default

name@@decoration

Mixed case preserved