=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for waste-1.0 c++ -O2 -march=i586 -I/usr/pkg/include -I/usr/pkg/include -c asyncdns.cpp In file included from asyncdns.cpp:21: ./platform.h:74:104: warning: control reaches end of non-void function [-Wreturn-type] static inline char *safe_strncpy(char *out, char *in, int maxl) { strncpy(out,in,maxl); out[maxl-1]=0; } ^ 1 warning generated. c++ -O2 -march=i586 -I/usr/pkg/include -I/usr/pkg/include -c config.cpp In file included from config.cpp:20: ./platform.h:74:104: warning: control reaches end of non-void function [-Wreturn-type] static inline char *safe_strncpy(char *out, char *in, int maxl) { strncpy(out,in,maxl); out[maxl-1]=0; } ^ config.cpp:100:27: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *t=ReadString(name,""); ^ 2 warnings generated. c++ -O2 -march=i586 -I/usr/pkg/include -I/usr/pkg/include -c connection.cpp In file included from connection.cpp:20: In file included from ./main.h:25: ./platform.h:74:104: warning: control reaches end of non-void function [-Wreturn-type] static inline char *safe_strncpy(char *out, char *in, int maxl) { strncpy(out,in,maxl); out[maxl-1]=0; } ^ In file included from connection.cpp:20: In file included from ./main.h:27: In file included from ./listen.h:22: In file included from ./connection.h:25: ./rsa/global.h:3:1: warning: '/*' within block comment [-Wcomment] /* Copyright (C) RSA Laboratories, a division of RSA Data Security, ^ connection.cpp:41:26: warning: implicit conversion of NULL constant to 'size_t' (aka 'unsigned int') [-Wnull-conversion] else memset(&m_saddr,0,NULL); ~~~~~~ ^~~~ 0 connection.cpp:57:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("connection: call to socket() failed: %d.\n",ERRNO); ^ connection.cpp:141:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("connection: got what looks like feedback on bfpubkey.\n"); ^ connection.cpp:229:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("connection: error encrypting session key\n"); ^ connection.cpp:258:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("connection: error decrypting session key with my own private key (%d,%d)\n",err,m_kl); ^ connection.cpp:289:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("connection: zero session key, aborting.\n"); ^ connection.cpp:299:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("connection: CBC IVs are equal, being hacked?\n"); ^ connection.cpp:307:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("connection: error decrypting session key (signature is wrong, being hacked?)\n"); ^ connection.cpp:371:34: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (now - bps_count[l].time_ms < 0 || ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ connection.cpp:409:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("connection: error resolving hostname\n"); ^ connection.cpp:420:20: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("connection: connect() returned error: %d\n",ERRNO); ^ connection.cpp:437:20: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("connection::run: select() returned error: %d\n",ERRNO); ^ connection.cpp:442:20: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("connection::run: select() notified of error\n"); ^ connection.cpp:676:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("connection::decrypt_buffer(): len=%d (&7)\n",len); ^ connection.cpp:704:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("connection::encrypt_buffer(): len=%d (&7)\n",len); ^ 17 warnings generated. c++ -O2 -march=i586 -I/usr/pkg/include -I/usr/pkg/include -c filedb.cpp In file included from filedb.cpp:21: In file included from ./main.h:25: ./platform.h:74:104: warning: control reaches end of non-void function [-Wreturn-type] static inline char *safe_strncpy(char *out, char *in, int maxl) { strncpy(out,in,maxl); out[maxl-1]=0; } ^ In file included from filedb.cpp:21: In file included from ./main.h:27: In file included from ./listen.h:22: In file included from ./connection.h:25: ./rsa/global.h:3:1: warning: '/*' within block comment [-Wcomment] /* Copyright (C) RSA Laboratories, a division of RSA Data Security, ^ filedb.cpp:702:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("C_FileDB::DoScan(): error calling findfirstfile(%s)!\n",s.cur_path); ^ filedb.cpp:1173:20: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *modes[4]={"Stereo","Joint Stereo","2 Channel","Mono"}; ^ filedb.cpp:1173:29: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *modes[4]={"Stereo","Joint Stereo","2 Channel","Mono"}; ^ filedb.cpp:1173:44: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *modes[4]={"Stereo","Joint Stereo","2 Channel","Mono"}; ^ filedb.cpp:1173:56: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *modes[4]={"Stereo","Joint Stereo","2 Channel","Mono"}; ^ 7 warnings generated. c++ -O2 -march=i586 -I/usr/pkg/include -I/usr/pkg/include -c listen.cpp In file included from listen.cpp:20: In file included from ./main.h:25: ./platform.h:74:104: warning: control reaches end of non-void function [-Wreturn-type] static inline char *safe_strncpy(char *out, char *in, int maxl) { strncpy(out,in,maxl); out[maxl-1]=0; } ^ In file included from listen.cpp:20: In file included from ./main.h:27: In file included from ./listen.h:22: In file included from ./connection.h:25: ./rsa/global.h:3:1: warning: '/*' within block comment [-Wcomment] /* Copyright (C) RSA Laboratories, a division of RSA Data Security, ^ listen.cpp:30:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("C_Listen: call to socket() failed: %d.\n",ERRNO); ^ listen.cpp:55:20: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("C_Listen: call to bind() failed: %d.\n",ERRNO); ^ listen.cpp:63:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("C_Listen: call to listen() failed: %d.\n",ERRNO); ^ 5 warnings generated. c++ -O2 -march=i586 -I/usr/pkg/include -I/usr/pkg/include -c m_chat.cpp In file included from m_chat.cpp:21: In file included from ./main.h:25: ./platform.h:74:104: warning: control reaches end of non-void function [-Wreturn-type] static inline char *safe_strncpy(char *out, char *in, int maxl) { strncpy(out,in,maxl); out[maxl-1]=0; } ^ In file included from m_chat.cpp:21: In file included from ./main.h:27: In file included from ./listen.h:22: In file included from ./connection.h:25: ./rsa/global.h:3:1: warning: '/*' within block comment [-Wcomment] /* Copyright (C) RSA Laboratories, a division of RSA Data Security, ^ m_chat.cpp:39:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("chatreply: length of %d too big\n",in->GetLength()); ^ m_chat.cpp:53:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("chatreply::make() length is %d\n",l); ^ 4 warnings generated. c++ -O2 -march=i586 -I/usr/pkg/include -I/usr/pkg/include -c m_file.cpp In file included from m_file.cpp:20: ./platform.h:74:104: warning: control reaches end of non-void function [-Wreturn-type] static inline char *safe_strncpy(char *out, char *in, int maxl) { strncpy(out,in,maxl); out[maxl-1]=0; } ^ In file included from m_file.cpp:21: In file included from ./m_file.h:24: In file included from ./util.h:22: ./rsa/global.h:3:1: warning: '/*' within block comment [-Wcomment] /* Copyright (C) RSA Laboratories, a division of RSA Data Security, ^ m_file.cpp:147:16: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("sending a request with %d pairs, for %d items\n",m_need_chunks_indexused,m_need_chunks_used); ^ m_file.cpp:231:20: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("filesendreply: data length out of range, %d\n",m_data_len); ^ m_file.cpp:243:20: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("filesendreply: got packet that is a header, with length of %d\n",datalen); ^ m_file.cpp:296:20: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("filesendreply::make() data length = %d\n",m_data_len); ^ m_file.cpp:369:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("filesendreply::set_data() data length out of range, %d\n",len); ^ 7 warnings generated. c++ -O2 -march=i586 -I/usr/pkg/include -I/usr/pkg/include -c m_keydist.cpp In file included from m_keydist.cpp:20: ./platform.h:74:104: warning: control reaches end of non-void function [-Wreturn-type] static inline char *safe_strncpy(char *out, char *in, int maxl) { strncpy(out,in,maxl); out[maxl-1]=0; } ^ In file included from m_keydist.cpp:22: In file included from ./m_keydist.h:24: In file included from ./util.h:22: ./rsa/global.h:3:1: warning: '/*' within block comment [-Wcomment] /* Copyright (C) RSA Laboratories, a division of RSA Data Security, ^ m_keydist.cpp:57:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("keydistrequest: length out of range (%d)\n",datalen); ^ m_keydist.cpp:73:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("keydistrequest: key bits out of range (%d,%d,%d,%d)\n",m_key.bits,modlen,explen,datalen); ^ m_keydist.cpp:85:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("keydistrequest::make(): bits=0\n"); ^ m_keydist.cpp:103:16: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("keydistrequest: modlen=%d,explen=%d\n",modlen,explen); ^ 6 warnings generated. c++ -O2 -march=i586 -I/usr/pkg/include -I/usr/pkg/include -c m_ping.cpp In file included from m_ping.cpp:20: ./platform.h:74:104: warning: control reaches end of non-void function [-Wreturn-type] static inline char *safe_strncpy(char *out, char *in, int maxl) { strncpy(out,in,maxl); out[maxl-1]=0; } ^ In file included from m_ping.cpp:21: In file included from ./m_ping.h:24: In file included from ./util.h:22: ./rsa/global.h:3:1: warning: '/*' within block comment [-Wcomment] /* Copyright (C) RSA Laboratories, a division of RSA Data Security, ^ m_ping.cpp:50:20: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("Ping: got ping with nick > 32\n"); ^ 3 warnings generated. c++ -O2 -march=i586 -I/usr/pkg/include -I/usr/pkg/include -c m_search.cpp In file included from m_search.cpp:20: ./platform.h:74:104: warning: control reaches end of non-void function [-Wreturn-type] static inline char *safe_strncpy(char *out, char *in, int maxl) { strncpy(out,in,maxl); out[maxl-1]=0; } ^ In file included from m_search.cpp:21: In file included from ./mqueue.h:24: In file included from ./util.h:22: ./rsa/global.h:3:1: warning: '/*' within block comment [-Wcomment] /* Copyright (C) RSA Laboratories, a division of RSA Data Security, ^ m_search.cpp:52:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("searchreply: invalid message (0 items)!\n"); ^ m_search.cpp:61:20: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("searchreply: invalid message (length error)!\n"); ^ m_search.cpp:73:20: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("searchreply: invalid message (filename error)!\n"); ^ m_search.cpp:83:20: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("searchreply: invalid message (meta error)!\n"); ^ m_search.cpp:93:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("searchreply: invalid message (no guid)!\n",x); ^ m_search.cpp:188:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("searchreply::make(): numitems=%d\n",m_numitems); ^ 8 warnings generated. c++ -O2 -march=i586 -I/usr/pkg/include -I/usr/pkg/include -c m_upload.cpp In file included from m_upload.cpp:20: ./platform.h:74:104: warning: control reaches end of non-void function [-Wreturn-type] static inline char *safe_strncpy(char *out, char *in, int maxl) { strncpy(out,in,maxl); out[maxl-1]=0; } ^ In file included from m_upload.cpp:22: In file included from ./m_upload.h:24: In file included from ./util.h:22: ./rsa/global.h:3:1: warning: '/*' within block comment [-Wcomment] /* Copyright (C) RSA Laboratories, a division of RSA Data Security, ^ m_upload.cpp:52:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("uploadrequest: length out of range (%d)\n",datalen); ^ m_upload.cpp:87:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("uploadrequest::make(): filename length %d out of range\n",m_fn?strlen(m_fn):0); ^ 4 warnings generated. c++ -O2 -march=i586 -I/usr/pkg/include -I/usr/pkg/include -c mqueue.cpp In file included from mqueue.cpp:20: ./platform.h:74:104: warning: control reaches end of non-void function [-Wreturn-type] static inline char *safe_strncpy(char *out, char *in, int maxl) { strncpy(out,in,maxl); out[maxl-1]=0; } ^ In file included from mqueue.cpp:21: In file included from ./main.h:27: In file included from ./listen.h:22: In file included from ./connection.h:25: ./rsa/global.h:3:1: warning: '/*' within block comment [-Wcomment] /* Copyright (C) RSA Laboratories, a division of RSA Data Security, ^ mqueue.cpp:196:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("queue::run() got bad message type=%d, prio=%d, ttl=%d, len=%d\n", m_newmsg.message_type,m_newmsg.message_prio,m_newmsg.message_ttl,m_newmsg.message_length); ^ mqueue.cpp:231:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("queue::run() got bad message (MD5 differs) type=%d, prio=%d, ttl=%d, len=%d\n", m_newmsg.message_type,m_newmsg.message_prio,m_newmsg.message_ttl,m_newmsg.message_length); ^ mqueue.cpp:269:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("queue::run() send bcast payload length of %d too large\n",m_msg->message_length); ^ mqueue.cpp:273:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("queue::run() send route/local payload length of %d too large\n",m_msg->message_length); ^ 6 warnings generated. c++ -O2 -march=i586 -I/usr/pkg/include -I/usr/pkg/include -c mqueuelist.cpp In file included from mqueuelist.cpp:20: In file included from ./main.h:25: ./platform.h:74:104: warning: control reaches end of non-void function [-Wreturn-type] static inline char *safe_strncpy(char *out, char *in, int maxl) { strncpy(out,in,maxl); out[maxl-1]=0; } ^ In file included from mqueuelist.cpp:20: In file included from ./main.h:27: In file included from ./listen.h:22: In file included from ./connection.h:25: ./rsa/global.h:3:1: warning: '/*' within block comment [-Wcomment] /* Copyright (C) RSA Laboratories, a division of RSA Data Security, ^ mqueuelist.cpp:98:20: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("queuelist::send(): warning: tried to send routed message to self!\n"); ^ mqueuelist.cpp:103:20: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("queuelist::send(): no route found for message of type %d!\n",msg->message_type); ^ mqueuelist.cpp:108:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("queuelist::send(): warning: tried to send local message to list!\n"); ^ mqueuelist.cpp:184:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("queuelist::run(): no route found for relaying message!\n"); ^ 6 warnings generated. c++ -O2 -march=i586 -I/usr/pkg/include -I/usr/pkg/include -c netkern.cpp In file included from netkern.cpp:20: In file included from ./main.h:25: ./platform.h:74:104: warning: control reaches end of non-void function [-Wreturn-type] static inline char *safe_strncpy(char *out, char *in, int maxl) { strncpy(out,in,maxl); out[maxl-1]=0; } ^ In file included from netkern.cpp:20: In file included from ./main.h:27: In file included from ./listen.h:22: In file included from ./connection.h:25: ./rsa/global.h:3:1: warning: '/*' within block comment [-Wcomment] /* Copyright (C) RSA Laboratories, a division of RSA Data Security, ^ netkern.cpp:54:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("denied connection from %08X due to IP list\n",addr); ^ netkern.cpp:299:20: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("Could not connect to host: failed connect!\n"); ^ netkern.cpp:319:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("Could not connect to host: failed auth!\n"); ^ netkern.cpp:335:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("Could not connect to host: host not in access list!\n"); ^ netkern.cpp:379:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("Connected to remote host\n"); ^ netkern.cpp:423:90: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if (g_route_traffic && g_port && g_listen && !g_listen->is_error() && g_config->ReadInt("advertise_listen",1)) ^ 8 warnings generated. c++ -O2 -march=i586 -I/usr/pkg/include -I/usr/pkg/include -c sha.cpp In file included from sha.cpp:22: ./platform.h:74:104: warning: control reaches end of non-void function [-Wreturn-type] static inline char *safe_strncpy(char *out, char *in, int maxl) { strncpy(out,in,maxl); out[maxl-1]=0; } ^ 1 warning generated. c++ -O2 -march=i586 -I/usr/pkg/include -I/usr/pkg/include -c util.cpp In file included from util.cpp:21: In file included from ./main.h:25: ./platform.h:74:104: warning: control reaches end of non-void function [-Wreturn-type] static inline char *safe_strncpy(char *out, char *in, int maxl) { strncpy(out,in,maxl); out[maxl-1]=0; } ^ In file included from util.cpp:21: In file included from ./main.h:27: In file included from ./listen.h:22: In file included from ./connection.h:25: ./rsa/global.h:3:1: warning: '/*' within block comment [-Wcomment] /* Copyright (C) RSA Laboratories, a division of RSA Data Security, ^ util.cpp:190:36: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if (s == fn || *s != '.') return ""; ^ util.cpp:429:37: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] g_aclist_size=g_config->ReadInt("ac_cnt",0); ^ util.cpp:437:40: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *t=g_config->ReadString(buf,""); ^ util.cpp:592:38: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if (feof(fp) || !linebuf[0]) err="No private key found in file"; ^ util.cpp:612:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if (c < 0) err="Private key corrupt"; ^ util.cpp:622:65: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if (readBFdata(fp,&bf,buf,8,(unsigned long *)tl)) err="Private key corrupt"; ^ util.cpp:626:17: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] err="Invalid password for private key"; ^ util.cpp:640:25: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if (!a) err="Private key corrupt"; ^ util.cpp:646:13: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] err="Private key found but size incorrect"; ^ util.cpp:648:14: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] else err="Private key found but version incorrect"; ^ util.cpp:997:12: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] return "(local)"; ^ util.cpp:1004:25: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *conspeed_strs[5]={"Modem","ISDN","Slow DSL/Cable","T1/Fast DSL/Cable","T3/LAN"}; ^ util.cpp:1004:33: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *conspeed_strs[5]={"Modem","ISDN","Slow DSL/Cable","T1/Fast DSL/Cable","T3/LAN"}; ^ util.cpp:1004:40: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *conspeed_strs[5]={"Modem","ISDN","Slow DSL/Cable","T1/Fast DSL/Cable","T3/LAN"}; ^ util.cpp:1004:57: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *conspeed_strs[5]={"Modem","ISDN","Slow DSL/Cable","T1/Fast DSL/Cable","T3/LAN"}; ^ util.cpp:1004:77: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *conspeed_strs[5]={"Modem","ISDN","Slow DSL/Cable","T1/Fast DSL/Cable","T3/LAN"}; ^ util.cpp:1106:25: warning: trigraph ignored [-Wtrigraphs] else strcpy(str," "); ^ 19 warnings generated. c++ -O2 -march=i586 -I/usr/pkg/include -I/usr/pkg/include -c xfers.cpp In file included from xfers.cpp:20: In file included from ./main.h:25: ./platform.h:74:104: warning: control reaches end of non-void function [-Wreturn-type] static inline char *safe_strncpy(char *out, char *in, int maxl) { strncpy(out,in,maxl); out[maxl-1]=0; } ^ In file included from xfers.cpp:20: In file included from ./main.h:27: In file included from ./listen.h:22: In file included from ./connection.h:25: ./rsa/global.h:3:1: warning: '/*' within block comment [-Wcomment] /* Copyright (C) RSA Laboratories, a division of RSA Data Security, ^ xfers.cpp:71:27: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if (g_config->ReadInt("ulfullpaths",0)) ^ xfers.cpp:88:13: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] m_err="Filename mismatch"; ^ xfers.cpp:105:15: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] m_err="File not found on disk"; ^ xfers.cpp:130:31: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if (g_config->ReadInt("shafiles",1) ^ xfers.cpp:131:90: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] && !m_filelen_bytes_h && m_filelen_bytes_l < (unsigned int)g_config->ReadInt("maxsizesha",32)*1024*1024) ^ xfers.cpp:157:31: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if (g_config->ReadInt("directxfers",0)) ^ xfers.cpp:180:11: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] m_err="File not found in DB"; ^ xfers.cpp:210:9: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] m_err="Aborted"; ^ xfers.cpp:258:13: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare] if (x >= 0 && x < m_filelen_chunks) ~ ^ ~ xfers.cpp:347:11: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] m_err="Got different index"; ^ xfers.cpp:488:25: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if (g_config->ReadInt("nickonxfers",1)) ^ xfers.cpp:490:104: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if (g_route_traffic && g_listen && !g_listen->is_error() && mql->GetNumQueues() && g_config->ReadInt("directxfers",0)) ^ xfers.cpp:596:11: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] m_err="Error opening output file"; ^ xfers.cpp:603:11: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] m_err="Malformed address"; ^ xfers.cpp:815:14: error: use of undeclared identifier 'RemoveDirectory' if (!RemoveDirectory(s)) break; ^ xfers.cpp:1004:27: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if (g_config->ReadInt("directxfers",0)) ^ xfers.cpp:1049:13: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] m_err="idx out of range"; ^ xfers.cpp:1050:20: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("xfer_recv: idx out of range (%d, top is %d)\n",idx,m_chunk_total); ^ xfers.cpp:1074:15: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] m_err="error seeking"; ^ xfers.cpp:1082:20: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("xfer_recv: chunk %d, got size of %d and should have been %d (was valid=%d)\n", ^ xfers.cpp:1101:13: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] m_err="error writing"; ^ xfers.cpp:1181:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] m_err="SHA mismatch"; ^ xfers.cpp:1250:11: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] m_err="data with no header"; ^ xfers.cpp:1251:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] debug_printf("xfer_recv: got %s\n",m_err); ^ 25 warnings and 1 error generated. *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/waste/work/waste *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/waste *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/waste