blob: 9239cac747f64bedd51032fb1c75467fb8fa05ff [file] [log] [blame]
joverbey@krakenpf11(XT5):~> crayc++ errors.c does_not_exist.c
errors.c:
CC-64 crayc++: WARNING File = errors.c, Line = 4
An identifier is missing in the declaration.
struct { int a; };
^
CC-144 crayc++: ERROR File = errors.c, Line = 5
A value of type "double" cannot be used to initialize an entity of type
"char *".
char *ptr = 1.2345;
^
CC-20 crayc++: ERROR File = errors.c, Line = 6
The identifier "undefined_variable" is undefined.
undefined_variable = 6;
^
CC-20 crayc++: ERROR File = errors.c, Line = 7
The identifier "function_not_declared" is undefined.
function_not_declared();
^
CC-140 crayc++: ERROR File = errors.c, Line = 8
Too many arguments in function call.
one_arg(1, 2, 3);
^
Total warnings detected in errors.c: 1
Total errors detected in errors.c: 4
does_not_exist.c:
CC-5 crayc++: ERROR
The source file "does_not_exist.c" is unavailable.
joverbey@krakenpf11(XT5):~>