Sun Studio 12: Fortran Programming Guide

11.1.3 Case Sensitivity

C and Fortran take opposite perspectives on case sensitivity:

The f95 default is to ignore case by converting subprogram names to lowercase. It converts all uppercase letters to lowercase letters, except within character-string constants.

There are two usual solutions to the uppercase/lowercase problem:

Use one of these two solutions, but not both.

Most examples in this chapter use all lowercase letters for the name in the C function, and do not use the f95 -U compiler option.