<86>Jan 26 04:36:59 userdel[26783]: delete user 'rooter' <86>Jan 26 04:36:59 userdel[26783]: removed group 'rooter' owned by 'rooter' <86>Jan 26 04:36:59 groupadd[26789]: group added to /etc/group: name=rooter, GID=606 <86>Jan 26 04:36:59 groupadd[26789]: group added to /etc/gshadow: name=rooter <86>Jan 26 04:36:59 groupadd[26789]: new group: name=rooter, GID=606 <86>Jan 26 04:36:59 useradd[26795]: new user: name=rooter, UID=606, GID=606, home=/root, shell=/bin/bash <86>Jan 26 04:36:59 userdel[26808]: delete user 'builder' <86>Jan 26 04:36:59 userdel[26808]: removed group 'builder' owned by 'builder' <86>Jan 26 04:36:59 userdel[26808]: removed shadow group 'builder' owned by 'builder' <86>Jan 26 04:36:59 groupadd[26816]: group added to /etc/group: name=builder, GID=607 <86>Jan 26 04:36:59 groupadd[26816]: group added to /etc/gshadow: name=builder <86>Jan 26 04:36:59 groupadd[26816]: new group: name=builder, GID=607 <86>Jan 26 04:36:59 useradd[26820]: new user: name=builder, UID=607, GID=607, home=/usr/src, shell=/bin/bash <13>Jan 26 04:37:04 rpmi: libtinfo-devel-5.9-alt8 1456756589 installed <13>Jan 26 04:37:04 rpmi: gcc-c++-common-1.4.20-alt1 1432315196 installed <13>Jan 26 04:37:04 rpmi: libstdc++6-devel-6.3.1-alt1 1484277945 installed <13>Jan 26 04:37:05 rpmi: gcc6-c++-6.3.1-alt1 1484277945 installed <13>Jan 26 04:37:06 rpmi: libncurses-devel-5.9-alt8 1456756589 installed Installing ncc-2.6-alt0.1.qa1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.29423 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf ncc-2.6 + echo 'Source #0 (ncc-2.6.tar.bz2):' Source #0 (ncc-2.6.tar.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/ncc-2.6.tar.bz2 + /bin/tar -xf - + cd ncc-2.6 + /bin/chmod -c -Rf u+rwX,go-w . + sed -i '5i#include ' dbstree.h + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.29423 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ncc-2.6 + make make: Entering directory `/usr/src/RPM/BUILD/ncc-2.6' g++ -g -O2 -c dbstree.C g++ -g -O2 -c inttree.C g++ -g -O2 -c lex.C g++ -g -O2 -c space.C space.C: In function 'void string_constant(char*, int)': space.C:120:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] string = ""; ^~ space.C: In function 'void used_builtins()': space.C:203:23: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RESERVED(__inline__); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:256:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RESERVED(inline); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:257:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RESERVED(do); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:258:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RESERVED(struct); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:259:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RESERVED(case); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:260:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RESERVED(for); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:261:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RESERVED(short); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:262:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RESERVED(union); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:263:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RESERVED(sizeof); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:264:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RESERVED(register); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:265:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RESERVED(break); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:266:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RESERVED(auto); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:267:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RESERVED(continue); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:268:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RESERVED(const); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:269:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RESERVED(default); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:270:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RESERVED(enum); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:271:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RESERVED(else); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:272:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RESERVED(extern); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:273:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RESERVED(goto); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:274:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RESERVED(if); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:275:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RESERVED(long); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:276:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RESERVED(return); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:277:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RESERVED(signed); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:278:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RESERVED(static); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:279:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RESERVED(switch); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:280:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RESERVED(typedef); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:281:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RESERVED(unsigned); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:282:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RESERVED(volatile); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:283:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RESERVED(while); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:284:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RESERVED(__asm__); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:286:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RESERVED(__typeof__); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:287:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RESERVED(__label__); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:288:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RESERVED(_Complex); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:291:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RESERVED(void); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:292:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RESERVED(int); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:293:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RESERVED(char); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:294:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] RESERVED(float); ^ space.C:248:18: note: in definition of macro 'RESERVED' DBS_STRQUERY = #x;\ ^ space.C:295:17: warning: ISO C++ forbids converting a 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:306:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] string = ""; ^~ space.C:313:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] intern_sym = c_symbol ("_@@@_", 5); ^ space.C: In function 'int getint(int)': space.C:325:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return syntax_error ("Expected integer and got something else", "else"); ^ space.C:325:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] space.C: In function 'char escape(char**)': space.C:357:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!isxdigit (**s)) warning ("bad hex character escape"); ^ space.C:360:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!isxdigit (**s)) warning ("bad hex character escape"); ^ space.C: In function 'int character_constant()': space.C:372:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] warning ("Empty character constant"); ^ g++ -g -O2 -c cexpand.C cexpand.C: In function 'char* expand(int)': cexpand.C:46:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (token < 0) return "internal BUG"; ^~~~~~~~~~~~~~ g++ -g -O2 -c cdb.C cdb.C: In constructor 'lookup_object::lookup_object(Symbol, bool)': cdb.C:848:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] half_error ("Undefined object", expand (s)); ^ cdb.C:873:51: warning: ISO C++ forbids converting a 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:907:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] half_error ("Not a pointer to function", expand (s)); ^ cdb.C:918:43: warning: ISO C++ forbids converting a 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:926:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!L) half_error ("Undefined member", expand (s)); ^ cdb.C: In function 'int sizeof_struct(RegionPtr)': cdb.C:988:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] syntax_error (ExpressionPtr, "incomplete structure"); ^ cdb.C: In function 'int ptr_increment(int, Vspec)': cdb.C:1042:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] half_error ("invalid pointer arithmetic"); ^ g++ -g -O2 -c parser.C parser.C: In member function 'void declarator::dirdcl()': parser.C:126:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (CODE [p++] != ')') syntax_error (p, "Missing parenthesis"); ^ parser.C:146:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] syntax_error (p, "No :]"); ^ parser.C: In member function 'void declarator::complete_size()': parser.C:165:63: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (have_init) syntax_error (p, "Function != Variable"); ^ parser.C:174:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] } else if (have_code) syntax_error (p, "Variable != Function"); ^ parser.C:178:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] syntax_error (p, "absurd"); ^ parser.C:186:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] syntax_error (p, "array of functions"); ^ parser.C:191:50: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] default: if (bt) syntax_error (p, "Please specify"); ^ parser.C:330:71: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] syntax_error (p, "DEAD rats after enum"); ^ parser.C:355:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] syntax_error (p, "enum tag REDEFINED"); ^ parser.C:361:41: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] syntax_error (p, "DEAD RATS after struct"); ^ parser.C:393:45: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] syntax_error (p, "Random NOISE INSIDE ENUM"); ^ parser.C:414:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] syntax_error (p, "Enumeration constant exists"); ^ parser.C:418:47: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] syntax_error (p, "'...' must be last"); ^ parser.C:536:52: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!ok) syntax_error (p, "redefined: ", expand (D.symbol)); ^ parser.C:654:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] expand (CODE [p])); ^ parser.C: In member function 'virtual void declaration::semantics(NormPtr)': parser.C:681:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] syntax_error (p, "Not the \"right thing\""); ^ parser.C:682:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (D.symbol == -1) syntax_error (p, "ABSENT symbol"); ^ parser.C:684:51: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] syntax_error (EP, "prefix operator w/o operand"); ^ parser.C: In member function 'exprID expression_parser::primary_expression()': parser.C:912:34: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] syntax_error (EP, "missing ']'"); ^ parser.C:944:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] syntax_error (EP, "missing ')'"); ^ parser.C:953:39: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] syntax_error (EP, "two operands expected"); ^ parser.C: In member function 'exprID expression_parser::conditional_expression()': parser.C:1006:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] syntax_error (EP, "(what) ? is ':' missing"); ^ parser.C:1008:45: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (CODE [p++] != '(') syntax_error (p, "typeof '('"); ^ parser.C:1200:52: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (CODE [p] != ':') syntax_error (p, "default:"); ^ parser.C:1253:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (CODE [p] != ':') syntax_error (p, "case ERROR:"); ^ parser.C:1257:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (CODE [p] != ';') syntax_error (p, "break | continue ';'"); ^ parser.C:1264:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (CODE [p] != ';') syntax_error (p, "return ... ';'"); ^ parser.C:1272:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] case RESERVED_else: syntax_error (p, "else without if"); ^ parser.C:1277:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] syntax_error (p, "expression + ';' = statement"); ^ parser.C: In function 'NormPtr parenth_expression(NormPtr)': parser.C:1286:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] syntax_error (p, "'(' expression"); ^ parser.C:1289:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] syntax_error (p, "expression ')'"); ^ parser.C: In function 'NormPtr do_statement(NormPtr)': parser.C:1304:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] syntax_error (p, "do w/o while"); ^ parser.C:1307:57: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] syntax_error (p, "for '('..."); ^ parser.C:1318:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] syntax_error (p, "for (expression ';' ..."); ^ parser.C:1321:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] syntax_error (p, "for (expression; expression ';' ..."); ^ parser.C:1324:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] syntax_error (p, "for (;; ')'"); ^ parser.C: In function 'NormPtr __asm___statement(NormPtr)': parser.C:1378:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (CODE [p] != '(') syntax_error (p, "__asm__ '('"); ^ parser.C:1380:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (CODE [p++] != ';') syntax_error (p, "asm() ';'"); ^ parser.C: In function 'NormPtr join_expression(dcle&, NormPtr)': parser.C:1427:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] syntax_error (p, "wrong in here"); ^ parser.C: In function 'NormPtr initializer_aggregate(Symbol, NormPtr)': parser.C:1475:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!E.open_bracket ()) syntax_error (p, "open"); ^ parser.C:1478:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!E.designator (d)) syntax_error (p, "designator"); ^ parser.C:1495:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!E.designator (d)) syntax_error (p, "designator"); ^ parser.C:1508:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!E.comma ()) syntax_error (p, "excess"); ^ parser.C: In function 'NormPtr initializer_expr(Symbol, NormPtr)': parser.C:1531:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] syntax_error (p, "erroneous initialization"); ^ g++ -g -O2 -c ccexpr.C ccexpr.C: In member function 'void ccsub::cc_addrof(exprID)': ccexpr.C:213:48: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!o.integral ()) half_error ("~integral"); ^ ccexpr.C: In member function 'void ccsub::cc_bintg(exprID, int)': ccexpr.C:362:58: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!o.lv) half_error ("(++/--) no-lvalue"); ^ ccexpr.C:414:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!o.integral ()) half_error ("++float"); ^ ccexpr.C: In member function 'void ccsub::cc_postfix(exprID)': ccexpr.C:433:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!o.lv) half_error ("no-lvalue (++/--)"); ^ ccexpr.C:435:44: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] } else if (o1.arithmetic ()) half_error ("integer - pointer"); ^ ccexpr.C:500:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else half_error ("pointer - shit"); ^ ccexpr.C: In member function 'void ccsub::cc_assign(ccsub&, ccsub&)': ccexpr.C:682:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] half_error ("not lvalue in assignment"); ^ ccexpr.C:684:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] half_error ("incompatible"); ^ ccexpr.C: In member function 'void ccsub::cc_fcall(exprID)': ccexpr.C:737:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] half_error ("not a function"); ^ ccexpr.C:752:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (*tp == -1) half_error ("too many arguments"); ^ ccexpr.C:757:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (*tp == -1) half_error ("too many arguments"); ^ ccexpr.C:760:46: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (b1 && b2) half_error ("No pointer operand"); ^ ccexpr.C:847:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!b1 && !b2) half_error ("pointer + pointer"); ^ ccexpr.C: In member function 'void ccsub::degrade(ccsub&)': ccexpr.C:875:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] half_error ("* not effective"); ^ ccexpr.C: In member function 'int ccsub::ptrfix(ccsub&)': ccexpr.C:884:49: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] } else half_error ("ptr to float conv"); ^ ccexpr.C:1009:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] half_error ("incompatible types"); ^ ccexpr.C:1012:56: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (CExpr.first == -1) syntax_error (ExpressionPtr, "this has no type"); ^ ccexpr.C:1163:65: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] syntax_error (ExpressionPtr, "Expression Trivial to continue"); ^ g++ -g -O2 -c preproc.C preproc.C:48:19: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf (stderr, "ncc: output file is ["COLS"%s"COLE"]\n", c); ^ preproc.C:48:46: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf (stderr, "ncc: output file is ["COLS"%s"COLE"]\n", c); ^ preproc.C:76:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf (stderr, "ncc: Linking object file ["COLS"%s"COLE"] (%i bytes)\n", ^ preproc.C:76:53: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf (stderr, "ncc: Linking object file ["COLS"%s"COLE"] (%i bytes)\n", ^ preproc.C:145:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf (stderr, "ncc: extract ["COLS"%s"COLE"]\n", n); ^ preproc.C:145:41: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf (stderr, "ncc: extract ["COLS"%s"COLE"]\n", n); ^ preproc.C:255:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] "ncc "NCC_VERSION" - The new/next generation C compiler\n" ^ preproc.C:264:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] " -ncld : emulate object file output: write the output to "OUTPUT_EXT"\n" ^ preproc.C:265:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] " -ncoo : write the output to sourcefile.c"OUTPUT_EXT"\n" ^ preproc.C:282:1: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] "and then attempt to collect and link object files with the extension "OUTPUT_EXT"\n" ^ In file included from global.h:1:0, from preproc.C:13: config.h:26:29: warning: ISO C++ forbids converting a 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:43:47: warning: ISO C++ forbids converting a 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:140:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (startswith (tmp, NCCOBJ)) { ^ preproc.C: In function 'void nccar(int, char**)': preproc.C:167:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] openout (argv [i], "a"); ^ preproc.C:183:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] openout (argv [i], "a"); ^ preproc.C:189:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] openout (argv [i], "w"); ^ preproc.C:193:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (startswith (l, NCCOBJ)) { ^ preproc.C:200:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] argv [j] = " "; ^~~ preproc.C: In function 'void nccld(int, char**)': preproc.C:231:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] openout (ofile); ^ preproc.C: In function 'void emubinutils(int, char**)': preproc.C:245:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SPROGNAME(ar) ^ preproc.C:240:13: note: in definition of macro 'PROGNAME' argv [0] = x;\ ^ preproc.C:245:2: note: in expansion of macro 'SPROGNAME' SPROGNAME(ar) ^~~~~~~~~ preproc.C:246:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SPROGNAME(ld) ^ preproc.C:240:13: note: in definition of macro 'PROGNAME' argv [0] = x;\ ^ preproc.C:246:2: note: in expansion of macro 'SPROGNAME' SPROGNAME(ld) ^~~~~~~~~ preproc.C:247:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] PROGNAME("c++", ld) ^ preproc.C:240:13: note: in definition of macro 'PROGNAME' argv [0] = x;\ ^ preproc.C:248:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] PROGNAME("g++", ld) ^ preproc.C:240:13: note: in definition of macro 'PROGNAME' argv [0] = x;\ ^ preproc.C: In function 'void preproc(int, char**)': preproc.C:320:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cppopt [0] = gccopt [0] = "gcc"; ^~~~~ preproc.C:321:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cppopt [1] = "-E"; ^~~~ preproc.C:322:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cppopt [2] = "-D__NCC__"; ^~~~~~~~~~~ preproc.C:323:15: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define NOGNU "/usr/include/nognu" ^ preproc.C:324:15: note: in expansion of macro 'NOGNU' cppopt [4] = NOGNU; ^~~~~ preproc.C:325:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] nofileopt [0] = "ncc"; ^~~~~ preproc.C:365:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] nofileopt [nofileno++] = "-c"; ^~~~ preproc.C:382:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (ofile) openout (ofile); ^ preproc.C:404:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] NCCOPT ("oo") openout (files [0]); ^ preproc.C:405:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] NCCOPT ("ld") openout (ofile); ^ preproc.C: In function 'void nccar(int, char**)': preproc.C:179:26: warning: ignoring return value of 'int link(const char*, const char*)', declared with attribute warn_unused_result [-Wunused-result] link (archive, TMPARCH); ^ preproc.C: In function 'void openout(char*, char*)': preproc.C:47:60: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen (strcat (strcpy (c, f), OUTPUT_EXT), mode, stdout); ^ g++ -g -O2 -c usage.C usage.C:24:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] static char *txt_func = "\nD: %s()\n"; ^~~~~~~~~~~~~ usage.C:25:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] static char *txt_fcall = "F: %s()\n"; ^~~~~~~~~~~ usage.C:26:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] static char *txt_virt = "F: (*virtual)()\n"; ^~~~~~~~~~~~~~~~~~~ usage.C:27:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] static char *txt_error = "F: NCC:syntax_error()\n"; ^~~~~~~~~~~~~~~~~~~~~~~~~ usage.C:28:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] static char *txt_gvar_r = "g: %s\n"; ^~~~~~~~~ usage.C:29:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] static char *txt_evar_r = "g: %s\n"; ^~~~~~~~~ usage.C:30:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] static char *txt_gvar_ra = "g: %s[]\n"; ^~~~~~~~~~~ usage.C:31:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] static char *txt_evar_ra = "g: %s[]\n"; ^~~~~~~~~~~ usage.C:32:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] static char *txt_gvar = "G: %s\n"; ^~~~~~~~~ usage.C:33:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] static char *txt_gvar_a = "G: %s[]\n"; ^~~~~~~~~~~ usage.C:34:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] static char *txt_evar = "G: %s\n"; ^~~~~~~~~ usage.C:35:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] static char *txt_evar_a = "G: %s[]\n"; ^~~~~~~~~~~ usage.C:36:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] static char *txt_memb_r = "s: %s.%s\n"; ^~~~~~~~~~~~ usage.C:37:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] static char *txt_memb = "S: %s.%s\n"; ^~~~~~~~~~~~ usage.C:38:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] static char *txt_memb_ra = "s: %s.%s[]\n"; ^~~~~~~~~~~~~~ usage.C:39:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] static char *txt_memb_a = "S: %s.%s[]\n"; ^~~~~~~~~~~~~~ usage.C:40:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] static char *txt_fpcall = "F: *%s()\n"; ^~~~~~~~~~~~ usage.C:41:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] static char *txt_fcallback = "F: *%s.%s()\n"; ^~~~~~~~~~~~~~~ usage.C:42:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] static char *farg_named_call = "F: %s/%s()\n"; ^~~~~~~~~~~~~~ usage.C:43:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] static char *farg_call_redirect = "\nD: %s/%s()\nF: *%s()__farg%i()\n"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ usage.C:44:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] static char *txt_argval = "R: *%s()__farg%i() %s()\n"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ usage.C:45:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] static char *txt_argvalf = "R: *%s()__farg%i() *%s()\n"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ usage.C:46:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] static char *txt_argvalfl = "R: *%s()__farg%i() %s/%s()\n"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ usage.C:47:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] static char *txt_argvalargval = "R: *%s()__farg%i() *%s()__farg%i()\n"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ usage.C:48:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] static char *txt_membargval = "R: *%s()__farg%i() *%s.%s()\n"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ usage.C: In function 'void report_virtual()': usage.C:208:18: warning: format not a string literal and no format arguments [-Wformat-security] printf (txt_virt); ^ usage.C: In function 'void report_error()': usage.C:213:19: warning: format not a string literal and no format arguments [-Wformat-security] printf (txt_error); ^ usage.C: In member function 'void ccsub_small::cc_addrof(exprID)': usage.C:347:48: warning: ISO C++ forbids converting a 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: ISO C++ forbids converting a 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: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else half_error ("not a function"); ^ usage.C: In member function 'void ccsub_small::degrade(ccsub_small&)': usage.C:720:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (o.spec [0] == -1) half_error ("Not a pointer"); ^ g++ -g -O2 main.C objdir/*.o -o objdir/ncc main.C: In function 'void half_error(char*, char*)': main.C:71:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] syntax_error ("Maximum number of errors", "aborted"); ^ main.C:71:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] main.C: In function 'int main(int, char**)': main.C:131:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (nhe && !no_error) syntax_error ("Compilation errors", "in expressions"); ^ main.C:131:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Compiling nccnav viewer. make[1]: Entering directory `/usr/src/RPM/BUILD/ncc-2.6/nccnav' g++ -g nccnav.C -I.. -lncurses -o nccnav ../objdir/dbstree.o ../objdir/inttree.o nccnav.C:334:22: error: narrowing conversion of '-1' from 'int' to 'unsigned int' inside { } [-Wnarrowing] } NoChunk = { ~0, ~0 }; ^ nccnav.C:334:22: error: narrowing conversion of '-1' from 'int' to 'unsigned int' inside { } [-Wnarrowing] nccnav.C: In function 'void printent(int, int, unsigned int, unsigned int, bool)': nccnav.C:938:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] printstr (x + (dot - s), y, ".", NORMAL); ^ nccnav.C: In function 'void txtviewer(char*, char*, unsigned int, bool)': nccnav.C:1183:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] FILE *f = fopen (tmpc = ".tmp.c", "w"); ^~~~~~~~ nccnav.C:1185:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] f = fopen (tmpc = "/tmp/.tmp.c", "w"); ^~~~~~~~~~~~~ nccnav.C: In function 'void recursmode(recursion_path&)': nccnav.C:1487:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] printstr (0, scr_y, "Recursion unroll", C_UP2); ^ nccnav.C: In function 'void othermode(unsigned int)': nccnav.C:1533:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] printstr (0, scr_y, "* FUNCTION IS :MULTIPLE DEFINITIONS *", HIGHLIGHT); ^ nccnav.C:1534:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] printstr (13, scr_y, " br0ken", C_UP2); ^ nccnav.C:1573:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] printstr (0, scr_y, "Recursion Detector ENABLED.", OTHER); ^ nccnav.C:1576:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] printstr (0, scr_y, "Recursion Detector DISABLED", C_UP3); ^ make[1]: *** [../objdir/nccnav] Error 1 make[1]: Leaving directory `/usr/src/RPM/BUILD/ncc-2.6/nccnav' make: *** [nccnav/nccnav] Error 2 make: Leaving directory `/usr/src/RPM/BUILD/ncc-2.6' error: Bad exit status from /usr/src/tmp/rpm-tmp.29423 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.29423 (%build) Command exited with non-zero status 1 7.25user 0.42system 0:07.67elapsed 100%CPU (0avgtext+0avgdata 39456maxresident)k 0inputs+0outputs (0major+85298minor)pagefaults 0swaps hsh-rebuild: rebuild of `ncc-2.6-alt0.1.qa1.src.rpm' failed. Command exited with non-zero status 1 27.75user 5.66system 0:32.75elapsed 102%CPU (0avgtext+0avgdata 134176maxresident)k 0inputs+0outputs (0major+415945minor)pagefaults 0swaps