=> Bootstrap dependency digest>=20211023: found digest-20211023 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for ncc-2.8nb9 --- objdir/dbstree.o --- --- objdir/inttree.o --- --- objdir/lex.o --- --- objdir/space.o --- --- objdir/dbstree.o --- c++ -g -c dbstree.C --- objdir/inttree.o --- c++ -g -c inttree.C --- objdir/lex.o --- c++ -g -c lex.C --- objdir/space.o --- c++ -g -c space.C --- objdir/cexpand.o --- c++ -g -c cexpand.C --- objdir/space.o --- space.C: In function 'void string_constant(char*, int)': space.C:120:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] string = ""; ^~ space.C: In function 'void used_builtins()': space.C:203:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] LOOKBUILTIN (__func__); ^ space.C:196:18: note: in definition of macro 'LOOKBUILTIN' DBS_STRQUERY = #x;\ ^ space.C:204:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] LOOKBUILTIN (__FUNCTION__); ^ space.C:196:18: note: in definition of macro 'LOOKBUILTIN' DBS_STRQUERY = #x;\ ^ space.C:205:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] LOOKBUILTIN (__PRETTY_FUNCTION__); ^ space.C:196:18: note: in definition of macro 'LOOKBUILTIN' DBS_STRQUERY = #x;\ ^ space.C:206:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] LOOKBUILTIN (__builtin_return_address); ^ space.C:196:18: note: in definition of macro 'LOOKBUILTIN' DBS_STRQUERY = #x;\ ^ space.C:207:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] LOOKBUILTIN (__builtin_alloca); ^ space.C:196:18: note: in definition of macro 'LOOKBUILTIN' DBS_STRQUERY = #x;\ ^ space.C: In function 'void reserved_c()': space.C:255:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RESERVED(__inline__); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:256:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RESERVED(__inline); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:257:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RESERVED(inline); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:258:13: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RESERVED(do); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:259:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RESERVED(struct); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:260:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RESERVED(case); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:261:14: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RESERVED(for); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ --- objdir/cdb.o --- --- objdir/space.o --- space.C:262:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RESERVED(short); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:263:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RESERVED(union); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:264:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RESERVED(sizeof); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:265:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RESERVED(register); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ --- objdir/cdb.o --- c++ -g -c cdb.C --- objdir/space.o --- space.C:266:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RESERVED(break); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:267:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RESERVED(auto); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:268:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RESERVED(continue); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:269:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RESERVED(const); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:270:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RESERVED(default); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:271:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RESERVED(enum); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:272:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RESERVED(else); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:273:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RESERVED(extern); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:274:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RESERVED(goto); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:275:13: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RESERVED(if); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:276:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RESERVED(long); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:277:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RESERVED(return); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:278:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RESERVED(signed); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:279:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RESERVED(static); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:280:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RESERVED(switch); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:281:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RESERVED(typedef); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:282:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RESERVED(unsigned); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:283:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RESERVED(volatile); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:284:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RESERVED(while); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:285:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RESERVED(__asm__); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:287:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RESERVED(__typeof__); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:288:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RESERVED(__label__); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:289:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RESERVED(_Complex); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:292:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RESERVED(void); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:293:14: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RESERVED(int); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:294:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RESERVED(char); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:295:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RESERVED(float); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:296:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] RESERVED(double); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C: In function 'void prepare()': space.C:307:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] string = ""; ^~ space.C:314:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] intern_sym = c_symbol ("_@@@_", 5); ^ space.C: In function 'int getint(int)': space.C:326:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return syntax_error ("Expected integer and got something else", "else"); ^ space.C:326:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] space.C: In function 'char escape(char**)': space.C:358:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!isxdigit (**s)) warning ("bad hex character escape"); ^ space.C:361:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!isxdigit (**s)) warning ("bad hex character escape"); ^ space.C: In function 'int character_constant()': space.C:373:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] warning ("Empty character constant"); ^ --- objdir/cexpand.o --- cexpand.C: In function 'char* expand(int)': cexpand.C:46:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (token < 0) return "internal BUG"; ^~~~~~~~~~~~~~ --- objdir/parser.o --- c++ -g -c parser.C --- objdir/cdb.o --- cdb.C: In constructor 'lookup_object::lookup_object(Symbol, bool)': cdb.C:851:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] half_error ("Undefined object", expand (s)); ^ cdb.C:876:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] } else half_error ("Undefined object", expand (s)); ^ cdb.C: In constructor 'lookup_function::lookup_function(Symbol, bool)': cdb.C:910:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] half_error ("Not a pointer to function", expand (s)); ^ cdb.C:921:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] half_error ("Not a function", expand (s)); ^ cdb.C: In constructor 'lookup_member::lookup_member(Symbol, RegionPtr)': cdb.C:929:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!L) half_error ("Undefined member", expand (s)); ^ cdb.C: In function 'int sizeof_struct(RegionPtr)': cdb.C:991:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (ExpressionPtr, "incomplete structure"); ^ cdb.C: In function 'int ptr_increment(int, Vspec)': cdb.C:1045:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] half_error ("invalid pointer arithmetic"); ^ --- objdir/ccexpr.o --- c++ -g -c ccexpr.C --- objdir/parser.o --- parser.C: In member function 'void declarator::dirdcl()': parser.C:126:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (CODE [p++] != ')') syntax_error (p, "Missing parenthesis"); ^ parser.C:146:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (p, "No :]"); ^ parser.C: In member function 'void declarator::complete_size()': parser.C:165:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] } else syntax_error (p, "incomplete array initializer single"); ^ parser.C: In member function 'void declarator::semantics()': parser.C:173:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (have_init) syntax_error (p, "Function != Variable"); ^ parser.C:174:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] } else if (have_code) syntax_error (p, "Variable != Function"); ^ parser.C:178:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (p, "absurd"); ^ parser.C:186:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (p, "array of functions"); ^ parser.C:191:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (p, "Function returning invalid"); ^ parser.C: In function 'NormPtr skip_parens(NormPtr)': parser.C:218:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return syntax_error (p, "Unclosed parenthesis:)"); ^ parser.C: In function 'NormPtr skip_brackets(NormPtr)': parser.C:229:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return syntax_error (p, "Unclosed brackets:}"); ^ parser.C: In member function 'NormPtr declarator::parse_base(NormPtr)': parser.C:282:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] || (have_static && have_typedef)) syntax_error (p, "Decide"); ^ parser.C: In member function 'NormPtr declarator::builtin(NormPtr)': parser.C:325:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] default: if (bt) syntax_error (p, "Please specify"); ^ parser.C:330:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if ((lo && sh) || (si && us)) syntax_error (p, "AMBIGUOUS specifiers"); ^ parser.C: In member function 'NormPtr declarator::bt_enum(NormPtr)': parser.C:350:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (p, "DEAD rats after enum"); ^ parser.C:355:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (p, "enum tag REDEFINED"); ^ parser.C:361:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (p, "enum tag REDEFINED"); ^ parser.C: In member function 'NormPtr declarator::bt_struct(NormPtr)': parser.C:381:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (p, "DEAD RATS after struct"); ^ parser.C:393:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (p, "Redefined structure tag"); ^ parser.C: In function 'NormPtr get_enum_consts(NormPtr)': parser.C:410:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (p, "Random NOISE INSIDE ENUM"); ^ parser.C:414:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (p, "Enumeration constant exists"); ^ parser.C:418:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (p, "RANDOM noise inside enum"); ^ parser.C: In member function 'NormPtr cast_type::parse(NormPtr)': parser.C:487:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] || B.spec [0] == ':') syntax_error (p, "Improper cast"); ^ parser.C: In member function 'NormPtr arglist::argument(NormPtr)': parser.C:501:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (p, "Crap argument"); ^ parser.C: In member function 'NormPtr arglist::parse_newstyle(NormPtr)': parser.C:532:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (p, "'...' must be last"); ^ parser.C:536:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] default: syntax_error (p, "Invalid argument list"); ^ parser.C: In member function 'void arglist::parse_declare(NormPtr)': parser.C:589:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (p, "Abstract argument"); ^ parser.C: In member function 'NormPtr declaration::parse(NormPtr)': parser.C:638:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!ok) syntax_error (p, "redefined: ", expand (D.symbol)); ^ parser.C:654:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] expand (CODE [p])); ^ parser.C: In member function 'virtual void declaration::semantics(NormPtr)': parser.C:681:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (p, "Not the \"right thing\""); ^ parser.C:682:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (D.symbol == -1) syntax_error (p, "ABSENT symbol"); ^ parser.C:684:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (p, "Do you like nested functions?"); ^ parser.C: In member function 'virtual void declaration_instruct::semantics(NormPtr)': parser.C:692:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (p, "Not good dcl in struct"); ^ parser.C: In member function 'exprID expression_parser::sizeof_typename()': parser.C:825:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (CODE [EP++] != ')') syntax_error (EP, "erroneous sizeof"); ^ parser.C: In member function 'exprID expression_parser::unary_expression()': parser.C:872:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (EP, "prefix operator w/o operand"); ^ parser.C: In member function 'exprID expression_parser::primary_expression()': --- objdir/ccexpr.o --- ccexpr.C: In member function 'void ccsub::cc_addrof(exprID)': ccexpr.C:213:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else half_error ("&address_of not addressable"); ^ ccexpr.C: In member function 'void ccsub::cc_dot(exprID)': ccexpr.C:256:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!o.structure ()) half_error ("member of no structure"); ^ ccexpr.C: In member function 'void ccsub::cc_usign(exprID)': ccexpr.C:290:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!o.arithmetic ()) half_error ("sign on pointer"); ^ ccexpr.C: In member function 'void ccsub::cc_compl(exprID)': ccexpr.C:337:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!o.integral ()) half_error ("~integral"); --- objdir/parser.o --- parser.C:912:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (EP, "parse error"); ^ parser.C: In member function 'exprID expression_parser::postfix_expression()': parser.C:936:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (EP, "missing ']'"); ^ parser.C:944:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (EP, "missing ')'"); ^ parser.C:953:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (EP, "->members only"); ^ parser.C: In member function 'exprID expression_parser::binary_expression(exprID, int)': parser.C:968:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (EP, "two operands expected"); --- objdir/ccexpr.o --- ^ ccexpr.C: In member function 'void ccsub::cc_bintg(exprID, int)': ccexpr.C:362:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] half_error ("<<, %, &, |, ^, >> need intergal operands"); ^ ccexpr.C: In member function 'void ccsub::cc_muldiv(exprID)': ccexpr.C:399:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] half_error ("*,/ need arithmetic operands"); ^ ccexpr.C: In member function 'void ccsub::cc_prefix(exprID)': ccexpr.C:412:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!o.lv) half_error ("(++/--) no-lvalue"); ^ ccexpr.C:414:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!o.integral ()) half_error ("++float"); --- objdir/parser.o --- ^ parser.C: In member function 'exprID expression_parser::conditional_expression()': parser.C:1006:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (EP, "(what) ? is ':' missing"); ^ parser.C:1008:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (EP, "(what) ? is : missing"); ^ parser.C: In member function 'exprID expression_parser::assignment_expression()': parser.C:1025:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (EP, " = (missing operand)"); ^ parser.C: In member function 'NormPtr declarator::bt_typeof(NormPtr)': parser.C:1186:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (CODE [p++] != '(') syntax_error (p, "typeof '('"); --- objdir/ccexpr.o --- ^ ccexpr.C: In member function 'void ccsub::cc_postfix(exprID)': ccexpr.C:433:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!o.lv) half_error ("no-lvalue (++/--)"); ^ ccexpr.C:435:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!o.integral ()) half_error ("--float"); ^ ccexpr.C: In member function 'void ccsub::cc_sub(exprID)': ccexpr.C:499:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] } else if (o1.arithmetic ()) half_error ("integer - pointer"); ^ ccexpr.C:500:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else half_error ("pointer - shit"); ^ ccexpr.C: In member function 'void ccsub::cc_assign(ccsub&, ccsub&)': --- objdir/parser.o --- ^ parser.C:1200:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (CODE [p] != ')') syntax_error (p, "typeof ')'"); ^ parser.C: In member function 'exprID expression_parser::gnu_label_value()': parser.C:1209:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!ISSYMBOL (s)) syntax_error (EP, "&&identifier only, for labels"); ^ parser.C: In function 'NormPtr statement(NormPtr)': parser.C:1247:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (CODE [p] != ':') syntax_error (p, "default:"); ^ parser.C:1253:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (CODE [p] != ':') syntax_error (p, "case ERROR:"); --- objdir/ccexpr.o --- ccexpr.C:682:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] half_error ("not lvalue in assignment"); ^ ccexpr.C:684:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] half_error ("incompatible"); ^ ccexpr.C: In member function 'void ccsub::cc_fcall(exprID)': ccexpr.C:737:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] half_error ("not a function"); ^ ccexpr.C:752:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (*tp == -1) half_error ("too many arguments"); ^ ccexpr.C:757:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (*tp == -1) half_error ("too many arguments"); ^ --- objdir/parser.o --- ^ parser.C:1257:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (CODE [p] != ';') syntax_error (p, "break | continue ';'"); ^ parser.C:1264:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (CODE [p] != ';') syntax_error (p, "return ... ';'"); ^ parser.C:1272:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case RESERVED_else: syntax_error (p, "else without if"); ^ parser.C:1277:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (p, "expression + ';' = statement"); ^ parser.C: In function 'NormPtr parenth_expression(NormPtr)': --- objdir/ccexpr.o --- ccexpr.C:760:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (*tp > 0) half_error ("too few arguments"); ^ ccexpr.C: In member function 'void ccsub::cc_binwconv(exprID, ccsub&, ccsub&)': ccexpr.C:791:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] half_error ("Need arithmetic operands"); ^ ccexpr.C: In member function 'void ccsub::cc_addptr(ccsub&, ccsub&)': ccexpr.C:846:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (b1 && b2) half_error ("No pointer operand"); ^ ccexpr.C:847:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!b1 && !b2) half_error ("pointer + pointer"); ^ ccexpr.C: In member function 'void ccsub::degrade(ccsub&)': --- objdir/parser.o --- parser.C:1286:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (p, "'(' expression"); ^ parser.C:1289:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (p, "expression ')'"); ^ parser.C: In function 'NormPtr do_statement(NormPtr)': parser.C:1304:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (p, "do w/o while"); ^ parser.C:1307:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (p, "This is special, but you need a ';'"); ^ parser.C: In function 'NormPtr for_statement(NormPtr)': parser.C:1314:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (p, "for '('..."); ^ --- objdir/ccexpr.o --- ccexpr.C:875:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] half_error ("* not effective"); ^ ccexpr.C: In member function 'int ccsub::ptrfix(ccsub&)': ccexpr.C:884:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!integral ()) half_error ("pointer + float"); ^ ccexpr.C: In member function 'int ccsub::sub_ptri(ccsub&, ccsub&)': ccexpr.C:903:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] half_error ("'-' on different pointers"); ^ ccexpr.C: In member function 'void ccsub::assign_convert(ccsub&, bool)': ccexpr.C:1004:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] } else half_error ("ptr to float conv"); ^ --- objdir/parser.o --- parser.C:1318:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (p, "for (expression ';' ..."); ^ parser.C:1321:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (p, "for (expression; expression ';' ..."); ^ parser.C:1324:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (p, "for (;; ')'"); ^ parser.C: In function 'NormPtr __asm___statement(NormPtr)': parser.C:1378:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (CODE [p] != '(') syntax_error (p, "__asm__ '('"); ^ parser.C:1380:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (CODE [p++] != ';') syntax_error (p, "asm() ';'"); --- objdir/ccexpr.o --- ccexpr.C:1009:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] half_error ("incompatible types"); ^ ccexpr.C:1012:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (base == FLOAT) half_error ("make ptr from float"); ^ ccexpr.C: In member function 'void ccsub::ptr_compare(ccsub&, ccsub&)': ccexpr.C:1030:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] half_error ("compare pointer w/ float, duh???"); ^ ccexpr.C: In function 'typeID typeof_expression()': ccexpr.C:1151:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (CExpr.first == -1) syntax_error (ExpressionPtr, "this has no type"); ^ --- objdir/parser.o --- ^ parser.C: In function 'NormPtr join_expression(dcle&, NormPtr)': parser.C:1426:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (p, "wrong in here"); ^ parser.C: In function 'NormPtr initializer_aggregate(Symbol, NormPtr)': parser.C:1509:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!E.comma ()) syntax_error (p, "excess"); ^ parser.C: In function 'NormPtr initializer_expr(Symbol, NormPtr)': parser.C:1534:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (p, "erroneous initialization"); ^ --- objdir/ccexpr.o --- ccexpr.C:1163:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (ExpressionPtr, "expression trivial for typeof()"); ^ ccexpr.C: In function 'int cc_int_expression()': ccexpr.C:1348:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error (ExpressionPtr, "Expression Trivial to continue"); ^ --- objdir/preproc.o --- c++ -g -c preproc.C In file included from global.h:1:0, from preproc.C:13: config.h:26:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define PREPROCESSOR_OUTPUT "NCC.i" ^ preproc.C:18:35: note: in expansion of macro 'PREPROCESSOR_OUTPUT' char *sourcefile, *preprocfile = PREPROCESSOR_OUTPUT, *cwd; ^~~~~~~~~~~~~~~~~~~ preproc.C:45:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static void openout (char *f, char *mode = "w") ^ preproc.C: In function 'void nccar_x(int, char**)': preproc.C:155:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (startswith (tmp, NCCOBJ)) { ^ preproc.C: In function 'void nccar(int, char**)': preproc.C:182:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] openout (argv [i], "a"); ^ preproc.C:199:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] openout (argv [i], "a"); ^ preproc.C:207:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] openout (outfile, "w"); ^ preproc.C:211:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (startswith (l, NCCOBJ)) { ^ preproc.C:218:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] argv [j] = " "; ^~~ preproc.C: In function 'void nccld(int, char**)': preproc.C:250:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] openout (ofile); ^ preproc.C: In function 'void emubinutils(int, char**)': preproc.C:265:14: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SPROGNAME(ar) ^ preproc.C:260:13: note: in definition of macro 'PROGNAME' argv [0] = x;\ ^ preproc.C:265:2: note: in expansion of macro 'SPROGNAME' SPROGNAME(ar) ^~~~~~~~~ preproc.C:266:14: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] SPROGNAME(ld) ^ preproc.C:260:13: note: in definition of macro 'PROGNAME' argv [0] = x;\ ^ preproc.C:266:2: note: in expansion of macro 'SPROGNAME' SPROGNAME(ld) ^~~~~~~~~ preproc.C:267:11: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] PROGNAME("c++", ld) ^ preproc.C:260:13: note: in definition of macro 'PROGNAME' argv [0] = x;\ ^ preproc.C:268:11: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] PROGNAME("g++", ld) ^ preproc.C:260:13: note: in definition of macro 'PROGNAME' argv [0] = x;\ ^ preproc.C: In function 'void preproc(int, char**)': preproc.C:345:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cppopt [0] = gccopt [0] = "gcc"; ^~~~~ preproc.C:346:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cppopt [1] = "-E"; ^~~~ preproc.C:347:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cppopt [2] = "-D__NCC__"; ^~~~~~~~~~~ preproc.C:348:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cppopt [3] = "-imacros"; ^~~~~~~~~~ In file included from global.h:1:0, from preproc.C:13: config.h:17:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define NOGNU "/usr/pkg/share/ncc/nognu" ^ preproc.C:349:15: note: in expansion of macro 'NOGNU' cppopt [4] = NOGNU; ^~~~~ preproc.C:350:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nofileopt [0] = "ncc"; ^~~~~ preproc.C:392:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nofileopt [nofileno++] = "-c"; ^~~~ preproc.C:407:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nofileopt [i] = "-c"; ^~~~ preproc.C:411:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nofileopt [i] = "-nc-"; ^~~~~~ preproc.C:419:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (ofile) openout (ofile); ^ preproc.C:443:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NCCOPT ("oo") openout (files [0]); ^ preproc.C:444:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NCCOPT ("ld") openout (ofile); ^ --- objdir/usage.o --- c++ -g -c usage.C usage.C:24:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *txt_func = "\nD: %s()\n"; ^~~~~~~~~~~~~ usage.C:25:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *txt_fcall = "F: %s()\n"; ^~~~~~~~~~~ usage.C:26:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *txt_virt = "F: (*virtual)()\n"; ^~~~~~~~~~~~~~~~~~~ usage.C:27:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *txt_error = "F: NCC:syntax_error()\n"; ^~~~~~~~~~~~~~~~~~~~~~~~~ usage.C:28:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *txt_gvar_r = "g: %s\n"; ^~~~~~~~~ usage.C:29:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *txt_evar_r = "g: %s\n"; ^~~~~~~~~ usage.C:30:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *txt_gvar_ra = "g: %s[]\n"; ^~~~~~~~~~~ usage.C:31:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *txt_evar_ra = "g: %s[]\n"; ^~~~~~~~~~~ usage.C:32:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *txt_gvar = "G: %s\n"; ^~~~~~~~~ usage.C:33:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *txt_gvar_a = "G: %s[]\n"; ^~~~~~~~~~~ usage.C:34:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *txt_evar = "G: %s\n"; ^~~~~~~~~ usage.C:35:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *txt_evar_a = "G: %s[]\n"; ^~~~~~~~~~~ usage.C:36:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *txt_memb_r = "s: %s.%s\n"; ^~~~~~~~~~~~ usage.C:37:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *txt_memb = "S: %s.%s\n"; ^~~~~~~~~~~~ usage.C:38:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *txt_memb_ra = "s: %s.%s[]\n"; ^~~~~~~~~~~~~~ usage.C:39:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *txt_memb_a = "S: %s.%s[]\n"; ^~~~~~~~~~~~~~ usage.C:40:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *txt_fpcall = "F: *%s()\n"; ^~~~~~~~~~~~ usage.C:41:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *txt_fcallback = "F: *%s.%s()\n"; ^~~~~~~~~~~~~~~ usage.C:42:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *farg_named_call = "F: %s/%s()\n"; ^~~~~~~~~~~~~~ usage.C:43:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *farg_call_redirect = "\nD: %s/%s()\nF: *%s()__farg%i()\n"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ usage.C:44:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *txt_argval = "R: *%s()__farg%i() %s()\n"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ usage.C:45:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *txt_argvalf = "R: *%s()__farg%i() *%s()\n"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ usage.C:46:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *txt_argvalfl = "R: *%s()__farg%i() %s/%s()\n"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ usage.C:47:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *txt_argvalargval = "R: *%s()__farg%i() *%s()__farg%i()\n"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ usage.C:48:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *txt_membargval = "R: *%s()__farg%i() *%s.%s()\n"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ usage.C: In member function 'void ccsub_small::cc_addrof(exprID)': usage.C:347:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else half_error ("&address_of not addressable"); ^ usage.C: In member function 'void ccsub_small::cc_ecast(exprID)': usage.C:379:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ccsub_small o (e.voici.e), pseudo (e.voila.cast, ""); ^ usage.C: In member function 'void ccsub_small::cc_fcall(exprID)': usage.C:644:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else half_error ("not a function"); ^ --- nccnav/nccnav --- --- objdir/usage.o --- usage.C: In member function 'void ccsub_small::degrade(ccsub_small&)': usage.C:720:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (o.spec [0] == -1) half_error ("Not a pointer"); ^ --- nccnav/nccnav --- Compiling nccnav viewer. --- ../objdir/nccnav --- g++ -g nccnav.C -I.. -lncurses -o nccnav ../objdir/dbstree.o ../objdir/inttree.o nccnav.C: In function 'void printent(int, int, unsigned int, unsigned int, bool)': nccnav.C:938:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] printstr (x + (dot - s), y, ".", NORMAL); ^ nccnav.C: In function 'void recursmode(recursion_path&)': nccnav.C:1506:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] printstr (0, scr_y, "Recursion unroll", C_UP2); ^ nccnav.C: In function 'void othermode(unsigned int)': nccnav.C:1552:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] printstr (0, scr_y, "* FUNCTION IS :MULTIPLE DEFINITIONS *", HIGHLIGHT); ^ nccnav.C:1553:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] printstr (13, scr_y, " br0ken", C_UP2); ^ nccnav.C:1592:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] printstr (0, scr_y, "Recursion Detector ENABLED.", OTHER); ^ nccnav.C:1595:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] printstr (0, scr_y, "Recursion Detector DISABLED", C_UP3); ^ --- objdir/ncc --- c++ -g main.C objdir/*.o -o objdir/ncc main.C: In function 'void half_error(char*, char*)': main.C:71:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] syntax_error ("Maximum number of errors", "aborted"); ^ main.C:71:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] main.C: In function 'int main(int, char**)': main.C:131:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (nhe && !no_error) syntax_error ("Compilation errors", "in expressions"); ^ main.C:131:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] --- tout --- Salut.