Louhi User's Guide, the 2nd Edition > Program development > Compilers > Mixed-language usage
Tehdyt toimenpiteet

Mixed-language usage

This section gives reference to inter-language calling conventions for C, C++, and Fortran programs using the PGI compilers.

The reader is referred to a good description in the PGI User's Guide, Chapter 10 Inter-language Calling, for more information. Add pointers to GCC and PathScale use.

The following areas need to be considered in mixed-language programming:

• Functions and subroutines in Fortran, C, and C++

• Naming and case conversion conventions

• Compatible data types

• Argument passing and special return values

• Arrays and Indexes