=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for brandybasic-1.0.16nb1 gcc -O2 -fomit-frame-pointer src/variables.c src/tokens.c src/textonly.c src/strings.c src/statement.c src/stack.c src/miscprocs.c src/mainstate.c src/lvalue.c src/keyboard.c src/iostate.c src/heap.c src/functions.c src/fileio.c src/evaluate.c src/errors.c src/emulate.c src/editor.c src/convert.c src/commands.c src/brandy.c src/assign.c -lm -o brandy In file included from src/variables.c:31: src/target.h:112:2: error: Target operating system for interpreter is either missing or not supported #error Target operating system for interpreter is either missing or not supported ^ src/variables.c:108:49: warning: '&&' within '||' [-Wlogical-op-parentheses] || *CAST(vp->varname, byte *)==TOKEN_FN) && *(vp->varname+1)==which) { /* Found a match */ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/variables.c:108:49: note: place parentheses around the '&&' expression to silence this warning || *CAST(vp->varname, byte *)==TOKEN_FN) && *(vp->varname+1)==which) { /* Found a match */ ^ 1 warning and 1 error generated. In file included from src/tokens.c:32: src/target.h:112:2: error: Target operating system for interpreter is either missing or not supported #error Target operating system for interpreter is either missing or not supported ^ src/tokens.c:604:50: warning: '&&' within '||' [-Wlogical-op-parentheses] if (nomatch || !abbreviated && tokens[n].alone && isidchar(keyword[count])) /* Not a keyword */ ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tokens.c:604:50: note: place parentheses around the '&&' expression to silence this warning if (nomatch || !abbreviated && tokens[n].alone && isidchar(keyword[count])) /* Not a keyword */ ^ ( ) src/tokens.c:864:8: warning: illegal character encoding in character literal [-Winvalid-source-encoding] case '': ^ src/tokens.c:864:8: warning: overflow converting case value to switch condition type (-84 to 172) [-Wswitch] src/tokens.c:1763:48: warning: '&&' within '||' [-Wlogical-op-parentheses] if (*tp == TOKEN_XVAR || *tp>=TOKEN_INTVAR && *tp<=TOKEN_FLOATINDVAR) { ~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ src/tokens.c:1763:48: note: place parentheses around the '&&' expression to silence this warning if (*tp == TOKEN_XVAR || *tp>=TOKEN_INTVAR && *tp<=TOKEN_FLOATINDVAR) { ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ src/tokens.c:1894:47: warning: '&&' within '||' [-Wlogical-op-parentheses] if (cp[1] == 0 || cp[1]>TOKEN_TIMEDOL && cp[1]TOKEN_VPOS) return FALSE; ~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ src/tokens.c:1894:47: note: place parentheses around the '&&' expression to silence this warning if (cp[1] == 0 || cp[1]>TOKEN_TIMEDOL && cp[1]TOKEN_VPOS) return FALSE; ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ 5 warnings and 1 error generated. In file included from src/textonly.c:36: src/target.h:112:2: error: Target operating system for interpreter is either missing or not supported #error Target operating system for interpreter is either missing or not supported ^ src/textonly.c:626:39: warning: '&&' within '||' [-Wlogical-op-parentheses] if (left>=textwidth || SCRHEIGHT!=0 && top>=textheight) return; /* Ignore bad parameters */ ~~ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ src/textonly.c:626:39: note: place parentheses around the '&&' expression to silence this warning if (left>=textwidth || SCRHEIGHT!=0 && top>=textheight) return; /* Ignore bad parameters */ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ src/textonly.c:894:40: warning: '&&' within '||' [-Wlogical-op-parentheses] if (column>twinright || SCRHEIGHT!=0 && row>twinbottom) return; /* Ignore command if values are out of range */ ~~ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/textonly.c:894:40: note: place parentheses around the '&&' expression to silence this warning if (column>twinright || SCRHEIGHT!=0 && row>twinbottom) return; /* Ignore command if values are out of range */ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. In file included from src/strings.c:28: src/target.h:112:2: error: Target operating system for interpreter is either missing or not supported #error Target operating system for interpreter is either missing or not supported ^ 1 error generated. In file included from src/statement.c:28: src/target.h:112:2: error: Target operating system for interpreter is either missing or not supported #error Target operating system for interpreter is either missing or not supported ^ 1 error generated. In file included from src/stack.c:27: src/target.h:112:2: error: Target operating system for interpreter is either missing or not supported #error Target operating system for interpreter is either missing or not supported ^ 1 error generated. In file included from src/miscprocs.c:29: src/target.h:112:2: error: Target operating system for interpreter is either missing or not supported #error Target operating system for interpreter is either missing or not supported ^ 1 error generated. In file included from src/mainstate.c:30: src/target.h:112:2: error: Target operating system for interpreter is either missing or not supported #error Target operating system for interpreter is either missing or not supported ^ src/mainstate.c:2160:68: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((first.typeinfo<=VAR_FLOAT || first.typeinfo>=VAR_INTBYTEPTR && first.typeinfo<=VAR_FLOATPTR) && ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mainstate.c:2160:68: note: place parentheses around the '&&' expression to silence this warning if ((first.typeinfo<=VAR_FLOAT || first.typeinfo>=VAR_INTBYTEPTR && first.typeinfo<=VAR_FLOATPTR) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mainstate.c:2161:67: warning: '&&' within '||' [-Wlogical-op-parentheses] (second.typeinfo<=VAR_FLOAT || second.typeinfo>=VAR_INTBYTEPTR && second.typeinfo<=VAR_FLOATPTR)) { ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mainstate.c:2161:67: note: place parentheses around the '&&' expression to silence this warning (second.typeinfo<=VAR_FLOAT || second.typeinfo>=VAR_INTBYTEPTR && second.typeinfo<=VAR_FLOATPTR)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. In file included from src/lvalue.c:26: src/target.h:112:2: error: Target operating system for interpreter is either missing or not supported #error Target operating system for interpreter is either missing or not supported ^ 1 error generated. In file included from src/keyboard.c:35: src/target.h:112:2: error: Target operating system for interpreter is either missing or not supported #error Target operating system for interpreter is either missing or not supported ^ src/keyboard.c:261:2: error: Target operating system is either not defined or not supported #error Target operating system is either not defined or not supported ^ 2 errors generated. In file included from src/iostate.c:28: src/target.h:112:2: error: Target operating system for interpreter is either missing or not supported #error Target operating system for interpreter is either missing or not supported ^ 1 error generated. In file included from src/heap.c:30: src/target.h:112:2: error: Target operating system for interpreter is either missing or not supported #error Target operating system for interpreter is either missing or not supported ^ 1 error generated. In file included from src/functions.c:36: src/target.h:112:2: error: Target operating system for interpreter is either missing or not supported #error Target operating system for interpreter is either missing or not supported ^ src/functions.c:1680:62: warning: '&&' within '||' [-Wlogical-op-parentheses] if (string.stringlen == 0 || transtype != STACK_STRARRAY && transtring.stringlen == 0) { ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/functions.c:1680:62: note: place parentheses around the '&&' expression to silence this warning if (string.stringlen == 0 || transtype != STACK_STRARRAY && transtring.stringlen == 0) { ^ ( ) 1 warning and 1 error generated. In file included from src/fileio.c:33: src/target.h:112:2: error: Target operating system for interpreter is either missing or not supported #error Target operating system for interpreter is either missing or not supported ^ src/fileio.c:456:24: error: use of undeclared identifier 'DIR_SEPS' return strpbrk(name, DIR_SEPS)!=NIL; ^ 2 errors generated. In file included from src/evaluate.c:32: src/target.h:112:2: error: Target operating system for interpreter is either missing or not supported #error Target operating system for interpreter is either missing or not supported ^ src/evaluate.c:2966:33: warning: '&&' within '||' [-Wlogical-op-parentheses] if (result > 0 || result == 0 && lhstring.stringlen > rhstring.stringlen) ~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/evaluate.c:2966:33: note: place parentheses around the '&&' expression to silence this warning if (result > 0 || result == 0 && lhstring.stringlen > rhstring.stringlen) ^ ( ) src/evaluate.c:3029:33: warning: '&&' within '||' [-Wlogical-op-parentheses] if (result < 0 || result == 0 && lhstring.stringlen < rhstring.stringlen) ~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/evaluate.c:3029:33: note: place parentheses around the '&&' expression to silence this warning if (result < 0 || result == 0 && lhstring.stringlen < rhstring.stringlen) ^ ( ) src/evaluate.c:3092:33: warning: '&&' within '||' [-Wlogical-op-parentheses] if (result > 0 || result == 0 && lhstring.stringlen >= rhstring.stringlen) ~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/evaluate.c:3092:33: note: place parentheses around the '&&' expression to silence this warning if (result > 0 || result == 0 && lhstring.stringlen >= rhstring.stringlen) ^ ( ) src/evaluate.c:3155:33: warning: '&&' within '||' [-Wlogical-op-parentheses] if (result < 0 || result == 0 && lhstring.stringlen <= rhstring.stringlen) ~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/evaluate.c:3155:33: note: place parentheses around the '&&' expression to silence this warning if (result < 0 || result == 0 && lhstring.stringlen <= rhstring.stringlen) ^ ( ) 4 warnings and 1 error generated. In file included from src/errors.c:31: src/target.h:112:2: error: Target operating system for interpreter is either missing or not supported #error Target operating system for interpreter is either missing or not supported ^ src/errors.c:161:63: error: use of undeclared identifier 'IDSTRING' emulate_printf("%s\r\n\nStarting with %d bytes free\r\n\n", IDSTRING, basicvars.himem-basicvars.page); ^ src/errors.c:174:30: error: use of undeclared identifier 'IDSTRING' emulate_printf("%s\r\n\n", IDSTRING); ^ src/errors.c:198:50: error: use of undeclared identifier 'IDSTRING' printf("%s\n\n%s\nThe command syntax is:\n\n", IDSTRING, COPYRIGHT); ^ src/errors.c:240:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(badcmdtable[errnumber].msgtext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/errors.c:232:11: warning: enumeration values 'INTSTR' and 'BSTRING' not handled in switch [-Wswitch] switch (badcmdtable[errnumber].parmtype) { ^ 2 warnings and 4 errors generated. In file included from src/emulate.c:49: src/target.h:112:2: error: Target operating system for interpreter is either missing or not supported #error Target operating system for interpreter is either missing or not supported ^ src/emulate.c:96:36: error: use of undeclared identifier 'MACTYPE' if (areg==0 && xreg!=0) return MACTYPE; /* OSBYTE 0 - Return machine type */ ^ src/emulate.c:842:16: warning: '&&' within '||' [-Wlogical-op-parentheses] if (quoted && ch == '"' || ch == 0) break; ~~~~~~~^~~~~~~~~~~~ ~~ src/emulate.c:842:16: note: place parentheses around the '&&' expression to silence this warning if (quoted && ch == '"' || ch == 0) break; ^ ( ) src/emulate.c:850:28: warning: illegal character encoding in character literal [-Winvalid-source-encoding] if (ch == '|' || ch == '
') { ^ src/emulate.c:860:3: warning: implicit declaration of function 'set_fn_string' is invalid in C99 [-Wimplicit-function-declaration] set_fn_string(key, text, length); ^ src/emulate.c:996:2: error: There is no emulate_oscli() function for this target #error There is no emulate_oscli() function for this target ^ 3 warnings and 3 errors generated. In file included from src/editor.c:29: src/target.h:112:2: error: Target operating system for interpreter is either missing or not supported #error Target operating system for interpreter is either missing or not supported ^ src/editor.c:205:35: warning: '&&' within '||' [-Wlogical-op-parentheses] if (!isvalid(p) || isnotfirst && get_lineno(p)<=lastline) return FALSE; ~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/editor.c:205:35: note: place parentheses around the '&&' expression to silence this warning if (!isvalid(p) || isnotfirst && get_lineno(p)<=lastline) return FALSE; ^ ( ) src/editor.c:422:22: error: use of undeclared identifier 'DIR_SEP' if (*(srce-1)!=DIR_SEP) { /* No separator after directory name */ ^ src/editor.c:423:17: error: use of undeclared identifier 'DIR_SEP' *dest = DIR_SEP; ^ 1 warning and 3 errors generated. In file included from src/convert.c:28: src/target.h:112:2: error: Target operating system for interpreter is either missing or not supported #error Target operating system for interpreter is either missing or not supported ^ 1 error generated. In file included from src/commands.c:30: src/target.h:112:2: error: Target operating system for interpreter is either missing or not supported #error Target operating system for interpreter is either missing or not supported ^ src/commands.c:869:19: error: use of undeclared identifier 'EDITOR_VARIABLE' editor = getenv(EDITOR_VARIABLE); ^ src/commands.c:873:22: error: use of undeclared identifier 'DEFAULT_EDITOR' strcpy(editname, DEFAULT_EDITOR); ^ 3 errors generated. In file included from src/brandy.c:29: src/target.h:112:2: error: Target operating system for interpreter is either missing or not supported #error Target operating system for interpreter is either missing or not supported ^ src/brandy.c:182:61: warning: '&&' within '||' [-Wlogical-op-parentheses] else if (optchar=='c' || optchar=='q' || optchar=='l' && tolower(*(p+2))=='o') { /* -chain, -quit or -load */ ~~ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ src/brandy.c:182:61: note: place parentheses around the '&&' expression to silence this warning else if (optchar=='c' || optchar=='q' || optchar=='l' && tolower(*(p+2))=='o') { /* -chain, -quit or -load */ ^ ( ) 1 warning and 1 error generated. In file included from src/assign.c:30: src/target.h:112:2: error: Target operating system for interpreter is either missing or not supported #error Target operating system for interpreter is either missing or not supported ^ src/assign.c:951:29: warning: '&' within '|' [-Wbitwise-op-parentheses] newformat = newformat & ~FORMATMASK | EFORMAT; ~~~~~~~~~~^~~~~~~~~~~~~ ~ src/assign.c:951:29: note: place parentheses around the '&' expression to silence this warning newformat = newformat & ~FORMATMASK | EFORMAT; ^ ( ) src/assign.c:954:29: warning: '&' within '|' [-Wbitwise-op-parentheses] newformat = newformat & ~FORMATMASK | FFORMAT; ~~~~~~~~~~^~~~~~~~~~~~~ ~ src/assign.c:954:29: note: place parentheses around the '&' expression to silence this warning newformat = newformat & ~FORMATMASK | FFORMAT; ^ ( ) src/assign.c:957:29: warning: '&' within '|' [-Wbitwise-op-parentheses] newformat = newformat & ~FORMATMASK | GFORMAT; ~~~~~~~~~~^~~~~~~~~~~~~ ~ src/assign.c:957:29: note: place parentheses around the '&' expression to silence this warning newformat = newformat & ~FORMATMASK | GFORMAT; ^ ( ) src/assign.c:963:27: warning: '&' within '|' [-Wbitwise-op-parentheses] newformat = newformat & ~WIDTHMASK | CAST(strtol(fp, &fp, 10), int32) & WIDTHMASK; ~~~~~~~~~~^~~~~~~~~~~~ ~ src/assign.c:963:27: note: place parentheses around the '&' expression to silence this warning newformat = newformat & ~WIDTHMASK | CAST(strtol(fp, &fp, 10), int32) & WIDTHMASK; ^ ( ) src/assign.c:963:75: warning: '&' within '|' [-Wbitwise-op-parentheses] newformat = newformat & ~WIDTHMASK | CAST(strtol(fp, &fp, 10), int32) & WIDTHMASK; ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ src/assign.c:963:75: note: place parentheses around the '&' expression to silence this warning newformat = newformat & ~WIDTHMASK | CAST(strtol(fp, &fp, 10), int32) & WIDTHMASK; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ src/assign.c:975:27: warning: '&' within '|' [-Wbitwise-op-parentheses] newformat = newformat & ~DECPTMASK | (CAST(strtol(fp, &fp, 10), int32)<