Home GNU Compiler Collection (GCC) www.imodulo.com · 2003-11-10
Imodulo

Tru64 Pragmas

[ Up: Pragmas ]
[ Previous: Solaris Pragmas ]

For compatibility with the Compaq C compiler, the following pragma is supported.

extern_prefix string

This pragma renames all subsequent function and variable declarations such that string is prepended to the name. This effect may be terminated by using another extern_prefix pragma with the empty string.

This pragma is similar in intent to to the asm labels extension (Asm Labels) in that the system programmer wants to change the assembly-level ABI without changing the source-level API. The preprocessor defines __PRAGMA_EXTERN_PREFIX if the pragma is available.