235 lines
11 KiB
Text
235 lines
11 KiB
Text
mkdir: cannot create directory ‘build’: File exists
|
||
make: [Makefile:33: builddir] Error 1 (ignored)
|
||
mkdir: cannot create directory ‘build-tmp’: File exists
|
||
make: [Makefile:34: builddir] Error 1 (ignored)
|
||
mv: missing destination file operand after 'build-tmp/'
|
||
Try 'mv --help' for more information.
|
||
make: [Makefile:36: builddir] Error 1 (ignored)
|
||
parser.y: warning: 1 shift/reduce conflict [-Wconflicts-sr]
|
||
parser.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
|
||
lex.yy.c:1248:16: warning: ‘input’ defined but not used [-Wunused-function]
|
||
lex.yy.c:1205:17: warning: ‘yyunput’ defined but not used [-Wunused-function]
|
||
src/exec_common.c: In function ‘assign’:
|
||
src/exec_common.c:55:39: error: stray ‘\302’ in program
|
||
55 | if((dst->tag.type == src.tag.type ||<U+00A0>dst->tag.type == T_any)
|
||
| ^~~~~~~~
|
||
src/exec_common.c: In function ‘fncall’:
|
||
src/exec_common.c:69:9: error: ‘returnv’ undeclared (first use in this function)
|
||
69 | returnv = fn->bi();
|
||
| ^~~~~~~
|
||
src/exec_common.c:69:9: note: each undeclared identifier is reported only once for each function it appears in
|
||
src/exec_common.c:73:23: warning: implicit declaration of function ‘execute’ [-Wimplicit-function-declaration]
|
||
73 | returnv = fn1(execute(params[0]));
|
||
| ^~~~~~~
|
||
src/exec_common.c:73:23: error: incompatible type for argument 1 of ‘fn1’
|
||
73 | returnv = fn1(execute(params[0]));
|
||
| ^~~~~~~~~~~~~~~~~~
|
||
| |
|
||
| int
|
||
src/exec_common.c:73:23: note: expected ‘Value’ but argument is of type ‘int’
|
||
src/exec_common.c:77:23: error: incompatible type for argument 1 of ‘fn2’
|
||
77 | returnv = fn2(execute(params[0]),execute(params[1]));
|
||
| ^~~~~~~~~~~~~~~~~~
|
||
| |
|
||
| int
|
||
src/exec_common.c:77:23: note: expected ‘Value’ but argument is of type ‘int’
|
||
src/exec_common.c:77:42: error: incompatible type for argument 2 of ‘fn2’
|
||
77 | returnv = fn2(execute(params[0]),execute(params[1]));
|
||
| ^~~~~~~~~~~~~~~~~~
|
||
| |
|
||
| int
|
||
src/exec_common.c:77:42: note: expected ‘Value’ but argument is of type ‘int’
|
||
src/exec_common.c:85:12: error: incompatible types when returning type ‘int’ but ‘Value’ was expected
|
||
85 | return execute(fn->stmt);
|
||
| ^~~~~~~~~~~~~~~~~
|
||
src/exec_common.c: In function ‘flisp_free’:
|
||
src/exec_common.c:136:21: warning: unused parameter ‘pos’ [-Wunused-parameter]
|
||
136 | void flisp_free(u32 pos){
|
||
| ~~~~^~~
|
||
src/exec_common.c: In function ‘int_to_str’:
|
||
src/exec_common.c:190:24: warning: unused parameter ‘x’ [-Wunused-parameter]
|
||
190 | Value int_to_str(Value x){
|
||
| ~~~~~~^
|
||
src/exec_common.c: In function ‘fix_to_str’:
|
||
src/exec_common.c:194:24: warning: unused parameter ‘x’ [-Wunused-parameter]
|
||
194 | Value fix_to_str(Value x){
|
||
| ~~~~~~^
|
||
src/exec_common.c: In function ‘flt_to_str’:
|
||
src/exec_common.c:198:24: warning: unused parameter ‘x’ [-Wunused-parameter]
|
||
198 | Value flt_to_str(Value x){
|
||
| ~~~~~~^
|
||
src/exec_common.c: In function ‘str_to_int’:
|
||
src/exec_common.c:202:24: warning: unused parameter ‘x’ [-Wunused-parameter]
|
||
202 | Value str_to_int(Value x){
|
||
| ~~~~~~^
|
||
src/exec_common.c: In function ‘str_to_fix’:
|
||
src/exec_common.c:206:24: warning: unused parameter ‘x’ [-Wunused-parameter]
|
||
206 | Value str_to_fix(Value x){
|
||
| ~~~~~~^
|
||
src/exec_common.c: In function ‘str_to_flt’:
|
||
src/exec_common.c:210:24: warning: unused parameter ‘x’ [-Wunused-parameter]
|
||
210 | Value str_to_flt(Value x){
|
||
| ~~~~~~^
|
||
src/exec_common.c: In function ‘sml’:
|
||
src/exec_common.c:346:17: warning: unused parameter ‘a’ [-Wunused-parameter]
|
||
346 | Value sml(Value a, Value b){
|
||
| ~~~~~~^
|
||
src/exec_common.c:346:26: warning: unused parameter ‘b’ [-Wunused-parameter]
|
||
346 | Value sml(Value a, Value b){
|
||
| ~~~~~~^
|
||
src/exec_common.c: In function ‘sml_eq’:
|
||
src/exec_common.c:350:20: warning: unused parameter ‘a’ [-Wunused-parameter]
|
||
350 | Value sml_eq(Value a, Value b){
|
||
| ~~~~~~^
|
||
src/exec_common.c:350:29: warning: unused parameter ‘b’ [-Wunused-parameter]
|
||
350 | Value sml_eq(Value a, Value b){
|
||
| ~~~~~~^
|
||
src/exec_common.c: In function ‘eq’:
|
||
src/exec_common.c:354:16: warning: unused parameter ‘a’ [-Wunused-parameter]
|
||
354 | Value eq(Value a, Value b){
|
||
| ~~~~~~^
|
||
src/exec_common.c:354:25: warning: unused parameter ‘b’ [-Wunused-parameter]
|
||
354 | Value eq(Value a, Value b){
|
||
| ~~~~~~^
|
||
src/exec_common.c: In function ‘gt_eq’:
|
||
src/exec_common.c:358:19: warning: unused parameter ‘a’ [-Wunused-parameter]
|
||
358 | Value gt_eq(Value a, Value b){
|
||
| ~~~~~~^
|
||
src/exec_common.c:358:28: warning: unused parameter ‘b’ [-Wunused-parameter]
|
||
358 | Value gt_eq(Value a, Value b){
|
||
| ~~~~~~^
|
||
src/exec_common.c: In function ‘gt’:
|
||
src/exec_common.c:362:16: warning: unused parameter ‘a’ [-Wunused-parameter]
|
||
362 | Value gt(Value a, Value b){
|
||
| ~~~~~~^
|
||
src/exec_common.c:362:25: warning: unused parameter ‘b’ [-Wunused-parameter]
|
||
362 | Value gt(Value a, Value b){
|
||
| ~~~~~~^
|
||
src/exec_common.c: In function ‘not’:
|
||
src/exec_common.c:366:17: warning: unused parameter ‘a’ [-Wunused-parameter]
|
||
366 | Value not(Value a){
|
||
| ~~~~~~^
|
||
src/exec_common.c: In function ‘and’:
|
||
src/exec_common.c:370:17: warning: unused parameter ‘a’ [-Wunused-parameter]
|
||
370 | Value and(Value a, Value b){
|
||
| ~~~~~~^
|
||
src/exec_common.c:370:26: warning: unused parameter ‘b’ [-Wunused-parameter]
|
||
370 | Value and(Value a, Value b){
|
||
| ~~~~~~^
|
||
src/exec_common.c: In function ‘or’:
|
||
src/exec_common.c:374:16: warning: unused parameter ‘a’ [-Wunused-parameter]
|
||
374 | Value or(Value a, Value b){
|
||
| ~~~~~~^
|
||
src/exec_common.c:374:25: warning: unused parameter ‘b’ [-Wunused-parameter]
|
||
374 | Value or(Value a, Value b){
|
||
| ~~~~~~^
|
||
src/exec_common.c: In function ‘len’:
|
||
src/exec_common.c:378:17: warning: unused parameter ‘a’ [-Wunused-parameter]
|
||
378 | Value len(Value a){
|
||
| ~~~~~~^
|
||
src/exec_common.c: In function ‘push’:
|
||
src/exec_common.c:382:18: warning: unused parameter ‘a’ [-Wunused-parameter]
|
||
382 | Value push(Value a, Value b){
|
||
| ~~~~~~^
|
||
src/exec_common.c:382:27: warning: unused parameter ‘b’ [-Wunused-parameter]
|
||
382 | Value push(Value a, Value b){
|
||
| ~~~~~~^
|
||
src/exec_common.c: In function ‘pop’:
|
||
src/exec_common.c:386:17: warning: unused parameter ‘a’ [-Wunused-parameter]
|
||
386 | Value pop(Value a, Value b){
|
||
| ~~~~~~^
|
||
src/exec_common.c:386:26: warning: unused parameter ‘b’ [-Wunused-parameter]
|
||
386 | Value pop(Value a, Value b){
|
||
| ~~~~~~^
|
||
src/exec_common.c: At top level:
|
||
src/exec_common.c:441:20: warning: missing braces around initializer [-Wmissing-braces]
|
||
441 | FnSig builtins[] = {
|
||
| ^
|
||
......
|
||
459 | {{0} ,0,1,{.bi = BICAST(nwline)}}
|
||
| {}
|
||
src/exec_common.c:441:20: warning: missing braces around initializer [-Wmissing-braces]
|
||
441 | FnSig builtins[] = {
|
||
| ^
|
||
......
|
||
459 | {{0} ,0,1,{.bi = BICAST(nwline)}}
|
||
| {}
|
||
src/exec_common.c:441:20: warning: missing braces around initializer [-Wmissing-braces]
|
||
441 | FnSig builtins[] = {
|
||
| ^
|
||
......
|
||
459 | {{0} ,0,1,{.bi = BICAST(nwline)}}
|
||
| {}
|
||
src/exec_common.c: In function ‘fncall’:
|
||
src/exec_common.c:90:1: warning: control reaches end of non-void function [-Wreturn-type]
|
||
90 | }
|
||
| ^
|
||
src/exec_common.c: In function ‘int_to_str’:
|
||
src/exec_common.c:192:1: warning: control reaches end of non-void function [-Wreturn-type]
|
||
192 | }
|
||
| ^
|
||
src/exec_common.c: In function ‘fix_to_str’:
|
||
src/exec_common.c:196:1: warning: control reaches end of non-void function [-Wreturn-type]
|
||
196 | }
|
||
| ^
|
||
src/exec_common.c: In function ‘flt_to_str’:
|
||
src/exec_common.c:200:1: warning: control reaches end of non-void function [-Wreturn-type]
|
||
200 | }
|
||
| ^
|
||
src/exec_common.c: In function ‘str_to_int’:
|
||
src/exec_common.c:204:1: warning: control reaches end of non-void function [-Wreturn-type]
|
||
204 | }
|
||
| ^
|
||
src/exec_common.c: In function ‘str_to_fix’:
|
||
src/exec_common.c:208:1: warning: control reaches end of non-void function [-Wreturn-type]
|
||
208 | }
|
||
| ^
|
||
src/exec_common.c: In function ‘str_to_flt’:
|
||
src/exec_common.c:212:1: warning: control reaches end of non-void function [-Wreturn-type]
|
||
212 | }
|
||
| ^
|
||
src/exec_common.c: In function ‘sml’:
|
||
src/exec_common.c:348:1: warning: control reaches end of non-void function [-Wreturn-type]
|
||
348 | }
|
||
| ^
|
||
src/exec_common.c: In function ‘sml_eq’:
|
||
src/exec_common.c:352:1: warning: control reaches end of non-void function [-Wreturn-type]
|
||
352 | }
|
||
| ^
|
||
src/exec_common.c: In function ‘eq’:
|
||
src/exec_common.c:356:1: warning: control reaches end of non-void function [-Wreturn-type]
|
||
356 | }
|
||
| ^
|
||
src/exec_common.c: In function ‘gt_eq’:
|
||
src/exec_common.c:360:1: warning: control reaches end of non-void function [-Wreturn-type]
|
||
360 | }
|
||
| ^
|
||
src/exec_common.c: In function ‘gt’:
|
||
src/exec_common.c:364:1: warning: control reaches end of non-void function [-Wreturn-type]
|
||
364 | }
|
||
| ^
|
||
src/exec_common.c: In function ‘not’:
|
||
src/exec_common.c:368:1: warning: control reaches end of non-void function [-Wreturn-type]
|
||
368 | }
|
||
| ^
|
||
src/exec_common.c: In function ‘and’:
|
||
src/exec_common.c:372:1: warning: control reaches end of non-void function [-Wreturn-type]
|
||
372 | }
|
||
| ^
|
||
src/exec_common.c: In function ‘or’:
|
||
src/exec_common.c:376:1: warning: control reaches end of non-void function [-Wreturn-type]
|
||
376 | }
|
||
| ^
|
||
src/exec_common.c: In function ‘len’:
|
||
src/exec_common.c:380:1: warning: control reaches end of non-void function [-Wreturn-type]
|
||
380 | }
|
||
| ^
|
||
src/exec_common.c: In function ‘push’:
|
||
src/exec_common.c:384:1: warning: control reaches end of non-void function [-Wreturn-type]
|
||
384 | }
|
||
| ^
|
||
src/exec_common.c: In function ‘pop’:
|
||
src/exec_common.c:388:1: warning: control reaches end of non-void function [-Wreturn-type]
|
||
388 | }
|
||
| ^
|
||
make: *** [Makefile:44: build-tmp/exec_common.o] Error 1
|