blob: 3b5445409b95f37f043dd95e459e8a22bc0507ce [file] [log] [blame]
joverbey@krakenpf11(XT5):~> craycc errors.c does_not_exist.c
errors.c:
CC-64 craycc: WARNING File = errors.c, Line = 4
An identifier is missing in the declaration.
struct { int a; };
^
CC-144 craycc: 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 craycc: ERROR File = errors.c, Line = 6
The identifier "undefined_variable" is undefined.
undefined_variable = 6;
^
CC-223 craycc: WARNING File = errors.c, Line = 7
The function "function_not_declared" is declared implicitly.
function_not_declared();
^
CC-140 craycc: ERROR File = errors.c, Line = 8
Too many arguments in function call.
one_arg(1, 2, 3);
^
Total warnings detected in errors.c: 2
Total errors detected in errors.c: 3
does_not_exist.c:
CC-5 craycc: ERROR
The source file "does_not_exist.c" is unavailable.
joverbey@krakenpf11(XT5):~>