=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for latd-1.21 if clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"latd\" -DVERSION=\"1.21\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_SOCKIO_H=1 -DHAVE_SYS_FILIO_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_UTIL_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_NET_IF_DL_H=1 -DHAVE_AF_LINK=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_OPENPTY=1 -DLOGIN_BIN=\"/usr/bin/login\" -DLATCP_SOCKNAME=\"/var/run/latcp\" -DLLOGIN_SOCKNAME=\"/var/run/latlogin\" -I. -I. -DLATD_CONF=\"/opt/pkg/etc/latd.conf\" -DSBINDIR=\"/opt/pkg/sbin\" -DBINDIR=\"/opt/pkg/bin\" -DPREFIX="\"/opt/pkg\"" -fno-rtti -fno-exceptions -Wstrict-prototypes -Wno-unused -pipe -Os -DENABLE_DEFAULT_SERVICE -W -MT llogin.o -MD -MP -MF ".deps/llogin.Tpo" -c -o llogin.o `test -f 'llogin.cc' || echo './'`llogin.cc; then mv -f ".deps/llogin.Tpo" ".deps/llogin.Po"; else rm -f ".deps/llogin.Tpo"; exit 1; fi llogin.cc:71:24: warning: unused parameter 'cmd' [-Wunused-parameter] static int usage(char *cmd) ^ llogin.cc:339:43: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] send_msg(latcp_socket, LATCP_VERSION, VERSION, strlen(VERSION)+1); ^ <command line>:7:17: note: expanded from here #define VERSION "1.21" ^ llogin.cc:469:90: warning: unused parameter 'nolock' [-Wunused-parameter] static int do_use_port(char *portname, int quit_char, int crlf, int bsdel, int lfvt, int nolock, char *logfile) ^ 3 warnings generated. if clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"latd\" -DVERSION=\"1.21\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_SOCKIO_H=1 -DHAVE_SYS_FILIO_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_UTIL_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_NET_IF_DL_H=1 -DHAVE_AF_LINK=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_OPENPTY=1 -DLOGIN_BIN=\"/usr/bin/login\" -DLATCP_SOCKNAME=\"/var/run/latcp\" -DLLOGIN_SOCKNAME=\"/var/run/latlogin\" -I. -I. -DLATD_CONF=\"/opt/pkg/etc/latd.conf\" -DSBINDIR=\"/opt/pkg/sbin\" -DBINDIR=\"/opt/pkg/bin\" -DPREFIX="\"/opt/pkg\"" -fno-rtti -fno-exceptions -Wstrict-prototypes -Wno-unused -pipe -Os -DENABLE_DEFAULT_SERVICE -W -MT utils.o -MD -MP -MF ".deps/utils.Tpo" -c -o utils.o `test -f 'utils.cc' || echo './'`utils.cc; then mv -f ".deps/utils.Tpo" ".deps/utils.Po"; else rm -f ".deps/utils.Tpo"; exit 1; fi if clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"latd\" -DVERSION=\"1.21\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_SOCKIO_H=1 -DHAVE_SYS_FILIO_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_UTIL_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_NET_IF_DL_H=1 -DHAVE_AF_LINK=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_OPENPTY=1 -DLOGIN_BIN=\"/usr/bin/login\" -DLATCP_SOCKNAME=\"/var/run/latcp\" -DLLOGIN_SOCKNAME=\"/var/run/latlogin\" -I. -I. -DLATD_CONF=\"/opt/pkg/etc/latd.conf\" -DSBINDIR=\"/opt/pkg/sbin\" -DBINDIR=\"/opt/pkg/bin\" -DPREFIX="\"/opt/pkg\"" -fno-rtti -fno-exceptions -Wstrict-prototypes -Wno-unused -pipe -Os -DENABLE_DEFAULT_SERVICE -W -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o `test -f 'main.cc' || echo './'`main.cc; then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi In file included from main.cc:53: ./server.h:237:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator==(serviceinfo &si) { return (si == name);} ^~~~~~ ./server.h:238:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator==(const std::string &nm) { return (nm == name);} ^~~~~~ ./server.h:239:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator!=(serviceinfo &si) { return (si != name);} ^~~~~~ ./server.h:240:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator!=(const std::string &nm) { return (nm != name);} ^~~~~~ ./server.h:206:98: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] serviceinfo(std::string n, int r, bool s, std::string i = std::string(""), int mc=0, char* comm="", ^ main.cc:260:26: warning: unused parameter 's' [-Wunused-parameter] static void sigchild(int s) ^ main.cc:273:25: warning: unused parameter 's' [-Wunused-parameter] static void sigterm(int s) ^ main.cc:283:24: warning: unused parameter 's' [-Wunused-parameter] static void sighup(int s) ^ 8 warnings generated. if clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"latd\" -DVERSION=\"1.21\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_SOCKIO_H=1 -DHAVE_SYS_FILIO_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_UTIL_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_NET_IF_DL_H=1 -DHAVE_AF_LINK=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_OPENPTY=1 -DLOGIN_BIN=\"/usr/bin/login\" -DLATCP_SOCKNAME=\"/var/run/latcp\" -DLLOGIN_SOCKNAME=\"/var/run/latlogin\" -I. -I. -DLATD_CONF=\"/opt/pkg/etc/latd.conf\" -DSBINDIR=\"/opt/pkg/sbin\" -DBINDIR=\"/opt/pkg/bin\" -DPREFIX="\"/opt/pkg\"" -fno-rtti -fno-exceptions -Wstrict-prototypes -Wno-unused -pipe -Os -DENABLE_DEFAULT_SERVICE -W -MT circuit.o -MD -MP -MF ".deps/circuit.Tpo" -c -o circuit.o `test -f 'circuit.cc' || echo './'`circuit.cc; then mv -f ".deps/circuit.Tpo" ".deps/circuit.Po"; else rm -f ".deps/circuit.Tpo"; exit 1; fi In file included from circuit.cc:36: ./server.h:237:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator==(serviceinfo &si) { return (si == name);} ^~~~~~ ./server.h:238:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator==(const std::string &nm) { return (nm == name);} ^~~~~~ ./server.h:239:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator!=(serviceinfo &si) { return (si != name);} ^~~~~~ ./server.h:240:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator!=(const std::string &nm) { return (nm != name);} ^~~~~~ ./server.h:206:98: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] serviceinfo(std::string n, int r, bool s, std::string i = std::string(""), int mc=0, char* comm="", ^ 5 warnings generated. if clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"latd\" -DVERSION=\"1.21\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_SOCKIO_H=1 -DHAVE_SYS_FILIO_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_UTIL_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_NET_IF_DL_H=1 -DHAVE_AF_LINK=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_OPENPTY=1 -DLOGIN_BIN=\"/usr/bin/login\" -DLATCP_SOCKNAME=\"/var/run/latcp\" -DLLOGIN_SOCKNAME=\"/var/run/latlogin\" -I. -I. -DLATD_CONF=\"/opt/pkg/etc/latd.conf\" -DSBINDIR=\"/opt/pkg/sbin\" -DBINDIR=\"/opt/pkg/bin\" -DPREFIX="\"/opt/pkg\"" -fno-rtti -fno-exceptions -Wstrict-prototypes -Wno-unused -pipe -Os -DENABLE_DEFAULT_SERVICE -W -MT clientsession.o -MD -MP -MF ".deps/clientsession.Tpo" -c -o clientsession.o `test -f 'clientsession.cc' || echo './'`clientsession.cc; then mv -f ".deps/clientsession.Tpo" ".deps/clientsession.Po"; else rm -f ".deps/clientsession.Tpo"; exit 1; fi In file included from clientsession.cc:37: ./server.h:237:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator==(serviceinfo &si) { return (si == name);} ^~~~~~ ./server.h:238:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator==(const std::string &nm) { return (nm == name);} ^~~~~~ ./server.h:239:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator!=(serviceinfo &si) { return (si != name);} ^~~~~~ ./server.h:240:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator!=(const std::string &nm) { return (nm != name);} ^~~~~~ ./server.h:206:98: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] serviceinfo(std::string n, int r, bool s, std::string i = std::string(""), int mc=0, char* comm="", ^ clientsession.cc:54:47: warning: unused parameter '_remote_node' [-Wunused-parameter] int ClientSession::new_session(unsigned char *_remote_node, ^ clientsession.cc:55:17: warning: unused parameter 'service' [-Wunused-parameter] char *service, char *port, ^ clientsession.cc:55:32: warning: unused parameter 'port' [-Wunused-parameter] char *service, char *port, ^ clientsession.cc:56:25: warning: unused parameter 'c' [-Wunused-parameter] unsigned char c) ^ clientsession.cc:142:48: warning: unused parameter 'node' [-Wunused-parameter] void ClientSession::show_status(unsigned char *node, LAT_StatusEntry *entry) ^ clientsession.cc:142:71: warning: unused parameter 'entry' [-Wunused-parameter] void ClientSession::show_status(unsigned char *node, LAT_StatusEntry *entry) ^ 11 warnings generated. if clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"latd\" -DVERSION=\"1.21\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_SOCKIO_H=1 -DHAVE_SYS_FILIO_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_UTIL_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_NET_IF_DL_H=1 -DHAVE_AF_LINK=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_OPENPTY=1 -DLOGIN_BIN=\"/usr/bin/login\" -DLATCP_SOCKNAME=\"/var/run/latcp\" -DLLOGIN_SOCKNAME=\"/var/run/latlogin\" -I. -I. -DLATD_CONF=\"/opt/pkg/etc/latd.conf\" -DSBINDIR=\"/opt/pkg/sbin\" -DBINDIR=\"/opt/pkg/bin\" -DPREFIX="\"/opt/pkg\"" -fno-rtti -fno-exceptions -Wstrict-prototypes -Wno-unused -pipe -Os -DENABLE_DEFAULT_SERVICE -W -MT connection.o -MD -MP -MF ".deps/connection.Tpo" -c -o connection.o `test -f 'connection.cc' || echo './'`connection.cc; then mv -f ".deps/connection.Tpo" ".deps/connection.Po"; else rm -f ".deps/connection.Tpo"; exit 1; fi In file included from connection.cc:39: ./server.h:237:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator==(serviceinfo &si) { return (si == name);} ^~~~~~ ./server.h:238:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator==(const std::string &nm) { return (nm == name);} ^~~~~~ ./server.h:239:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator!=(serviceinfo &si) { return (si != name);} ^~~~~~ ./server.h:240:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator!=(const std::string &nm) { return (nm != name);} ^~~~~~ ./server.h:206:98: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] serviceinfo(std::string n, int r, bool s, std::string i = std::string(""), int mc=0, char* comm="", ^ connection.cc:46:64: warning: unused parameter 'len' [-Wunused-parameter] LATConnection::LATConnection(int _num, unsigned char *buf, int len, ^ connection.cc:333:45: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if (newsession->new_session(remnode, "","", ^ connection.cc:333:48: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if (newsession->new_session(remnode, "","", ^ connection.cc:394:45: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if (newsession->new_session(remnode, "", (char *)portname, ^ 9 warnings generated. if clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"latd\" -DVERSION=\"1.21\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_SOCKIO_H=1 -DHAVE_SYS_FILIO_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_UTIL_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_NET_IF_DL_H=1 -DHAVE_AF_LINK=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_OPENPTY=1 -DLOGIN_BIN=\"/usr/bin/login\" -DLATCP_SOCKNAME=\"/var/run/latcp\" -DLLOGIN_SOCKNAME=\"/var/run/latlogin\" -I. -I. -DLATD_CONF=\"/opt/pkg/etc/latd.conf\" -DSBINDIR=\"/opt/pkg/sbin\" -DBINDIR=\"/opt/pkg/bin\" -DPREFIX="\"/opt/pkg\"" -fno-rtti -fno-exceptions -Wstrict-prototypes -Wno-unused -pipe -Os -DENABLE_DEFAULT_SERVICE -W -MT interfaces.o -MD -MP -MF ".deps/interfaces.Tpo" -c -o interfaces.o `test -f 'interfaces.cc' || echo './'`interfaces.cc; then mv -f ".deps/interfaces.Tpo" ".deps/interfaces.Po"; else rm -f ".deps/interfaces.Tpo"; exit 1; fi if clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"latd\" -DVERSION=\"1.21\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_SOCKIO_H=1 -DHAVE_SYS_FILIO_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_UTIL_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_NET_IF_DL_H=1 -DHAVE_AF_LINK=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_OPENPTY=1 -DLOGIN_BIN=\"/usr/bin/login\" -DLATCP_SOCKNAME=\"/var/run/latcp\" -DLLOGIN_SOCKNAME=\"/var/run/latlogin\" -I. -I. -DLATD_CONF=\"/opt/pkg/etc/latd.conf\" -DSBINDIR=\"/opt/pkg/sbin\" -DBINDIR=\"/opt/pkg/bin\" -DPREFIX="\"/opt/pkg\"" -fno-rtti -fno-exceptions -Wstrict-prototypes -Wno-unused -pipe -Os -DENABLE_DEFAULT_SERVICE -W -MT lat_messages.o -MD -MP -MF ".deps/lat_messages.Tpo" -c -o lat_messages.o `test -f 'lat_messages.cc' || echo './'`lat_messages.cc; then mv -f ".deps/lat_messages.Tpo" ".deps/lat_messages.Po"; else rm -f ".deps/lat_messages.Tpo"; exit 1; fi lat_messages.cc:22:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] case 0x0: return "Unknown"; ^ lat_messages.cc:24:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] case 0x1: return "User requested disconnect"; ^ lat_messages.cc:26:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] case 0x2: return "System shutdown in progress"; ^ lat_messages.cc:28:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] case 0x3: return "Invalid slot received"; ^ lat_messages.cc:30:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] case 0x4: return "Invalid service class"; ^ lat_messages.cc:32:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] case 0x5: return "Insufficient resources"; ^ lat_messages.cc:34:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] case 0x6: return "Service in use"; ^ lat_messages.cc:36:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] case 0x7: return "No such service"; ^ lat_messages.cc:38:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] case 0x8: return "Service is disabled"; ^ lat_messages.cc:40:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] case 0x9: return "Service is not offered by requested port"; ^ lat_messages.cc:42:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] case 0xa: return "Port name is unknown"; ^ lat_messages.cc:44:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] case 0xb: return "Invalid password"; ^ lat_messages.cc:46:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] case 0xc: return "Entry is not in the queue"; ^ lat_messages.cc:48:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] case 0xd: return "Immediate access rejected"; ^ lat_messages.cc:50:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] case 0xe: return "Access denied"; ^ lat_messages.cc:52:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] case 0xf: return "Corrupted solicit request"; ^ lat_messages.cc:62:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] case 0x00: return "Unknown"; ^ lat_messages.cc:64:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] case 0x01: return "No more slots on circuit"; ^ lat_messages.cc:66:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] case 0x02: return "Illegal message or slot format received"; ^ lat_messages.cc:68:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] case 0x03: return "VC_Halt from user"; ^ lat_messages.cc:70:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] case 0x04: return "No progress being made"; ^ lat_messages.cc:72:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] case 0x05: return "Time limit expired"; ^ lat_messages.cc:74:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] case 0x06: return "Retransmission limit reached"; ^ lat_messages.cc:76:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] case 0x07: return "Insufficient resources to satisfy request"; ^ lat_messages.cc:78:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] case 0x08: return "Server circuit timer out of range"; ^ lat_messages.cc:80:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] case 0x09: return "Number of virtual circuits exceeded"; ^ 26 warnings generated. if clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"latd\" -DVERSION=\"1.21\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_SOCKIO_H=1 -DHAVE_SYS_FILIO_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_UTIL_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_NET_IF_DL_H=1 -DHAVE_AF_LINK=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_OPENPTY=1 -DLOGIN_BIN=\"/usr/bin/login\" -DLATCP_SOCKNAME=\"/var/run/latcp\" -DLLOGIN_SOCKNAME=\"/var/run/latlogin\" -I. -I. -DLATD_CONF=\"/opt/pkg/etc/latd.conf\" -DSBINDIR=\"/opt/pkg/sbin\" -DBINDIR=\"/opt/pkg/bin\" -DPREFIX="\"/opt/pkg\"" -fno-rtti -fno-exceptions -Wstrict-prototypes -Wno-unused -pipe -Os -DENABLE_DEFAULT_SERVICE -W -MT latcpcircuit.o -MD -MP -MF ".deps/latcpcircuit.Tpo" -c -o latcpcircuit.o `test -f 'latcpcircuit.cc' || echo './'`latcpcircuit.cc; then mv -f ".deps/latcpcircuit.Tpo" ".deps/latcpcircuit.Po"; else rm -f ".deps/latcpcircuit.Tpo"; exit 1; fi In file included from latcpcircuit.cc:35: ./server.h:237:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator==(serviceinfo &si) { return (si == name);} ^~~~~~ ./server.h:238:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator==(const std::string &nm) { return (nm == name);} ^~~~~~ ./server.h:239:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator!=(serviceinfo &si) { return (si != name);} ^~~~~~ ./server.h:240:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator!=(const std::string &nm) { return (nm != name);} ^~~~~~ ./server.h:206:98: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] serviceinfo(std::string n, int r, bool s, std::string i = std::string(""), int mc=0, char* comm="", ^ latcpcircuit.cc:87:32: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] send_reply(LATCP_VERSION, VERSION, -1); ^ <command line>:7:17: note: expanded from here #define VERSION "1.21" ^ latcpcircuit.cc:92:33: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] send_reply(LATCP_ERRORMSG, "latcp version does not match latd version " VERSION, -1); ^ latcpcircuit.cc:173:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] send_reply(LATCP_ACK, "", -1); ^ latcpcircuit.cc:180:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] send_reply(LATCP_ACK, "", -1); ^ latcpcircuit.cc:188:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] send_reply(LATCP_ACK, "", -1); ^ latcpcircuit.cc:195:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] send_reply(LATCP_ACK, "", -1); ^ latcpcircuit.cc:213:28: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] send_reply(LATCP_ACK, "", -1); ^ latcpcircuit.cc:215:33: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] send_reply(LATCP_ERRORMSG, "Local service does not exist", -1); ^ latcpcircuit.cc:230:28: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] send_reply(LATCP_ACK, "", -1); ^ latcpcircuit.cc:232:33: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] send_reply(LATCP_ERRORMSG, "Local service does not exist", -1); ^ latcpcircuit.cc:266:28: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] send_reply(LATCP_ACK, "", -1); ^ latcpcircuit.cc:268:33: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] send_reply(LATCP_ERRORMSG, "Local service already exists", -1); ^ latcpcircuit.cc:283:28: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] send_reply(LATCP_ACK, "", -1); ^ latcpcircuit.cc:285:33: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] send_reply(LATCP_ERRORMSG, "Local service does not exist", -1); ^ latcpcircuit.cc:299:28: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] send_reply(LATCP_ACK, "", -1); ^ latcpcircuit.cc:301:33: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] send_reply(LATCP_ERRORMSG, "Local port does not exist", -1); ^ latcpcircuit.cc:315:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] send_reply(LATCP_ACK, "", -1); ^ latcpcircuit.cc:329:31: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] send_reply(LATCP_ACK, "", -1); ^ latcpcircuit.cc:343:31: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] send_reply(LATCP_ACK, "", -1); ^ latcpcircuit.cc:383:33: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] send_reply(LATCP_ERRORMSG, "Local port (tty) already in use", -1); ^ latcpcircuit.cc:386:28: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] send_reply(LATCP_ACK, "", -1); // all OK ^ 26 warnings generated. if clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"latd\" -DVERSION=\"1.21\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_SOCKIO_H=1 -DHAVE_SYS_FILIO_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_UTIL_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_NET_IF_DL_H=1 -DHAVE_AF_LINK=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_OPENPTY=1 -DLOGIN_BIN=\"/usr/bin/login\" -DLATCP_SOCKNAME=\"/var/run/latcp\" -DLLOGIN_SOCKNAME=\"/var/run/latlogin\" -I. -I. -DLATD_CONF=\"/opt/pkg/etc/latd.conf\" -DSBINDIR=\"/opt/pkg/sbin\" -DBINDIR=\"/opt/pkg/bin\" -DPREFIX="\"/opt/pkg\"" -fno-rtti -fno-exceptions -Wstrict-prototypes -Wno-unused -pipe -Os -DENABLE_DEFAULT_SERVICE -W -MT llogincircuit.o -MD -MP -MF ".deps/llogincircuit.Tpo" -c -o llogincircuit.o `test -f 'llogincircuit.cc' || echo './'`llogincircuit.cc; then mv -f ".deps/llogincircuit.Tpo" ".deps/llogincircuit.Po"; else rm -f ".deps/llogincircuit.Tpo"; exit 1; fi In file included from llogincircuit.cc:37: ./server.h:237:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator==(serviceinfo &si) { return (si == name);} ^~~~~~ ./server.h:238:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator==(const std::string &nm) { return (nm == name);} ^~~~~~ ./server.h:239:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator!=(serviceinfo &si) { return (si != name);} ^~~~~~ ./server.h:240:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator!=(const std::string &nm) { return (nm != name);} ^~~~~~ ./server.h:206:98: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] serviceinfo(std::string n, int r, bool s, std::string i = std::string(""), int mc=0, char* comm="", ^ llogincircuit.cc:89:32: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] send_reply(LATCP_VERSION, VERSION, -1); ^ <command line>:7:17: note: expanded from here #define VERSION "1.21" ^ llogincircuit.cc:94:33: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] send_reply(LATCP_ERRORMSG, "llogin version does not match latd version " VERSION, -1); ^ llogincircuit.cc:137:33: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] send_reply(LATCP_ERRORMSG, "Error creating client service.", -1); ^ llogincircuit.cc:141:28: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] send_reply(LATCP_ACK, "", -1); ^ 9 warnings generated. if clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"latd\" -DVERSION=\"1.21\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_SOCKIO_H=1 -DHAVE_SYS_FILIO_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_UTIL_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_NET_IF_DL_H=1 -DHAVE_AF_LINK=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_OPENPTY=1 -DLOGIN_BIN=\"/usr/bin/login\" -DLATCP_SOCKNAME=\"/var/run/latcp\" -DLLOGIN_SOCKNAME=\"/var/run/latlogin\" -I. -I. -DLATD_CONF=\"/opt/pkg/etc/latd.conf\" -DSBINDIR=\"/opt/pkg/sbin\" -DBINDIR=\"/opt/pkg/bin\" -DPREFIX="\"/opt/pkg\"" -fno-rtti -fno-exceptions -Wstrict-prototypes -Wno-unused -pipe -Os -DENABLE_DEFAULT_SERVICE -W -MT lloginsession.o -MD -MP -MF ".deps/lloginsession.Tpo" -c -o lloginsession.o `test -f 'lloginsession.cc' || echo './'`lloginsession.cc; then mv -f ".deps/lloginsession.Tpo" ".deps/lloginsession.Po"; else rm -f ".deps/lloginsession.Tpo"; exit 1; fi In file included from lloginsession.cc:34: ./server.h:237:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator==(serviceinfo &si) { return (si == name);} ^~~~~~ ./server.h:238:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator==(const std::string &nm) { return (nm == name);} ^~~~~~ ./server.h:239:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator!=(serviceinfo &si) { return (si != name);} ^~~~~~ ./server.h:240:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator!=(const std::string &nm) { return (nm != name);} ^~~~~~ ./server.h:206:98: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] serviceinfo(std::string n, int r, bool s, std::string i = std::string(""), int mc=0, char* comm="", ^ lloginsession.cc:54:47: warning: unused parameter '_remote_node' [-Wunused-parameter] int lloginSession::new_session(unsigned char *_remote_node, ^ 6 warnings generated. if clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"latd\" -DVERSION=\"1.21\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_SOCKIO_H=1 -DHAVE_SYS_FILIO_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_UTIL_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_NET_IF_DL_H=1 -DHAVE_AF_LINK=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_OPENPTY=1 -DLOGIN_BIN=\"/usr/bin/login\" -DLATCP_SOCKNAME=\"/var/run/latcp\" -DLLOGIN_SOCKNAME=\"/var/run/latlogin\" -I. -I. -DLATD_CONF=\"/opt/pkg/etc/latd.conf\" -DSBINDIR=\"/opt/pkg/sbin\" -DBINDIR=\"/opt/pkg/bin\" -DPREFIX="\"/opt/pkg\"" -fno-rtti -fno-exceptions -Wstrict-prototypes -Wno-unused -pipe -Os -DENABLE_DEFAULT_SERVICE -W -MT localportsession.o -MD -MP -MF ".deps/localportsession.Tpo" -c -o localportsession.o `test -f 'localportsession.cc' || echo './'`localportsession.cc; then mv -f ".deps/localportsession.Tpo" ".deps/localportsession.Po"; else rm -f ".deps/localportsession.Tpo"; exit 1; fi In file included from localportsession.cc:39: ./server.h:237:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator==(serviceinfo &si) { return (si == name);} ^~~~~~ ./server.h:238:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator==(const std::string &nm) { return (nm == name);} ^~~~~~ ./server.h:239:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator!=(serviceinfo &si) { return (si != name);} ^~~~~~ ./server.h:240:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator!=(const std::string &nm) { return (nm != name);} ^~~~~~ ./server.h:206:98: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] serviceinfo(std::string n, int r, bool s, std::string i = std::string(""), int mc=0, char* comm="", ^ localportsession.cc:94:51: warning: unused parameter 'node' [-Wunused-parameter] void localportSession::show_status(unsigned char *node, LAT_StatusEntry *entry) ^ localportsession.cc:94:74: warning: unused parameter 'entry' [-Wunused-parameter] void localportSession::show_status(unsigned char *node, LAT_StatusEntry *entry) ^ 7 warnings generated. if clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"latd\" -DVERSION=\"1.21\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_SOCKIO_H=1 -DHAVE_SYS_FILIO_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_UTIL_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_NET_IF_DL_H=1 -DHAVE_AF_LINK=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_OPENPTY=1 -DLOGIN_BIN=\"/usr/bin/login\" -DLATCP_SOCKNAME=\"/var/run/latcp\" -DLLOGIN_SOCKNAME=\"/var/run/latlogin\" -I. -I. -DLATD_CONF=\"/opt/pkg/etc/latd.conf\" -DSBINDIR=\"/opt/pkg/sbin\" -DBINDIR=\"/opt/pkg/bin\" -DPREFIX="\"/opt/pkg\"" -fno-rtti -fno-exceptions -Wstrict-prototypes -Wno-unused -pipe -Os -DENABLE_DEFAULT_SERVICE -W -MT queuedsession.o -MD -MP -MF ".deps/queuedsession.Tpo" -c -o queuedsession.o `test -f 'queuedsession.cc' || echo './'`queuedsession.cc; then mv -f ".deps/queuedsession.Tpo" ".deps/queuedsession.Po"; else rm -f ".deps/queuedsession.Tpo"; exit 1; fi In file included from queuedsession.cc:35: ./server.h:237:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator==(serviceinfo &si) { return (si == name);} ^~~~~~ ./server.h:238:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator==(const std::string &nm) { return (nm == name);} ^~~~~~ ./server.h:239:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator!=(serviceinfo &si) { return (si != name);} ^~~~~~ ./server.h:240:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator!=(const std::string &nm) { return (nm != name);} ^~~~~~ ./server.h:206:98: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] serviceinfo(std::string n, int r, bool s, std::string i = std::string(""), int mc=0, char* comm="", ^ 5 warnings generated. if clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"latd\" -DVERSION=\"1.21\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_SOCKIO_H=1 -DHAVE_SYS_FILIO_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_UTIL_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_NET_IF_DL_H=1 -DHAVE_AF_LINK=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_OPENPTY=1 -DLOGIN_BIN=\"/usr/bin/login\" -DLATCP_SOCKNAME=\"/var/run/latcp\" -DLLOGIN_SOCKNAME=\"/var/run/latlogin\" -I. -I. -DLATD_CONF=\"/opt/pkg/etc/latd.conf\" -DSBINDIR=\"/opt/pkg/sbin\" -DBINDIR=\"/opt/pkg/bin\" -DPREFIX="\"/opt/pkg\"" -fno-rtti -fno-exceptions -Wstrict-prototypes -Wno-unused -pipe -Os -DENABLE_DEFAULT_SERVICE -W -MT localport.o -MD -MP -MF ".deps/localport.Tpo" -c -o localport.o `test -f 'localport.cc' || echo './'`localport.cc; then mv -f ".deps/localport.Tpo" ".deps/localport.Po"; else rm -f ".deps/localport.Tpo"; exit 1; fi In file included from localport.cc:35: ./server.h:237:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator==(serviceinfo &si) { return (si == name);} ^~~~~~ ./server.h:238:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator==(const std::string &nm) { return (nm == name);} ^~~~~~ ./server.h:239:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator!=(serviceinfo &si) { return (si != name);} ^~~~~~ ./server.h:240:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator!=(const std::string &nm) { return (nm != name);} ^~~~~~ ./server.h:206:98: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] serviceinfo(std::string n, int r, bool s, std::string i = std::string(""), int mc=0, char* comm="", ^ localport.cc:237:32: warning: unused parameter 'verbose' [-Wunused-parameter] void LocalPort::show_info(bool verbose, std::ostrstream &output) ^ 6 warnings generated. if clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"latd\" -DVERSION=\"1.21\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_SOCKIO_H=1 -DHAVE_SYS_FILIO_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_UTIL_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_NET_IF_DL_H=1 -DHAVE_AF_LINK=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_OPENPTY=1 -DLOGIN_BIN=\"/usr/bin/login\" -DLATCP_SOCKNAME=\"/var/run/latcp\" -DLLOGIN_SOCKNAME=\"/var/run/latlogin\" -I. -I. -DLATD_CONF=\"/opt/pkg/etc/latd.conf\" -DSBINDIR=\"/opt/pkg/sbin\" -DBINDIR=\"/opt/pkg/bin\" -DPREFIX="\"/opt/pkg\"" -fno-rtti -fno-exceptions -Wstrict-prototypes -Wno-unused -pipe -Os -DENABLE_DEFAULT_SERVICE -W -MT server.o -MD -MP -MF ".deps/server.Tpo" -c -o server.o `test -f 'server.cc' || echo './'`server.cc; then mv -f ".deps/server.Tpo" ".deps/server.Po"; else rm -f ".deps/server.Tpo"; exit 1; fi In file included from server.cc:62: ./server.h:237:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator==(serviceinfo &si) { return (si == name);} ^~~~~~ ./server.h:238:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator==(const std::string &nm) { return (nm == name);} ^~~~~~ ./server.h:239:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator!=(serviceinfo &si) { return (si != name);} ^~~~~~ ./server.h:240:2: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const bool operator!=(const std::string &nm) { return (nm != name);} ^~~~~~ ./server.h:206:98: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] serviceinfo(std::string n, int r, bool s, std::string i = std::string(""), int mc=0, char* comm="", ^ server.cc:68:13: error: typedef redefinition with different types ('int' vs '__darwin_socklen_t' (aka 'unsigned int')) typedef int socklen_t; ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/_types/_socklen_t.h:31:33: note: previous definition is here typedef __darwin_socklen_t socklen_t; ^ server.cc:200:47: warning: unused parameter 'sig' [-Wunused-parameter] void LATServer::send_service_announcement(int sig) ^ server.cc:341:43: warning: unused parameter 'sig' [-Wunused-parameter] void LATServer::send_solicit_messages(int sig) ^ server.cc:370:25: warning: comparison of integers of different signs: 'std::list<std::string>::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] if (slave_nodes.size() < last_list_size) ~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~ server.cc:376:28: warning: comparison of integers of different signs: 'std::list<std::string>::size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] if (slave_nodes.size() > counter && !slave_nodes.empty()) ~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~ server.cc:946:56: warning: unused parameter 'len' [-Wunused-parameter] void LATServer::reply_to_enq(unsigned char *inbuf, int len, int interface, ^ server.cc:1152:54: warning: unused parameter 'len' [-Wunused-parameter] void LATServer::got_enqreply(unsigned char *buf, int len, int interface, unsigned char *macaddr) ^ server.cc:1224:61: warning: unused parameter 'len' [-Wunused-parameter] void LATServer::process_command_msg(unsigned char *buf, int len, int interface, unsigned char *macaddr) ^ server.cc:1235:19: warning: unsequenced modification and access to 'ptr' [-Wunsequenced] ptr += buf[ptr++]; // Skip past groups for now. ~~ ^ server.cc:1236:19: warning: unsequenced modification and access to 'ptr' [-Wunsequenced] ptr += buf[ptr++]; // Skip past groups for now. ~~ ^ server.cc:1241:18: warning: unsequenced modification and access to 'ptr' [-Wunsequenced] ptr+= buf[ptr++]; // Skip past greeting... ~~ ^ server.cc:1280:54: warning: unused parameter 'len' [-Wunused-parameter] void LATServer::add_services(unsigned char *buf, int len, int interface, unsigned char *macaddr) ^ server.cc:1689:36: warning: unused parameter 'fd' [-Wunused-parameter] int LATServer::make_connection(int fd, const char *service, const char *rnode, const char *port, ^ server.cc:1690:46: warning: unused parameter 'password' [-Wunused-parameter] const char *localport, const char *password, bool queued) ^ 18 warnings and 1 error generated. *** [server.o] Error code 1 bmake: stopped in /Users/pbulk/build/net/latd/work/latd-1.21 1 error bmake: stopped in /Users/pbulk/build/net/latd/work/latd-1.21 *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/net/latd *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/net/latd