Technical data

Cray Standard C/C++ Reference Manual
main.c:
extern void fctn(void), FCTN(void);
main()
{
fctn();
FCTN();
}
fctn.c:
#include <stdio.h>
void fctn(void)
{
printf("Hello world\n");
}
#pragma _CRI duplicate fctn as FCTN
Files main.c and fctn.c are compiled and linked using the following
command line:
cc main.c fctn.c
When the executable file a.out is run, the program generates the following
output:
Hello world
Hello world
3.5.4 message Directive
The message directive directs the compiler to write the message defined by text
to stderr as a warning message. Unlike the error directive, the compiler
continues after processing a message directive. The format of this directive is
as follows:
#pragma _CRI message "text"
52 S217936