names

Specifies how source code identifiers and external names are interpreted.

IDE Equivalent

Windows: External Procedures > Name Case Interpretation
Linux: None

Architectures

IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture

Syntax

Linux: -names keyword
Windows:  /names:keyword

Arguments

keyword     Specifies how to interpret the identifiers and external names in source code. Possible values are:
  lowercase Causes the compiler to ignore case differences in identifiers and to convert external names to lowercase.
  uppercase Causes the compiler to ignore case differences in identifiers and to convert external names to uppercase.
  as_is Causes the compiler to distinguish case differences in identifiers and to preserve the case of external names.

Default

lowercase

This is the default on Linux systems. The compiler ignores case differences in identifiers and converts external names to lowercase.

uppercase

This is the default on Windows systems. The compiler ignores case differences in identifiers and converts external names to uppercase.

Description

This option specifies how source code identifiers and external names are interpreted. It can be useful in mixed-language programming.

This naming convention applies whether names are being defined or referenced.

You can use the ALIAS directive to specify an alternate external name to be used when referring to external subprograms.

Caution

On Windows systems, if you specify option /iface:cref, it overrides the default for external names and causes them to be lowercase. It is as if you specified "!dec$ attributes c, reference" for the external name.
If you specify option /iface:cref and want external names to be uppercase, you must explicitly specify option /names:uppercase.

Alternate Options

names lowercase Linux: -lowercase
Windows: /Qlowercase
names uppercase  Linux: -uppercase
Windows: /Quppercase

See Also

iface compiler option

IntelŪ Fortran Language Reference: the ALIAS directive