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