+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/latd-1.21/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/latd-1.21/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for latd-1.21
--- llogin.o ---
--- utils.o ---
--- llogin.o ---
if c++ -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_PTY_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_MCHECK_H=1 -DHAVE_NETINET_ETHER_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_FEATURES_H=1 -DHAVE_OPENPTY=1 -DLOGIN_BIN=\"/bin/login\" -DLATCP_SOCKNAME=\"/var/run/latcp\" -DLLOGIN_SOCKNAME=\"/var/run/latlogin\" -I. -I. -DLATD_CONF=\"/usr/pkg/etc/latd.conf\" -DSBINDIR=\"/usr/pkg/sbin\" -DBINDIR=\"/usr/pkg/bin\"   -DPREFIX="\"/usr/pkg\"" -fno-rtti -fno-exceptions -Wstrict-prototypes -Wno-unused -pipe -O2 -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
--- utils.o ---
if c++ -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_PTY_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_MCHECK_H=1 -DHAVE_NETINET_ETHER_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_FEATURES_H=1 -DHAVE_OPENPTY=1 -DLOGIN_BIN=\"/bin/login\" -DLATCP_SOCKNAME=\"/var/run/latcp\" -DLLOGIN_SOCKNAME=\"/var/run/latlogin\" -I. -I. -DLATD_CONF=\"/usr/pkg/etc/latd.conf\" -DSBINDIR=\"/usr/pkg/sbin\" -DBINDIR=\"/usr/pkg/bin\"   -DPREFIX="\"/usr/pkg\"" -fno-rtti -fno-exceptions -Wstrict-prototypes -Wno-unused -pipe -O2 -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
--- llogin.o ---
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
--- utils.o ---
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
--- llogin.o ---
In file included from /usr/include/c++/8/backward/strstream:50,
                 from llogin.cc:52:
/usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
 #warning \
  ^~~~~~~
--- main.o ---
if c++ -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_PTY_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_MCHECK_H=1 -DHAVE_NETINET_ETHER_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_FEATURES_H=1 -DHAVE_OPENPTY=1 -DLOGIN_BIN=\"/bin/login\" -DLATCP_SOCKNAME=\"/var/run/latcp\" -DLLOGIN_SOCKNAME=\"/var/run/latlogin\" -I. -I. -DLATD_CONF=\"/usr/pkg/etc/latd.conf\" -DSBINDIR=\"/usr/pkg/sbin\" -DBINDIR=\"/usr/pkg/bin\"   -DPREFIX="\"/usr/pkg\"" -fno-rtti -fno-exceptions -Wstrict-prototypes -Wno-unused -pipe -O2 -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
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
In file included from /usr/include/c++/8/backward/strstream:50,
                 from main.cc:44:
/usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
 #warning \
  ^~~~~~~
--- llogin.o ---
In file included from llogin.cc:57:
lat.h:34:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd             __attribute__ ((packed));
                                                           ^
lat.h:35:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  num_slots       __attribute__ ((packed));
                                                           ^
lat.h:38:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  sequence_number __attribute__ ((packed));
                                                           ^
lat.h:39:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  ack_number      __attribute__ ((packed));
                                                           ^
lat.h:45:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  cmd             __attribute__ ((packed));
                                                         ^
lat.h:46:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  dummy           __attribute__ ((packed));
                                                         ^
lat.h:47:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:48:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:49:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:50:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:59:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd             __attribute__ ((packed));
                                                           ^
lat.h:60:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  dummy           __attribute__ ((packed));
                                                           ^
lat.h:61:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                           ^
lat.h:62:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                           ^
lat.h:63:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                           ^
lat.h:64:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                           ^
lat.h:75:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  cmd             __attribute__ ((packed)); // always 0x28
                                                         ^
lat.h:76:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  circuit_timer   __attribute__ ((packed)); // in 10s milliseconds
                                                         ^
lat.h:77:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:78:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:79:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:80:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:81:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  incarnation     __attribute__ ((packed)); // Message incarnation
                                                         ^
lat.h:82:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  flags           __attribute__ ((packed)); // Change flags
                                                         ^
lat.h:84:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  multicast_timer __attribute__ ((packed)); // Multicast timer (seconds)
                                                         ^
lat.h:85:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  node_status     __attribute__ ((packed)); // 2 (accepting connections)
                                                         ^
lat.h:86:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  group_length    __attribute__ ((packed));
                                                         ^
lat.h:99:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver      __attribute__ ((packed)); // LAT version No. (5)
                                                       ^
lat.h:100:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco  __attribute__ ((packed)); // LAT version No. (LSB)
                                                       ^
lat.h:101:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  maxsessions __attribute__ ((packed));
                                                       ^
lat.h:102:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  exqueued    __attribute__ ((packed)); // Extra data link buffer queued
                                                       ^
lat.h:103:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  circtimer   __attribute__ ((packed)); // in 10s of milliseconds
                                                       ^
lat.h:104:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  keepalive   __attribute__ ((packed)); // in seconds
                                                       ^
lat.h:106:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodtype    __attribute__ ((packed));
                                                       ^
lat.h:107:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodver     __attribute__ ((packed));
                                                       ^
lat.h:119:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver      __attribute__ ((packed)); // LAT version No. (5)
                                                       ^
lat.h:120:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco  __attribute__ ((packed)); // LAT version No. (LSB)
                                                       ^
lat.h:121:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  maxsessions __attribute__ ((packed));
                                                       ^
lat.h:122:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  exqueued    __attribute__ ((packed));
                                                       ^
lat.h:123:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  circtimer   __attribute__ ((packed));
                                                       ^
lat.h:124:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  keepalive   __attribute__ ((packed));
                                                       ^
lat.h:126:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodtype    __attribute__ ((packed));
                                                       ^
lat.h:127:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodver     __attribute__ ((packed));
                                                       ^
lat.h:139:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char local_session  __attribute__ ((packed));
                                                         ^
lat.h:140:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char remote_session __attribute__ ((packed));
                                                         ^
lat.h:141:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char length         __attribute__ ((packed));
                                                         ^
lat.h:142:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char cmd            __attribute__ ((packed));
                                                         ^
lat.h:148:48: warning: 'packed' attribute ignored for field of type 'LAT_Header' [-Wattributes]
     LAT_Header  header  __attribute__ ((packed));
                                                ^
lat.h:149:48: warning: 'packed' attribute ignored for field of type 'LAT_SlotCmd' [-Wattributes]
     LAT_SlotCmd slot    __attribute__ ((packed));
                                                ^
lat.h:154:56: warning: 'packed' attribute ignored for field of type 'LAT_Header' [-Wattributes]
     LAT_Header    header        __attribute__ ((packed));
                                                        ^
lat.h:155:56: warning: 'packed' attribute ignored for field of type 'LAT_SlotCmd' [-Wattributes]
     LAT_SlotCmd   slot          __attribute__ ((packed));
                                                        ^
lat.h:156:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char serviceclass  __attribute__ ((packed));
                                                        ^
lat.h:157:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char attslotsize   __attribute__ ((packed));
                                                        ^
lat.h:158:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char dataslotsize  __attribute__ ((packed));
                                                        ^
lat.h:163:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd           __attribute__ ((packed));
                                                         ^
lat.h:164:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  format        __attribute__ ((packed));
                                                         ^
lat.h:165:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver         __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:166:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover         __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:167:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver        __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:168:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco    __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:172:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  opcode        __attribute__ ((packed));
                                                         ^
lat.h:173:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  modifier      __attribute__ ((packed));
                                                         ^
lat.h:200:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd           __attribute__ ((packed));
                                                         ^
lat.h:201:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  format        __attribute__ ((packed));
                                                         ^
lat.h:202:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver         __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:203:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover         __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:204:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver        __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:205:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco    __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:208:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  entry_count   __attribute__ ((packed));
                                                         ^
llogin.cc: In function 'bool open_socket(bool)':
llogin.cc:339:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     send_msg(latcp_socket, LATCP_VERSION, VERSION, strlen(VERSION)+1);
                                                                     ^
llogin.cc: In function 'int terminal(int, int, int, int, int, char*)':
llogin.cc:435:11: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
      write(latfd, inbuf, len);
      ~~~~~^~~~~~~~~~~~~~~~~~~
llogin.cc:454:8: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
   write(termfd, inbuf, len);
   ~~~~~^~~~~~~~~~~~~~~~~~~~
--- main.o ---
In file included from main.cc:46:
lat.h:34:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd             __attribute__ ((packed));
                                                           ^
lat.h:35:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  num_slots       __attribute__ ((packed));
                                                           ^
lat.h:38:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  sequence_number __attribute__ ((packed));
                                                           ^
lat.h:39:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  ack_number      __attribute__ ((packed));
                                                           ^
lat.h:45:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  cmd             __attribute__ ((packed));
                                                         ^
lat.h:46:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  dummy           __attribute__ ((packed));
                                                         ^
lat.h:47:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:48:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:49:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:50:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:59:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd             __attribute__ ((packed));
                                                           ^
lat.h:60:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  dummy           __attribute__ ((packed));
                                                           ^
lat.h:61:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                           ^
lat.h:62:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                           ^
lat.h:63:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                           ^
lat.h:64:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                           ^
lat.h:75:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  cmd             __attribute__ ((packed)); // always 0x28
                                                         ^
lat.h:76:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  circuit_timer   __attribute__ ((packed)); // in 10s milliseconds
                                                         ^
lat.h:77:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:78:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:79:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:80:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:81:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  incarnation     __attribute__ ((packed)); // Message incarnation
                                                         ^
lat.h:82:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  flags           __attribute__ ((packed)); // Change flags
                                                         ^
lat.h:84:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  multicast_timer __attribute__ ((packed)); // Multicast timer (seconds)
                                                         ^
lat.h:85:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  node_status     __attribute__ ((packed)); // 2 (accepting connections)
                                                         ^
lat.h:86:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  group_length    __attribute__ ((packed));
                                                         ^
lat.h:99:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver      __attribute__ ((packed)); // LAT version No. (5)
                                                       ^
lat.h:100:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco  __attribute__ ((packed)); // LAT version No. (LSB)
                                                       ^
lat.h:101:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  maxsessions __attribute__ ((packed));
                                                       ^
lat.h:102:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  exqueued    __attribute__ ((packed)); // Extra data link buffer queued
                                                       ^
lat.h:103:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  circtimer   __attribute__ ((packed)); // in 10s of milliseconds
                                                       ^
lat.h:104:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  keepalive   __attribute__ ((packed)); // in seconds
                                                       ^
lat.h:106:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodtype    __attribute__ ((packed));
                                                       ^
lat.h:107:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodver     __attribute__ ((packed));
                                                       ^
lat.h:119:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver      __attribute__ ((packed)); // LAT version No. (5)
                                                       ^
lat.h:120:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco  __attribute__ ((packed)); // LAT version No. (LSB)
                                                       ^
lat.h:121:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  maxsessions __attribute__ ((packed));
                                                       ^
lat.h:122:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  exqueued    __attribute__ ((packed));
                                                       ^
lat.h:123:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  circtimer   __attribute__ ((packed));
                                                       ^
lat.h:124:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  keepalive   __attribute__ ((packed));
                                                       ^
lat.h:126:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodtype    __attribute__ ((packed));
                                                       ^
lat.h:127:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodver     __attribute__ ((packed));
                                                       ^
lat.h:139:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char local_session  __attribute__ ((packed));
                                                         ^
lat.h:140:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char remote_session __attribute__ ((packed));
                                                         ^
lat.h:141:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char length         __attribute__ ((packed));
                                                         ^
lat.h:142:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char cmd            __attribute__ ((packed));
                                                         ^
lat.h:148:48: warning: 'packed' attribute ignored for field of type 'LAT_Header' [-Wattributes]
     LAT_Header  header  __attribute__ ((packed));
                                                ^
lat.h:149:48: warning: 'packed' attribute ignored for field of type 'LAT_SlotCmd' [-Wattributes]
     LAT_SlotCmd slot    __attribute__ ((packed));
                                                ^
lat.h:154:56: warning: 'packed' attribute ignored for field of type 'LAT_Header' [-Wattributes]
     LAT_Header    header        __attribute__ ((packed));
                                                        ^
lat.h:155:56: warning: 'packed' attribute ignored for field of type 'LAT_SlotCmd' [-Wattributes]
     LAT_SlotCmd   slot          __attribute__ ((packed));
                                                        ^
lat.h:156:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char serviceclass  __attribute__ ((packed));
                                                        ^
lat.h:157:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char attslotsize   __attribute__ ((packed));
                                                        ^
lat.h:158:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char dataslotsize  __attribute__ ((packed));
                                                        ^
lat.h:163:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd           __attribute__ ((packed));
                                                         ^
lat.h:164:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  format        __attribute__ ((packed));
                                                         ^
lat.h:165:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver         __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:166:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover         __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:167:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver        __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:168:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco    __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:172:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  opcode        __attribute__ ((packed));
                                                         ^
lat.h:173:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  modifier      __attribute__ ((packed));
                                                         ^
lat.h:200:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd           __attribute__ ((packed));
                                                         ^
lat.h:201:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  format        __attribute__ ((packed));
                                                         ^
lat.h:202:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver         __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:203:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover         __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:204:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver        __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:205:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco    __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:208:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  entry_count   __attribute__ ((packed));
                                                         ^
In file included from main.cc:53:
server.h:237:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator==(serviceinfo &si)  { return (si == name);}
  ^~~~~
server.h:238:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator==(const std::string &nm) { return (nm == name);}
  ^~~~~
server.h:239:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator!=(serviceinfo &si)  { return (si != name);}
  ^~~~~
server.h:240:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator!=(const std::string &nm) { return (nm != name);}
  ^~~~~
server.h:206:98: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  serviceinfo(std::string n, int r, bool s, std::string i = std::string(""), int mc=0, char* comm="",
                                                                                                  ^~
--- circuit.o ---
if c++ -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_PTY_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_MCHECK_H=1 -DHAVE_NETINET_ETHER_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_FEATURES_H=1 -DHAVE_OPENPTY=1 -DLOGIN_BIN=\"/bin/login\" -DLATCP_SOCKNAME=\"/var/run/latcp\" -DLLOGIN_SOCKNAME=\"/var/run/latlogin\" -I. -I. -DLATD_CONF=\"/usr/pkg/etc/latd.conf\" -DSBINDIR=\"/usr/pkg/sbin\" -DBINDIR=\"/usr/pkg/bin\"   -DPREFIX="\"/usr/pkg\"" -fno-rtti -fno-exceptions -Wstrict-prototypes -Wno-unused -pipe -O2 -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
--- main.o ---
main.cc: In function 'int main(int, char**)':
main.cc:222:7: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result]
  chdir("/");
  ~~~~~^~~~~
--- circuit.o ---
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
In file included from /usr/include/c++/8/backward/strstream:50,
                 from circuit.cc:19:
/usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
 #warning \
  ^~~~~~~
--- clientsession.o ---
if c++ -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_PTY_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_MCHECK_H=1 -DHAVE_NETINET_ETHER_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_FEATURES_H=1 -DHAVE_OPENPTY=1 -DLOGIN_BIN=\"/bin/login\" -DLATCP_SOCKNAME=\"/var/run/latcp\" -DLLOGIN_SOCKNAME=\"/var/run/latlogin\" -I. -I. -DLATD_CONF=\"/usr/pkg/etc/latd.conf\" -DSBINDIR=\"/usr/pkg/sbin\" -DBINDIR=\"/usr/pkg/bin\"   -DPREFIX="\"/usr/pkg\"" -fno-rtti -fno-exceptions -Wstrict-prototypes -Wno-unused -pipe -O2 -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
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
In file included from /usr/include/c++/8/backward/strstream:50,
                 from clientsession.cc:26:
/usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
 #warning \
  ^~~~~~~
In file included from clientsession.cc:30:
lat.h:34:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd             __attribute__ ((packed));
                                                           ^
lat.h:35:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  num_slots       __attribute__ ((packed));
                                                           ^
lat.h:38:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  sequence_number __attribute__ ((packed));
                                                           ^
lat.h:39:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  ack_number      __attribute__ ((packed));
                                                           ^
lat.h:45:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  cmd             __attribute__ ((packed));
                                                         ^
lat.h:46:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  dummy           __attribute__ ((packed));
                                                         ^
lat.h:47:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:48:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:49:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:50:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:59:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd             __attribute__ ((packed));
                                                           ^
lat.h:60:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  dummy           __attribute__ ((packed));
                                                           ^
lat.h:61:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                           ^
lat.h:62:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                           ^
lat.h:63:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                           ^
lat.h:64:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                           ^
lat.h:75:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  cmd             __attribute__ ((packed)); // always 0x28
                                                         ^
lat.h:76:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  circuit_timer   __attribute__ ((packed)); // in 10s milliseconds
                                                         ^
lat.h:77:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:78:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:79:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:80:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:81:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  incarnation     __attribute__ ((packed)); // Message incarnation
                                                         ^
lat.h:82:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  flags           __attribute__ ((packed)); // Change flags
                                                         ^
lat.h:84:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  multicast_timer __attribute__ ((packed)); // Multicast timer (seconds)
                                                         ^
lat.h:85:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  node_status     __attribute__ ((packed)); // 2 (accepting connections)
                                                         ^
lat.h:86:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  group_length    __attribute__ ((packed));
                                                         ^
lat.h:99:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver      __attribute__ ((packed)); // LAT version No. (5)
                                                       ^
lat.h:100:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco  __attribute__ ((packed)); // LAT version No. (LSB)
                                                       ^
lat.h:101:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  maxsessions __attribute__ ((packed));
                                                       ^
lat.h:102:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  exqueued    __attribute__ ((packed)); // Extra data link buffer queued
                                                       ^
lat.h:103:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  circtimer   __attribute__ ((packed)); // in 10s of milliseconds
                                                       ^
lat.h:104:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  keepalive   __attribute__ ((packed)); // in seconds
                                                       ^
lat.h:106:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodtype    __attribute__ ((packed));
                                                       ^
lat.h:107:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodver     __attribute__ ((packed));
                                                       ^
lat.h:119:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver      __attribute__ ((packed)); // LAT version No. (5)
                                                       ^
lat.h:120:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco  __attribute__ ((packed)); // LAT version No. (LSB)
                                                       ^
lat.h:121:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  maxsessions __attribute__ ((packed));
                                                       ^
lat.h:122:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  exqueued    __attribute__ ((packed));
                                                       ^
lat.h:123:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  circtimer   __attribute__ ((packed));
                                                       ^
lat.h:124:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  keepalive   __attribute__ ((packed));
                                                       ^
lat.h:126:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodtype    __attribute__ ((packed));
                                                       ^
lat.h:127:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodver     __attribute__ ((packed));
                                                       ^
lat.h:139:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char local_session  __attribute__ ((packed));
                                                         ^
lat.h:140:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char remote_session __attribute__ ((packed));
                                                         ^
lat.h:141:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char length         __attribute__ ((packed));
                                                         ^
lat.h:142:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char cmd            __attribute__ ((packed));
                                                         ^
lat.h:148:48: warning: 'packed' attribute ignored for field of type 'LAT_Header' [-Wattributes]
     LAT_Header  header  __attribute__ ((packed));
                                                ^
lat.h:149:48: warning: 'packed' attribute ignored for field of type 'LAT_SlotCmd' [-Wattributes]
     LAT_SlotCmd slot    __attribute__ ((packed));
                                                ^
lat.h:154:56: warning: 'packed' attribute ignored for field of type 'LAT_Header' [-Wattributes]
     LAT_Header    header        __attribute__ ((packed));
                                                        ^
lat.h:155:56: warning: 'packed' attribute ignored for field of type 'LAT_SlotCmd' [-Wattributes]
     LAT_SlotCmd   slot          __attribute__ ((packed));
                                                        ^
lat.h:156:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char serviceclass  __attribute__ ((packed));
                                                        ^
lat.h:157:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char attslotsize   __attribute__ ((packed));
                                                        ^
lat.h:158:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char dataslotsize  __attribute__ ((packed));
                                                        ^
lat.h:163:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd           __attribute__ ((packed));
                                                         ^
lat.h:164:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  format        __attribute__ ((packed));
                                                         ^
lat.h:165:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver         __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:166:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover         __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:167:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver        __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:168:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco    __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:172:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  opcode        __attribute__ ((packed));
                                                         ^
lat.h:173:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  modifier      __attribute__ ((packed));
                                                         ^
lat.h:200:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd           __attribute__ ((packed));
                                                         ^
lat.h:201:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  format        __attribute__ ((packed));
                                                         ^
lat.h:202:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver         __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:203:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover         __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:204:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver        __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:205:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco    __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:208:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  entry_count   __attribute__ ((packed));
                                                         ^
In file included from clientsession.cc:37:
server.h:237:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator==(serviceinfo &si)  { return (si == name);}
  ^~~~~
server.h:238:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator==(const std::string &nm) { return (nm == name);}
  ^~~~~
server.h:239:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator!=(serviceinfo &si)  { return (si != name);}
  ^~~~~
server.h:240:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator!=(const std::string &nm) { return (nm != name);}
  ^~~~~
server.h:206:98: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  serviceinfo(std::string n, int r, bool s, std::string i = std::string(""), int mc=0, char* comm="",
                                                                                                  ^~
clientsession.cc: In member function 'virtual void ClientSession::disconnect_session(int)':
clientsession.cc:85:7: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
  write(master_fd, msg, strlen(msg));
  ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
clientsession.cc:86:7: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
  write(master_fd, "\n", 1);
  ~~~~~^~~~~~~~~~~~~~~~~~~~
--- connection.o ---
if c++ -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_PTY_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_MCHECK_H=1 -DHAVE_NETINET_ETHER_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_FEATURES_H=1 -DHAVE_OPENPTY=1 -DLOGIN_BIN=\"/bin/login\" -DLATCP_SOCKNAME=\"/var/run/latcp\" -DLLOGIN_SOCKNAME=\"/var/run/latlogin\" -I. -I. -DLATD_CONF=\"/usr/pkg/etc/latd.conf\" -DSBINDIR=\"/usr/pkg/sbin\" -DBINDIR=\"/usr/pkg/bin\"   -DPREFIX="\"/usr/pkg\"" -fno-rtti -fno-exceptions -Wstrict-prototypes -Wno-unused -pipe -O2 -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
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
In file included from /usr/include/c++/8/backward/strstream:50,
                 from connection.cc:22:
/usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
 #warning \
  ^~~~~~~
--- circuit.o ---
In file included from circuit.cc:27:
lat.h:34:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd             __attribute__ ((packed));
                                                           ^
lat.h:35:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  num_slots       __attribute__ ((packed));
                                                           ^
lat.h:38:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  sequence_number __attribute__ ((packed));
                                                           ^
lat.h:39:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  ack_number      __attribute__ ((packed));
                                                           ^
lat.h:45:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  cmd             __attribute__ ((packed));
                                                         ^
lat.h:46:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  dummy           __attribute__ ((packed));
                                                         ^
lat.h:47:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:48:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:49:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:50:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:59:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd             __attribute__ ((packed));
                                                           ^
lat.h:60:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  dummy           __attribute__ ((packed));
                                                           ^
lat.h:61:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                           ^
lat.h:62:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                           ^
lat.h:63:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                           ^
lat.h:64:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                           ^
lat.h:75:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  cmd             __attribute__ ((packed)); // always 0x28
                                                         ^
lat.h:76:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  circuit_timer   __attribute__ ((packed)); // in 10s milliseconds
                                                         ^
lat.h:77:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:78:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:79:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:80:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:81:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  incarnation     __attribute__ ((packed)); // Message incarnation
                                                         ^
lat.h:82:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  flags           __attribute__ ((packed)); // Change flags
                                                         ^
lat.h:84:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  multicast_timer __attribute__ ((packed)); // Multicast timer (seconds)
                                                         ^
lat.h:85:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  node_status     __attribute__ ((packed)); // 2 (accepting connections)
                                                         ^
lat.h:86:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  group_length    __attribute__ ((packed));
                                                         ^
lat.h:99:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver      __attribute__ ((packed)); // LAT version No. (5)
                                                       ^
lat.h:100:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco  __attribute__ ((packed)); // LAT version No. (LSB)
                                                       ^
lat.h:101:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  maxsessions __attribute__ ((packed));
                                                       ^
lat.h:102:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  exqueued    __attribute__ ((packed)); // Extra data link buffer queued
                                                       ^
lat.h:103:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  circtimer   __attribute__ ((packed)); // in 10s of milliseconds
                                                       ^
lat.h:104:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  keepalive   __attribute__ ((packed)); // in seconds
                                                       ^
lat.h:106:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodtype    __attribute__ ((packed));
                                                       ^
lat.h:107:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodver     __attribute__ ((packed));
                                                       ^
lat.h:119:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver      __attribute__ ((packed)); // LAT version No. (5)
                                                       ^
lat.h:120:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco  __attribute__ ((packed)); // LAT version No. (LSB)
                                                       ^
lat.h:121:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  maxsessions __attribute__ ((packed));
                                                       ^
lat.h:122:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  exqueued    __attribute__ ((packed));
                                                       ^
lat.h:123:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  circtimer   __attribute__ ((packed));
                                                       ^
lat.h:124:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  keepalive   __attribute__ ((packed));
                                                       ^
lat.h:126:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodtype    __attribute__ ((packed));
                                                       ^
lat.h:127:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodver     __attribute__ ((packed));
                                                       ^
lat.h:139:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char local_session  __attribute__ ((packed));
                                                         ^
lat.h:140:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char remote_session __attribute__ ((packed));
                                                         ^
lat.h:141:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char length         __attribute__ ((packed));
                                                         ^
lat.h:142:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char cmd            __attribute__ ((packed));
                                                         ^
lat.h:148:48: warning: 'packed' attribute ignored for field of type 'LAT_Header' [-Wattributes]
     LAT_Header  header  __attribute__ ((packed));
                                                ^
lat.h:149:48: warning: 'packed' attribute ignored for field of type 'LAT_SlotCmd' [-Wattributes]
     LAT_SlotCmd slot    __attribute__ ((packed));
                                                ^
lat.h:154:56: warning: 'packed' attribute ignored for field of type 'LAT_Header' [-Wattributes]
     LAT_Header    header        __attribute__ ((packed));
                                                        ^
lat.h:155:56: warning: 'packed' attribute ignored for field of type 'LAT_SlotCmd' [-Wattributes]
     LAT_SlotCmd   slot          __attribute__ ((packed));
                                                        ^
lat.h:156:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char serviceclass  __attribute__ ((packed));
                                                        ^
lat.h:157:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char attslotsize   __attribute__ ((packed));
                                                        ^
lat.h:158:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char dataslotsize  __attribute__ ((packed));
                                                        ^
lat.h:163:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd           __attribute__ ((packed));
                                                         ^
lat.h:164:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  format        __attribute__ ((packed));
                                                         ^
lat.h:165:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver         __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:166:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover         __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:167:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver        __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:168:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco    __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:172:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  opcode        __attribute__ ((packed));
                                                         ^
lat.h:173:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  modifier      __attribute__ ((packed));
                                                         ^
lat.h:200:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd           __attribute__ ((packed));
                                                         ^
lat.h:201:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  format        __attribute__ ((packed));
                                                         ^
lat.h:202:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver         __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:203:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover         __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:204:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver        __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:205:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco    __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:208:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  entry_count   __attribute__ ((packed));
                                                         ^
In file included from circuit.cc:36:
server.h:237:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator==(serviceinfo &si)  { return (si == name);}
  ^~~~~
server.h:238:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator==(const std::string &nm) { return (nm == name);}
  ^~~~~
server.h:239:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator!=(serviceinfo &si)  { return (si != name);}
  ^~~~~
server.h:240:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator!=(const std::string &nm) { return (nm != name);}
  ^~~~~
server.h:206:98: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  serviceinfo(std::string n, int r, bool s, std::string i = std::string(""), int mc=0, char* comm="",
                                                                                                  ^~
--- connection.o ---
In file included from connection.cc:26:
lat.h:34:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd             __attribute__ ((packed));
                                                           ^
lat.h:35:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  num_slots       __attribute__ ((packed));
                                                           ^
lat.h:38:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  sequence_number __attribute__ ((packed));
                                                           ^
lat.h:39:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  ack_number      __attribute__ ((packed));
                                                           ^
lat.h:45:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  cmd             __attribute__ ((packed));
                                                         ^
lat.h:46:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  dummy           __attribute__ ((packed));
                                                         ^
lat.h:47:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:48:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:49:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:50:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:59:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd             __attribute__ ((packed));
                                                           ^
lat.h:60:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  dummy           __attribute__ ((packed));
                                                           ^
lat.h:61:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                           ^
lat.h:62:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                           ^
lat.h:63:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                           ^
lat.h:64:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                           ^
lat.h:75:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  cmd             __attribute__ ((packed)); // always 0x28
                                                         ^
lat.h:76:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  circuit_timer   __attribute__ ((packed)); // in 10s milliseconds
                                                         ^
lat.h:77:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:78:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:79:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:80:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:81:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  incarnation     __attribute__ ((packed)); // Message incarnation
                                                         ^
lat.h:82:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  flags           __attribute__ ((packed)); // Change flags
                                                         ^
lat.h:84:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  multicast_timer __attribute__ ((packed)); // Multicast timer (seconds)
                                                         ^
lat.h:85:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  node_status     __attribute__ ((packed)); // 2 (accepting connections)
                                                         ^
lat.h:86:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  group_length    __attribute__ ((packed));
                                                         ^
lat.h:99:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver      __attribute__ ((packed)); // LAT version No. (5)
                                                       ^
lat.h:100:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco  __attribute__ ((packed)); // LAT version No. (LSB)
                                                       ^
lat.h:101:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  maxsessions __attribute__ ((packed));
                                                       ^
lat.h:102:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  exqueued    __attribute__ ((packed)); // Extra data link buffer queued
                                                       ^
lat.h:103:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  circtimer   __attribute__ ((packed)); // in 10s of milliseconds
                                                       ^
lat.h:104:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  keepalive   __attribute__ ((packed)); // in seconds
                                                       ^
lat.h:106:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodtype    __attribute__ ((packed));
                                                       ^
lat.h:107:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodver     __attribute__ ((packed));
                                                       ^
lat.h:119:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver      __attribute__ ((packed)); // LAT version No. (5)
                                                       ^
lat.h:120:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco  __attribute__ ((packed)); // LAT version No. (LSB)
                                                       ^
lat.h:121:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  maxsessions __attribute__ ((packed));
                                                       ^
lat.h:122:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  exqueued    __attribute__ ((packed));
                                                       ^
lat.h:123:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  circtimer   __attribute__ ((packed));
                                                       ^
lat.h:124:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  keepalive   __attribute__ ((packed));
                                                       ^
lat.h:126:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodtype    __attribute__ ((packed));
                                                       ^
lat.h:127:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodver     __attribute__ ((packed));
                                                       ^
lat.h:139:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char local_session  __attribute__ ((packed));
                                                         ^
lat.h:140:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char remote_session __attribute__ ((packed));
                                                         ^
lat.h:141:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char length         __attribute__ ((packed));
                                                         ^
lat.h:142:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char cmd            __attribute__ ((packed));
                                                         ^
lat.h:148:48: warning: 'packed' attribute ignored for field of type 'LAT_Header' [-Wattributes]
     LAT_Header  header  __attribute__ ((packed));
                                                ^
lat.h:149:48: warning: 'packed' attribute ignored for field of type 'LAT_SlotCmd' [-Wattributes]
     LAT_SlotCmd slot    __attribute__ ((packed));
                                                ^
lat.h:154:56: warning: 'packed' attribute ignored for field of type 'LAT_Header' [-Wattributes]
     LAT_Header    header        __attribute__ ((packed));
                                                        ^
lat.h:155:56: warning: 'packed' attribute ignored for field of type 'LAT_SlotCmd' [-Wattributes]
     LAT_SlotCmd   slot          __attribute__ ((packed));
                                                        ^
lat.h:156:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char serviceclass  __attribute__ ((packed));
                                                        ^
lat.h:157:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char attslotsize   __attribute__ ((packed));
                                                        ^
lat.h:158:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char dataslotsize  __attribute__ ((packed));
                                                        ^
lat.h:163:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd           __attribute__ ((packed));
                                                         ^
lat.h:164:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  format        __attribute__ ((packed));
                                                         ^
lat.h:165:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver         __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:166:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover         __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:167:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver        __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:168:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco    __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:172:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  opcode        __attribute__ ((packed));
                                                         ^
lat.h:173:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  modifier      __attribute__ ((packed));
                                                         ^
lat.h:200:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd           __attribute__ ((packed));
                                                         ^
lat.h:201:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  format        __attribute__ ((packed));
                                                         ^
lat.h:202:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver         __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:203:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover         __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:204:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver        __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:205:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco    __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:208:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  entry_count   __attribute__ ((packed));
                                                         ^
In file included from connection.cc:39:
server.h:237:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator==(serviceinfo &si)  { return (si == name);}
  ^~~~~
server.h:238:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator==(const std::string &nm) { return (nm == name);}
  ^~~~~
server.h:239:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator!=(serviceinfo &si)  { return (si != name);}
  ^~~~~
server.h:240:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator!=(const std::string &nm) { return (nm != name);}
  ^~~~~
server.h:206:98: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  serviceinfo(std::string n, int r, bool s, std::string i = std::string(""), int mc=0, char* comm="",
                                                                                                  ^~
connection.cc: In member function 'bool LATConnection::process_session_cmd(unsigned char*, int, unsigned char*)':
connection.cc:334:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
        credits) == -1)
               ^
connection.cc:334:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
connection.cc:395:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
        credits) == -1)
               ^
--- interfaces.o ---
if c++ -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_PTY_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_MCHECK_H=1 -DHAVE_NETINET_ETHER_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_FEATURES_H=1 -DHAVE_OPENPTY=1 -DLOGIN_BIN=\"/bin/login\" -DLATCP_SOCKNAME=\"/var/run/latcp\" -DLLOGIN_SOCKNAME=\"/var/run/latlogin\" -I. -I. -DLATD_CONF=\"/usr/pkg/etc/latd.conf\" -DSBINDIR=\"/usr/pkg/sbin\" -DBINDIR=\"/usr/pkg/bin\"   -DPREFIX="\"/usr/pkg\"" -fno-rtti -fno-exceptions -Wstrict-prototypes -Wno-unused -pipe -O2 -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
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
--- lat_messages.o ---
if c++ -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_PTY_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_MCHECK_H=1 -DHAVE_NETINET_ETHER_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_FEATURES_H=1 -DHAVE_OPENPTY=1 -DLOGIN_BIN=\"/bin/login\" -DLATCP_SOCKNAME=\"/var/run/latcp\" -DLLOGIN_SOCKNAME=\"/var/run/latlogin\" -I. -I. -DLATD_CONF=\"/usr/pkg/etc/latd.conf\" -DSBINDIR=\"/usr/pkg/sbin\" -DBINDIR=\"/usr/pkg/bin\"   -DPREFIX="\"/usr/pkg\"" -fno-rtti -fno-exceptions -Wstrict-prototypes -Wno-unused -pipe -O2 -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
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
lat_messages.cc: In static member function 'static char* lat_messages::session_disconnect_msg(int)':
lat_messages.cc:22:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     case 0x0: return "Unknown";
                      ^~~~~~~~~
lat_messages.cc:24:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     case 0x1: return "User requested disconnect";
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
lat_messages.cc:26:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     case 0x2: return "System shutdown in progress";
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lat_messages.cc:28:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     case 0x3: return "Invalid slot received";
                      ^~~~~~~~~~~~~~~~~~~~~~~
lat_messages.cc:30:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     case 0x4: return "Invalid service class";
                      ^~~~~~~~~~~~~~~~~~~~~~~
lat_messages.cc:32:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     case 0x5: return "Insufficient resources";
                      ^~~~~~~~~~~~~~~~~~~~~~~~
lat_messages.cc:34:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     case 0x6: return "Service in use";
                      ^~~~~~~~~~~~~~~~
lat_messages.cc:36:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     case 0x7: return "No such service";
                      ^~~~~~~~~~~~~~~~~
lat_messages.cc:38:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     case 0x8: return "Service is disabled";
                      ^~~~~~~~~~~~~~~~~~~~~
lat_messages.cc:40:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     case 0x9: return "Service is not offered by requested port";
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lat_messages.cc:42:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     case 0xa: return "Port name is unknown";
                      ^~~~~~~~~~~~~~~~~~~~~~
lat_messages.cc:44:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     case 0xb: return "Invalid password";
                      ^~~~~~~~~~~~~~~~~~
lat_messages.cc:46:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     case 0xc: return "Entry is not in the queue";
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
lat_messages.cc:48:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     case 0xd: return "Immediate access rejected";
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
lat_messages.cc:50:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     case 0xe: return "Access denied";
                      ^~~~~~~~~~~~~~~
lat_messages.cc:52:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     case 0xf: return "Corrupted solicit request";
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
lat_messages.cc: In static member function 'static char* lat_messages::connection_disconnect_msg(int)':
lat_messages.cc:62:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     case 0x00: return "Unknown";
                       ^~~~~~~~~
lat_messages.cc:64:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     case 0x01: return "No more slots on circuit";
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~
lat_messages.cc:66:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     case 0x02: return "Illegal message or slot format received";
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lat_messages.cc:68:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     case 0x03: return "VC_Halt from user";
                       ^~~~~~~~~~~~~~~~~~~
lat_messages.cc:70:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     case 0x04: return "No progress being made";
                       ^~~~~~~~~~~~~~~~~~~~~~~~
lat_messages.cc:72:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     case 0x05: return "Time limit expired";
                       ^~~~~~~~~~~~~~~~~~~~
lat_messages.cc:74:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     case 0x06: return "Retransmission limit reached";
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lat_messages.cc:76:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     case 0x07: return "Insufficient resources to satisfy request";
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lat_messages.cc:78:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     case 0x08: return "Server circuit timer out of range";
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lat_messages.cc:80:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     case 0x09: return "Number of virtual circuits exceeded";
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- latcpcircuit.o ---
if c++ -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_PTY_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_MCHECK_H=1 -DHAVE_NETINET_ETHER_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_FEATURES_H=1 -DHAVE_OPENPTY=1 -DLOGIN_BIN=\"/bin/login\" -DLATCP_SOCKNAME=\"/var/run/latcp\" -DLLOGIN_SOCKNAME=\"/var/run/latlogin\" -I. -I. -DLATD_CONF=\"/usr/pkg/etc/latd.conf\" -DSBINDIR=\"/usr/pkg/sbin\" -DBINDIR=\"/usr/pkg/bin\"   -DPREFIX="\"/usr/pkg\"" -fno-rtti -fno-exceptions -Wstrict-prototypes -Wno-unused -pipe -O2 -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
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
In file included from /usr/include/c++/8/backward/strstream:50,
                 from latcpcircuit.cc:19:
/usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
 #warning \
  ^~~~~~~
In file included from latcpcircuit.cc:26:
lat.h:34:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd             __attribute__ ((packed));
                                                           ^
lat.h:35:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  num_slots       __attribute__ ((packed));
                                                           ^
lat.h:38:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  sequence_number __attribute__ ((packed));
                                                           ^
lat.h:39:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  ack_number      __attribute__ ((packed));
                                                           ^
lat.h:45:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  cmd             __attribute__ ((packed));
                                                         ^
lat.h:46:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  dummy           __attribute__ ((packed));
                                                         ^
lat.h:47:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:48:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:49:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:50:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:59:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd             __attribute__ ((packed));
                                                           ^
lat.h:60:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  dummy           __attribute__ ((packed));
                                                           ^
lat.h:61:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                           ^
lat.h:62:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                           ^
lat.h:63:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                           ^
lat.h:64:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                           ^
lat.h:75:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  cmd             __attribute__ ((packed)); // always 0x28
                                                         ^
lat.h:76:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  circuit_timer   __attribute__ ((packed)); // in 10s milliseconds
                                                         ^
lat.h:77:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:78:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:79:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:80:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:81:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  incarnation     __attribute__ ((packed)); // Message incarnation
                                                         ^
lat.h:82:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  flags           __attribute__ ((packed)); // Change flags
                                                         ^
lat.h:84:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  multicast_timer __attribute__ ((packed)); // Multicast timer (seconds)
                                                         ^
lat.h:85:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  node_status     __attribute__ ((packed)); // 2 (accepting connections)
                                                         ^
lat.h:86:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  group_length    __attribute__ ((packed));
                                                         ^
lat.h:99:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver      __attribute__ ((packed)); // LAT version No. (5)
                                                       ^
lat.h:100:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco  __attribute__ ((packed)); // LAT version No. (LSB)
                                                       ^
lat.h:101:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  maxsessions __attribute__ ((packed));
                                                       ^
lat.h:102:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  exqueued    __attribute__ ((packed)); // Extra data link buffer queued
                                                       ^
lat.h:103:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  circtimer   __attribute__ ((packed)); // in 10s of milliseconds
                                                       ^
lat.h:104:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  keepalive   __attribute__ ((packed)); // in seconds
                                                       ^
lat.h:106:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodtype    __attribute__ ((packed));
                                                       ^
lat.h:107:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodver     __attribute__ ((packed));
                                                       ^
lat.h:119:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver      __attribute__ ((packed)); // LAT version No. (5)
                                                       ^
lat.h:120:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco  __attribute__ ((packed)); // LAT version No. (LSB)
                                                       ^
lat.h:121:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  maxsessions __attribute__ ((packed));
                                                       ^
lat.h:122:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  exqueued    __attribute__ ((packed));
                                                       ^
lat.h:123:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  circtimer   __attribute__ ((packed));
                                                       ^
lat.h:124:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  keepalive   __attribute__ ((packed));
                                                       ^
lat.h:126:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodtype    __attribute__ ((packed));
                                                       ^
lat.h:127:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodver     __attribute__ ((packed));
                                                       ^
lat.h:139:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char local_session  __attribute__ ((packed));
                                                         ^
lat.h:140:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char remote_session __attribute__ ((packed));
                                                         ^
lat.h:141:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char length         __attribute__ ((packed));
                                                         ^
lat.h:142:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char cmd            __attribute__ ((packed));
                                                         ^
lat.h:148:48: warning: 'packed' attribute ignored for field of type 'LAT_Header' [-Wattributes]
     LAT_Header  header  __attribute__ ((packed));
                                                ^
lat.h:149:48: warning: 'packed' attribute ignored for field of type 'LAT_SlotCmd' [-Wattributes]
     LAT_SlotCmd slot    __attribute__ ((packed));
                                                ^
lat.h:154:56: warning: 'packed' attribute ignored for field of type 'LAT_Header' [-Wattributes]
     LAT_Header    header        __attribute__ ((packed));
                                                        ^
lat.h:155:56: warning: 'packed' attribute ignored for field of type 'LAT_SlotCmd' [-Wattributes]
     LAT_SlotCmd   slot          __attribute__ ((packed));
                                                        ^
lat.h:156:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char serviceclass  __attribute__ ((packed));
                                                        ^
lat.h:157:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char attslotsize   __attribute__ ((packed));
                                                        ^
lat.h:158:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char dataslotsize  __attribute__ ((packed));
                                                        ^
lat.h:163:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd           __attribute__ ((packed));
                                                         ^
lat.h:164:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  format        __attribute__ ((packed));
                                                         ^
lat.h:165:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver         __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:166:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover         __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:167:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver        __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:168:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco    __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:172:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  opcode        __attribute__ ((packed));
                                                         ^
lat.h:173:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  modifier      __attribute__ ((packed));
                                                         ^
lat.h:200:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd           __attribute__ ((packed));
                                                         ^
lat.h:201:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  format        __attribute__ ((packed));
                                                         ^
lat.h:202:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver         __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:203:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover         __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:204:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver        __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:205:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco    __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:208:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  entry_count   __attribute__ ((packed));
                                                         ^
In file included from latcpcircuit.cc:35:
server.h:237:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator==(serviceinfo &si)  { return (si == name);}
  ^~~~~
server.h:238:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator==(const std::string &nm) { return (nm == name);}
  ^~~~~
server.h:239:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator!=(serviceinfo &si)  { return (si != name);}
  ^~~~~
server.h:240:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator!=(const std::string &nm) { return (nm != name);}
  ^~~~~
server.h:206:98: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  serviceinfo(std::string n, int r, bool s, std::string i = std::string(""), int mc=0, char* comm="",
                                                                                                  ^~
latcpcircuit.cc: In member function 'virtual bool LATCPCircuit::do_command()':
latcpcircuit.cc:87:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
      send_reply(LATCP_VERSION, VERSION, -1);
                                           ^
latcpcircuit.cc:92:89: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
      send_reply(LATCP_ERRORMSG, "latcp version does not match latd version " VERSION, -1);
                                                                                         ^
latcpcircuit.cc:173:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  send_reply(LATCP_ACK, "", -1);
                              ^
latcpcircuit.cc:180:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  send_reply(LATCP_ACK, "", -1);
                              ^
latcpcircuit.cc:188:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  send_reply(LATCP_ACK, "", -1);
                              ^
latcpcircuit.cc:195:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  send_reply(LATCP_ACK, "", -1);
                              ^
latcpcircuit.cc:213:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
      send_reply(LATCP_ACK, "", -1);
                                  ^
latcpcircuit.cc:215:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
      send_reply(LATCP_ERRORMSG, "Local service does not exist", -1);
                                                                   ^
latcpcircuit.cc:230:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
      send_reply(LATCP_ACK, "", -1);
                                  ^
latcpcircuit.cc:232:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
      send_reply(LATCP_ERRORMSG, "Local service does not exist", -1);
                                                                   ^
latcpcircuit.cc:266:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
      send_reply(LATCP_ACK, "", -1);
                                  ^
latcpcircuit.cc:268:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
      send_reply(LATCP_ERRORMSG, "Local service already exists", -1);
                                                                   ^
latcpcircuit.cc:283:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
      send_reply(LATCP_ACK, "", -1);
                                  ^
latcpcircuit.cc:285:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
      send_reply(LATCP_ERRORMSG, "Local service does not exist", -1);
                                                                   ^
latcpcircuit.cc:299:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
      send_reply(LATCP_ACK, "", -1);
                                  ^
latcpcircuit.cc:301:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
      send_reply(LATCP_ERRORMSG, "Local port does not exist", -1);
                                                                ^
latcpcircuit.cc:315:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  send_reply(LATCP_ACK, "", -1);
                              ^
latcpcircuit.cc:329:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         send_reply(LATCP_ACK, "", -1);
                                     ^
latcpcircuit.cc:343:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         send_reply(LATCP_ACK, "", -1);
                                     ^
latcpcircuit.cc:383:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
      send_reply(LATCP_ERRORMSG, "Local port (tty) already in use", -1);
                                                                      ^
latcpcircuit.cc:386:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
      send_reply(LATCP_ACK, "", -1); // all OK
                                  ^
--- llogincircuit.o ---
if c++ -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_PTY_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_MCHECK_H=1 -DHAVE_NETINET_ETHER_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_FEATURES_H=1 -DHAVE_OPENPTY=1 -DLOGIN_BIN=\"/bin/login\" -DLATCP_SOCKNAME=\"/var/run/latcp\" -DLLOGIN_SOCKNAME=\"/var/run/latlogin\" -I. -I. -DLATD_CONF=\"/usr/pkg/etc/latd.conf\" -DSBINDIR=\"/usr/pkg/sbin\" -DBINDIR=\"/usr/pkg/bin\"   -DPREFIX="\"/usr/pkg\"" -fno-rtti -fno-exceptions -Wstrict-prototypes -Wno-unused -pipe -O2 -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
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
In file included from /usr/include/c++/8/backward/strstream:50,
                 from llogincircuit.cc:20:
/usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
 #warning \
  ^~~~~~~
--- lloginsession.o ---
if c++ -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_PTY_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_MCHECK_H=1 -DHAVE_NETINET_ETHER_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_FEATURES_H=1 -DHAVE_OPENPTY=1 -DLOGIN_BIN=\"/bin/login\" -DLATCP_SOCKNAME=\"/var/run/latcp\" -DLLOGIN_SOCKNAME=\"/var/run/latlogin\" -I. -I. -DLATD_CONF=\"/usr/pkg/etc/latd.conf\" -DSBINDIR=\"/usr/pkg/sbin\" -DBINDIR=\"/usr/pkg/bin\"   -DPREFIX="\"/usr/pkg\"" -fno-rtti -fno-exceptions -Wstrict-prototypes -Wno-unused -pipe -O2 -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
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
In file included from /usr/include/c++/8/backward/strstream:50,
                 from lloginsession.cc:25:
/usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
 #warning \
  ^~~~~~~
--- llogincircuit.o ---
In file included from llogincircuit.cc:27:
lat.h:34:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd             __attribute__ ((packed));
                                                           ^
lat.h:35:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  num_slots       __attribute__ ((packed));
                                                           ^
lat.h:38:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  sequence_number __attribute__ ((packed));
                                                           ^
lat.h:39:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  ack_number      __attribute__ ((packed));
                                                           ^
lat.h:45:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  cmd             __attribute__ ((packed));
                                                         ^
lat.h:46:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  dummy           __attribute__ ((packed));
                                                         ^
lat.h:47:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:48:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:49:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:50:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:59:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd             __attribute__ ((packed));
                                                           ^
lat.h:60:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  dummy           __attribute__ ((packed));
                                                           ^
lat.h:61:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                           ^
lat.h:62:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                           ^
lat.h:63:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                           ^
lat.h:64:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                           ^
lat.h:75:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  cmd             __attribute__ ((packed)); // always 0x28
                                                         ^
lat.h:76:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  circuit_timer   __attribute__ ((packed)); // in 10s milliseconds
                                                         ^
lat.h:77:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:78:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:79:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:80:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:81:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  incarnation     __attribute__ ((packed)); // Message incarnation
                                                         ^
lat.h:82:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  flags           __attribute__ ((packed)); // Change flags
                                                         ^
lat.h:84:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  multicast_timer __attribute__ ((packed)); // Multicast timer (seconds)
                                                         ^
lat.h:85:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  node_status     __attribute__ ((packed)); // 2 (accepting connections)
                                                         ^
lat.h:86:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  group_length    __attribute__ ((packed));
                                                         ^
lat.h:99:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver      __attribute__ ((packed)); // LAT version No. (5)
                                                       ^
lat.h:100:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco  __attribute__ ((packed)); // LAT version No. (LSB)
                                                       ^
lat.h:101:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  maxsessions __attribute__ ((packed));
                                                       ^
lat.h:102:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  exqueued    __attribute__ ((packed)); // Extra data link buffer queued
                                                       ^
lat.h:103:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  circtimer   __attribute__ ((packed)); // in 10s of milliseconds
                                                       ^
lat.h:104:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  keepalive   __attribute__ ((packed)); // in seconds
                                                       ^
lat.h:106:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodtype    __attribute__ ((packed));
                                                       ^
lat.h:107:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodver     __attribute__ ((packed));
                                                       ^
lat.h:119:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver      __attribute__ ((packed)); // LAT version No. (5)
                                                       ^
lat.h:120:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco  __attribute__ ((packed)); // LAT version No. (LSB)
                                                       ^
lat.h:121:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  maxsessions __attribute__ ((packed));
                                                       ^
lat.h:122:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  exqueued    __attribute__ ((packed));
                                                       ^
lat.h:123:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  circtimer   __attribute__ ((packed));
                                                       ^
lat.h:124:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  keepalive   __attribute__ ((packed));
                                                       ^
lat.h:126:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodtype    __attribute__ ((packed));
                                                       ^
lat.h:127:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodver     __attribute__ ((packed));
                                                       ^
lat.h:139:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char local_session  __attribute__ ((packed));
                                                         ^
lat.h:140:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char remote_session __attribute__ ((packed));
                                                         ^
lat.h:141:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char length         __attribute__ ((packed));
                                                         ^
lat.h:142:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char cmd            __attribute__ ((packed));
                                                         ^
lat.h:148:48: warning: 'packed' attribute ignored for field of type 'LAT_Header' [-Wattributes]
     LAT_Header  header  __attribute__ ((packed));
                                                ^
lat.h:149:48: warning: 'packed' attribute ignored for field of type 'LAT_SlotCmd' [-Wattributes]
     LAT_SlotCmd slot    __attribute__ ((packed));
                                                ^
lat.h:154:56: warning: 'packed' attribute ignored for field of type 'LAT_Header' [-Wattributes]
     LAT_Header    header        __attribute__ ((packed));
                                                        ^
lat.h:155:56: warning: 'packed' attribute ignored for field of type 'LAT_SlotCmd' [-Wattributes]
     LAT_SlotCmd   slot          __attribute__ ((packed));
                                                        ^
lat.h:156:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char serviceclass  __attribute__ ((packed));
                                                        ^
lat.h:157:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char attslotsize   __attribute__ ((packed));
                                                        ^
lat.h:158:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char dataslotsize  __attribute__ ((packed));
                                                        ^
lat.h:163:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd           __attribute__ ((packed));
                                                         ^
lat.h:164:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  format        __attribute__ ((packed));
                                                         ^
lat.h:165:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver         __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:166:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover         __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:167:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver        __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:168:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco    __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:172:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  opcode        __attribute__ ((packed));
                                                         ^
lat.h:173:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  modifier      __attribute__ ((packed));
                                                         ^
lat.h:200:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd           __attribute__ ((packed));
                                                         ^
lat.h:201:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  format        __attribute__ ((packed));
                                                         ^
lat.h:202:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver         __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:203:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover         __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:204:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver        __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:205:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco    __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:208:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  entry_count   __attribute__ ((packed));
                                                         ^
In file included from llogincircuit.cc:37:
server.h:237:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator==(serviceinfo &si)  { return (si == name);}
  ^~~~~
server.h:238:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator==(const std::string &nm) { return (nm == name);}
  ^~~~~
server.h:239:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator!=(serviceinfo &si)  { return (si != name);}
  ^~~~~
server.h:240:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator!=(const std::string &nm) { return (nm != name);}
  ^~~~~
server.h:206:98: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  serviceinfo(std::string n, int r, bool s, std::string i = std::string(""), int mc=0, char* comm="",
                                                                                                  ^~
llogincircuit.cc: In member function 'virtual bool LLOGINCircuit::do_command()':
llogincircuit.cc:89:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
      send_reply(LATCP_VERSION, VERSION, -1);
                                           ^
llogincircuit.cc:94:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
      send_reply(LATCP_ERRORMSG, "llogin version does not match latd version " VERSION, -1);
                                                                                          ^
llogincircuit.cc:137:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
      send_reply(LATCP_ERRORMSG, "Error creating client service.", -1);
                                                                     ^
llogincircuit.cc:141:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
      send_reply(LATCP_ACK, "", -1);
                                  ^
--- localportsession.o ---
if c++ -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_PTY_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_MCHECK_H=1 -DHAVE_NETINET_ETHER_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_FEATURES_H=1 -DHAVE_OPENPTY=1 -DLOGIN_BIN=\"/bin/login\" -DLATCP_SOCKNAME=\"/var/run/latcp\" -DLLOGIN_SOCKNAME=\"/var/run/latlogin\" -I. -I. -DLATD_CONF=\"/usr/pkg/etc/latd.conf\" -DSBINDIR=\"/usr/pkg/sbin\" -DBINDIR=\"/usr/pkg/bin\"   -DPREFIX="\"/usr/pkg\"" -fno-rtti -fno-exceptions -Wstrict-prototypes -Wno-unused -pipe -O2 -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
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
In file included from /usr/include/c++/8/backward/strstream:50,
                 from localportsession.cc:30:
/usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
 #warning \
  ^~~~~~~
--- lloginsession.o ---
In file included from lloginsession.cc:27:
lat.h:34:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd             __attribute__ ((packed));
                                                           ^
lat.h:35:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  num_slots       __attribute__ ((packed));
                                                           ^
lat.h:38:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  sequence_number __attribute__ ((packed));
                                                           ^
lat.h:39:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  ack_number      __attribute__ ((packed));
                                                           ^
lat.h:45:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  cmd             __attribute__ ((packed));
                                                         ^
lat.h:46:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  dummy           __attribute__ ((packed));
                                                         ^
lat.h:47:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:48:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:49:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:50:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:59:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd             __attribute__ ((packed));
                                                           ^
lat.h:60:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  dummy           __attribute__ ((packed));
                                                           ^
lat.h:61:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                           ^
lat.h:62:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                           ^
lat.h:63:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                           ^
lat.h:64:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                           ^
lat.h:75:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  cmd             __attribute__ ((packed)); // always 0x28
                                                         ^
lat.h:76:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  circuit_timer   __attribute__ ((packed)); // in 10s milliseconds
                                                         ^
lat.h:77:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:78:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:79:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:80:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:81:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  incarnation     __attribute__ ((packed)); // Message incarnation
                                                         ^
lat.h:82:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  flags           __attribute__ ((packed)); // Change flags
                                                         ^
lat.h:84:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  multicast_timer __attribute__ ((packed)); // Multicast timer (seconds)
                                                         ^
lat.h:85:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  node_status     __attribute__ ((packed)); // 2 (accepting connections)
                                                         ^
lat.h:86:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  group_length    __attribute__ ((packed));
                                                         ^
lat.h:99:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver      __attribute__ ((packed)); // LAT version No. (5)
                                                       ^
lat.h:100:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco  __attribute__ ((packed)); // LAT version No. (LSB)
                                                       ^
lat.h:101:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  maxsessions __attribute__ ((packed));
                                                       ^
lat.h:102:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  exqueued    __attribute__ ((packed)); // Extra data link buffer queued
                                                       ^
lat.h:103:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  circtimer   __attribute__ ((packed)); // in 10s of milliseconds
                                                       ^
lat.h:104:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  keepalive   __attribute__ ((packed)); // in seconds
                                                       ^
lat.h:106:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodtype    __attribute__ ((packed));
                                                       ^
lat.h:107:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodver     __attribute__ ((packed));
                                                       ^
lat.h:119:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver      __attribute__ ((packed)); // LAT version No. (5)
                                                       ^
lat.h:120:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco  __attribute__ ((packed)); // LAT version No. (LSB)
                                                       ^
lat.h:121:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  maxsessions __attribute__ ((packed));
                                                       ^
lat.h:122:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  exqueued    __attribute__ ((packed));
                                                       ^
lat.h:123:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  circtimer   __attribute__ ((packed));
                                                       ^
lat.h:124:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  keepalive   __attribute__ ((packed));
                                                       ^
lat.h:126:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodtype    __attribute__ ((packed));
                                                       ^
lat.h:127:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodver     __attribute__ ((packed));
                                                       ^
lat.h:139:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char local_session  __attribute__ ((packed));
                                                         ^
lat.h:140:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char remote_session __attribute__ ((packed));
                                                         ^
lat.h:141:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char length         __attribute__ ((packed));
                                                         ^
lat.h:142:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char cmd            __attribute__ ((packed));
                                                         ^
lat.h:148:48: warning: 'packed' attribute ignored for field of type 'LAT_Header' [-Wattributes]
     LAT_Header  header  __attribute__ ((packed));
                                                ^
lat.h:149:48: warning: 'packed' attribute ignored for field of type 'LAT_SlotCmd' [-Wattributes]
     LAT_SlotCmd slot    __attribute__ ((packed));
                                                ^
lat.h:154:56: warning: 'packed' attribute ignored for field of type 'LAT_Header' [-Wattributes]
     LAT_Header    header        __attribute__ ((packed));
                                                        ^
lat.h:155:56: warning: 'packed' attribute ignored for field of type 'LAT_SlotCmd' [-Wattributes]
     LAT_SlotCmd   slot          __attribute__ ((packed));
                                                        ^
lat.h:156:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char serviceclass  __attribute__ ((packed));
                                                        ^
lat.h:157:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char attslotsize   __attribute__ ((packed));
                                                        ^
lat.h:158:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char dataslotsize  __attribute__ ((packed));
                                                        ^
lat.h:163:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd           __attribute__ ((packed));
                                                         ^
lat.h:164:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  format        __attribute__ ((packed));
                                                         ^
lat.h:165:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver         __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:166:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover         __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:167:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver        __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:168:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco    __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:172:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  opcode        __attribute__ ((packed));
                                                         ^
lat.h:173:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  modifier      __attribute__ ((packed));
                                                         ^
lat.h:200:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd           __attribute__ ((packed));
                                                         ^
lat.h:201:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  format        __attribute__ ((packed));
                                                         ^
lat.h:202:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver         __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:203:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover         __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:204:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver        __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:205:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco    __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:208:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  entry_count   __attribute__ ((packed));
                                                         ^
In file included from lloginsession.cc:34:
server.h:237:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator==(serviceinfo &si)  { return (si == name);}
  ^~~~~
server.h:238:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator==(const std::string &nm) { return (nm == name);}
  ^~~~~
server.h:239:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator!=(serviceinfo &si)  { return (si != name);}
  ^~~~~
server.h:240:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator!=(const std::string &nm) { return (nm != name);}
  ^~~~~
server.h:206:98: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  serviceinfo(std::string n, int r, bool s, std::string i = std::string(""), int mc=0, char* comm="",
                                                                                                  ^~
lloginsession.cc: In member function 'virtual void lloginSession::disconnect_session(int)':
lloginsession.cc:158:7: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
  write(master_fd, msg, strlen(msg));
  ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lloginsession.cc:159:7: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
  write(master_fd, "\n", 1);
  ~~~~~^~~~~~~~~~~~~~~~~~~~
lloginsession.cc: In member function 'virtual void lloginSession::show_status(unsigned char*, LAT_StatusEntry*)':
lloginsession.cc:188:7: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
  write(master_fd, buffer, len);
  ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
lloginsession.cc: In member function 'virtual void lloginSession::start_port()':
lloginsession.cc:198:7: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
  write(master_fd, "LAT: Connected\n", 15);
  ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lloginsession.cc: In constructor 'lloginSession::lloginSession(LATConnection&, unsigned char, unsigned char, char*, int)':
lloginsession.cc:43:43: warning: '*<unknown>.lloginSession::<anonymous>.ClientSession::<anonymous>.LATSession::clean' is used uninitialized in this function [-Wuninitialized]
     ClientSession(p, remid, localid, lta, clean),
                                           ^~~~~
--- queuedsession.o ---
if c++ -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_PTY_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_MCHECK_H=1 -DHAVE_NETINET_ETHER_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_FEATURES_H=1 -DHAVE_OPENPTY=1 -DLOGIN_BIN=\"/bin/login\" -DLATCP_SOCKNAME=\"/var/run/latcp\" -DLLOGIN_SOCKNAME=\"/var/run/latlogin\" -I. -I. -DLATD_CONF=\"/usr/pkg/etc/latd.conf\" -DSBINDIR=\"/usr/pkg/sbin\" -DBINDIR=\"/usr/pkg/bin\"   -DPREFIX="\"/usr/pkg\"" -fno-rtti -fno-exceptions -Wstrict-prototypes -Wno-unused -pipe -O2 -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
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
In file included from /usr/include/c++/8/backward/strstream:50,
                 from queuedsession.cc:26:
/usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
 #warning \
  ^~~~~~~
--- localportsession.o ---
In file included from localportsession.cc:32:
lat.h:34:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd             __attribute__ ((packed));
                                                           ^
lat.h:35:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  num_slots       __attribute__ ((packed));
                                                           ^
lat.h:38:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  sequence_number __attribute__ ((packed));
                                                           ^
lat.h:39:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  ack_number      __attribute__ ((packed));
                                                           ^
lat.h:45:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  cmd             __attribute__ ((packed));
                                                         ^
lat.h:46:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  dummy           __attribute__ ((packed));
                                                         ^
lat.h:47:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:48:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:49:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:50:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:59:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd             __attribute__ ((packed));
                                                           ^
lat.h:60:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  dummy           __attribute__ ((packed));
                                                           ^
lat.h:61:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                           ^
lat.h:62:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                           ^
lat.h:63:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                           ^
lat.h:64:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                           ^
lat.h:75:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  cmd             __attribute__ ((packed)); // always 0x28
                                                         ^
lat.h:76:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  circuit_timer   __attribute__ ((packed)); // in 10s milliseconds
                                                         ^
lat.h:77:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:78:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:79:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:80:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:81:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  incarnation     __attribute__ ((packed)); // Message incarnation
                                                         ^
lat.h:82:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  flags           __attribute__ ((packed)); // Change flags
                                                         ^
lat.h:84:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  multicast_timer __attribute__ ((packed)); // Multicast timer (seconds)
                                                         ^
lat.h:85:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  node_status     __attribute__ ((packed)); // 2 (accepting connections)
                                                         ^
lat.h:86:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  group_length    __attribute__ ((packed));
                                                         ^
lat.h:99:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver      __attribute__ ((packed)); // LAT version No. (5)
                                                       ^
lat.h:100:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco  __attribute__ ((packed)); // LAT version No. (LSB)
                                                       ^
lat.h:101:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  maxsessions __attribute__ ((packed));
                                                       ^
lat.h:102:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  exqueued    __attribute__ ((packed)); // Extra data link buffer queued
                                                       ^
lat.h:103:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  circtimer   __attribute__ ((packed)); // in 10s of milliseconds
                                                       ^
lat.h:104:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  keepalive   __attribute__ ((packed)); // in seconds
                                                       ^
lat.h:106:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodtype    __attribute__ ((packed));
                                                       ^
lat.h:107:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodver     __attribute__ ((packed));
                                                       ^
lat.h:119:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver      __attribute__ ((packed)); // LAT version No. (5)
                                                       ^
lat.h:120:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco  __attribute__ ((packed)); // LAT version No. (LSB)
                                                       ^
lat.h:121:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  maxsessions __attribute__ ((packed));
                                                       ^
lat.h:122:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  exqueued    __attribute__ ((packed));
                                                       ^
lat.h:123:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  circtimer   __attribute__ ((packed));
                                                       ^
lat.h:124:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  keepalive   __attribute__ ((packed));
                                                       ^
lat.h:126:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodtype    __attribute__ ((packed));
                                                       ^
lat.h:127:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodver     __attribute__ ((packed));
                                                       ^
lat.h:139:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char local_session  __attribute__ ((packed));
                                                         ^
lat.h:140:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char remote_session __attribute__ ((packed));
                                                         ^
lat.h:141:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char length         __attribute__ ((packed));
                                                         ^
lat.h:142:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char cmd            __attribute__ ((packed));
                                                         ^
lat.h:148:48: warning: 'packed' attribute ignored for field of type 'LAT_Header' [-Wattributes]
     LAT_Header  header  __attribute__ ((packed));
                                                ^
lat.h:149:48: warning: 'packed' attribute ignored for field of type 'LAT_SlotCmd' [-Wattributes]
     LAT_SlotCmd slot    __attribute__ ((packed));
                                                ^
lat.h:154:56: warning: 'packed' attribute ignored for field of type 'LAT_Header' [-Wattributes]
     LAT_Header    header        __attribute__ ((packed));
                                                        ^
lat.h:155:56: warning: 'packed' attribute ignored for field of type 'LAT_SlotCmd' [-Wattributes]
     LAT_SlotCmd   slot          __attribute__ ((packed));
                                                        ^
lat.h:156:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char serviceclass  __attribute__ ((packed));
                                                        ^
lat.h:157:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char attslotsize   __attribute__ ((packed));
                                                        ^
lat.h:158:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char dataslotsize  __attribute__ ((packed));
                                                        ^
lat.h:163:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd           __attribute__ ((packed));
                                                         ^
lat.h:164:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  format        __attribute__ ((packed));
                                                         ^
lat.h:165:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver         __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:166:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover         __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:167:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver        __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:168:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco    __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:172:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  opcode        __attribute__ ((packed));
                                                         ^
lat.h:173:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  modifier      __attribute__ ((packed));
                                                         ^
lat.h:200:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd           __attribute__ ((packed));
                                                         ^
lat.h:201:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  format        __attribute__ ((packed));
                                                         ^
lat.h:202:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver         __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:203:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover         __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:204:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver        __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:205:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco    __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:208:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  entry_count   __attribute__ ((packed));
                                                         ^
In file included from localportsession.cc:39:
server.h:237:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator==(serviceinfo &si)  { return (si == name);}
  ^~~~~
server.h:238:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator==(const std::string &nm) { return (nm == name);}
  ^~~~~
server.h:239:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator!=(serviceinfo &si)  { return (si != name);}
  ^~~~~
server.h:240:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator!=(const std::string &nm) { return (nm != name);}
  ^~~~~
server.h:206:98: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  serviceinfo(std::string n, int r, bool s, std::string i = std::string(""), int mc=0, char* comm="",
                                                                                                  ^~
--- queuedsession.o ---
In file included from queuedsession.cc:28:
lat.h:34:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd             __attribute__ ((packed));
                                                           ^
lat.h:35:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  num_slots       __attribute__ ((packed));
                                                           ^
lat.h:38:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  sequence_number __attribute__ ((packed));
                                                           ^
lat.h:39:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  ack_number      __attribute__ ((packed));
                                                           ^
lat.h:45:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  cmd             __attribute__ ((packed));
                                                         ^
lat.h:46:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  dummy           __attribute__ ((packed));
                                                         ^
lat.h:47:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:48:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:49:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:50:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:59:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd             __attribute__ ((packed));
                                                           ^
lat.h:60:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  dummy           __attribute__ ((packed));
                                                           ^
lat.h:61:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                           ^
lat.h:62:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                           ^
lat.h:63:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                           ^
lat.h:64:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                           ^
lat.h:75:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  cmd             __attribute__ ((packed)); // always 0x28
                                                         ^
lat.h:76:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  circuit_timer   __attribute__ ((packed)); // in 10s milliseconds
                                                         ^
lat.h:77:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:78:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:79:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:80:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:81:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  incarnation     __attribute__ ((packed)); // Message incarnation
                                                         ^
lat.h:82:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  flags           __attribute__ ((packed)); // Change flags
                                                         ^
lat.h:84:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  multicast_timer __attribute__ ((packed)); // Multicast timer (seconds)
                                                         ^
lat.h:85:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  node_status     __attribute__ ((packed)); // 2 (accepting connections)
                                                         ^
lat.h:86:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  group_length    __attribute__ ((packed));
                                                         ^
lat.h:99:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver      __attribute__ ((packed)); // LAT version No. (5)
                                                       ^
lat.h:100:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco  __attribute__ ((packed)); // LAT version No. (LSB)
                                                       ^
lat.h:101:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  maxsessions __attribute__ ((packed));
                                                       ^
lat.h:102:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  exqueued    __attribute__ ((packed)); // Extra data link buffer queued
                                                       ^
lat.h:103:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  circtimer   __attribute__ ((packed)); // in 10s of milliseconds
                                                       ^
lat.h:104:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  keepalive   __attribute__ ((packed)); // in seconds
                                                       ^
lat.h:106:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodtype    __attribute__ ((packed));
                                                       ^
lat.h:107:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodver     __attribute__ ((packed));
                                                       ^
lat.h:119:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver      __attribute__ ((packed)); // LAT version No. (5)
                                                       ^
lat.h:120:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco  __attribute__ ((packed)); // LAT version No. (LSB)
                                                       ^
lat.h:121:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  maxsessions __attribute__ ((packed));
                                                       ^
lat.h:122:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  exqueued    __attribute__ ((packed));
                                                       ^
lat.h:123:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  circtimer   __attribute__ ((packed));
                                                       ^
lat.h:124:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  keepalive   __attribute__ ((packed));
                                                       ^
lat.h:126:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodtype    __attribute__ ((packed));
                                                       ^
lat.h:127:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodver     __attribute__ ((packed));
                                                       ^
lat.h:139:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char local_session  __attribute__ ((packed));
                                                         ^
lat.h:140:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char remote_session __attribute__ ((packed));
                                                         ^
lat.h:141:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char length         __attribute__ ((packed));
                                                         ^
lat.h:142:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char cmd            __attribute__ ((packed));
                                                         ^
lat.h:148:48: warning: 'packed' attribute ignored for field of type 'LAT_Header' [-Wattributes]
     LAT_Header  header  __attribute__ ((packed));
                                                ^
lat.h:149:48: warning: 'packed' attribute ignored for field of type 'LAT_SlotCmd' [-Wattributes]
     LAT_SlotCmd slot    __attribute__ ((packed));
                                                ^
lat.h:154:56: warning: 'packed' attribute ignored for field of type 'LAT_Header' [-Wattributes]
     LAT_Header    header        __attribute__ ((packed));
                                                        ^
lat.h:155:56: warning: 'packed' attribute ignored for field of type 'LAT_SlotCmd' [-Wattributes]
     LAT_SlotCmd   slot          __attribute__ ((packed));
                                                        ^
lat.h:156:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char serviceclass  __attribute__ ((packed));
                                                        ^
lat.h:157:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char attslotsize   __attribute__ ((packed));
                                                        ^
lat.h:158:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char dataslotsize  __attribute__ ((packed));
                                                        ^
lat.h:163:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd           __attribute__ ((packed));
                                                         ^
lat.h:164:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  format        __attribute__ ((packed));
                                                         ^
lat.h:165:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver         __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:166:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover         __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:167:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver        __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:168:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco    __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:172:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  opcode        __attribute__ ((packed));
                                                         ^
lat.h:173:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  modifier      __attribute__ ((packed));
                                                         ^
lat.h:200:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd           __attribute__ ((packed));
                                                         ^
lat.h:201:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  format        __attribute__ ((packed));
                                                         ^
lat.h:202:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver         __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:203:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover         __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:204:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver        __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:205:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco    __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:208:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  entry_count   __attribute__ ((packed));
                                                         ^
In file included from queuedsession.cc:35:
server.h:237:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator==(serviceinfo &si)  { return (si == name);}
  ^~~~~
server.h:238:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator==(const std::string &nm) { return (nm == name);}
  ^~~~~
server.h:239:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator!=(serviceinfo &si)  { return (si != name);}
  ^~~~~
server.h:240:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator!=(const std::string &nm) { return (nm != name);}
  ^~~~~
--- localportsession.o ---
localportsession.cc: In constructor 'localportSession::localportSession(LATConnection&, LocalPort*, unsigned char, unsigned char, char*, int)':
localportsession.cc:48:43: warning: '*<unknown>.localportSession::<anonymous>.lloginSession::<anonymous>.ClientSession::<anonymous>.LATSession::clean' is used uninitialized in this function [-Wuninitialized]
     lloginSession(p, remid, localid, lta, clean),
                                           ^~~~~
--- queuedsession.o ---
server.h:206:98: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  serviceinfo(std::string n, int r, bool s, std::string i = std::string(""), int mc=0, char* comm="",
                                                                                                  ^~
--- localport.o ---
if c++ -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_PTY_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_MCHECK_H=1 -DHAVE_NETINET_ETHER_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_FEATURES_H=1 -DHAVE_OPENPTY=1 -DLOGIN_BIN=\"/bin/login\" -DLATCP_SOCKNAME=\"/var/run/latcp\" -DLLOGIN_SOCKNAME=\"/var/run/latlogin\" -I. -I. -DLATD_CONF=\"/usr/pkg/etc/latd.conf\" -DSBINDIR=\"/usr/pkg/sbin\" -DBINDIR=\"/usr/pkg/bin\"   -DPREFIX="\"/usr/pkg\"" -fno-rtti -fno-exceptions -Wstrict-prototypes -Wno-unused -pipe -O2 -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
--- server.o ---
if c++ -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_PTY_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_MCHECK_H=1 -DHAVE_NETINET_ETHER_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_FEATURES_H=1 -DHAVE_OPENPTY=1 -DLOGIN_BIN=\"/bin/login\" -DLATCP_SOCKNAME=\"/var/run/latcp\" -DLLOGIN_SOCKNAME=\"/var/run/latlogin\" -I. -I. -DLATD_CONF=\"/usr/pkg/etc/latd.conf\" -DSBINDIR=\"/usr/pkg/sbin\" -DBINDIR=\"/usr/pkg/bin\"   -DPREFIX="\"/usr/pkg\"" -fno-rtti -fno-exceptions -Wstrict-prototypes -Wno-unused -pipe -O2 -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
--- localport.o ---
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
In file included from /usr/include/c++/8/backward/strstream:50,
                 from localport.cc:25:
/usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
 #warning \
  ^~~~~~~
--- server.o ---
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
In file included from /usr/include/c++/8/backward/strstream:50,
                 from server.cc:51:
/usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
 #warning \
  ^~~~~~~
--- localport.o ---
In file included from localport.cc:28:
lat.h:34:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd             __attribute__ ((packed));
                                                           ^
lat.h:35:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  num_slots       __attribute__ ((packed));
                                                           ^
lat.h:38:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  sequence_number __attribute__ ((packed));
                                                           ^
lat.h:39:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  ack_number      __attribute__ ((packed));
                                                           ^
lat.h:45:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  cmd             __attribute__ ((packed));
                                                         ^
lat.h:46:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  dummy           __attribute__ ((packed));
                                                         ^
lat.h:47:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:48:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:49:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:50:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:59:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd             __attribute__ ((packed));
                                                           ^
lat.h:60:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  dummy           __attribute__ ((packed));
                                                           ^
lat.h:61:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                           ^
lat.h:62:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                           ^
lat.h:63:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                           ^
lat.h:64:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                           ^
lat.h:75:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  cmd             __attribute__ ((packed)); // always 0x28
                                                         ^
lat.h:76:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  circuit_timer   __attribute__ ((packed)); // in 10s milliseconds
                                                         ^
lat.h:77:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:78:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:79:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:80:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:81:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  incarnation     __attribute__ ((packed)); // Message incarnation
                                                         ^
lat.h:82:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  flags           __attribute__ ((packed)); // Change flags
                                                         ^
lat.h:84:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  multicast_timer __attribute__ ((packed)); // Multicast timer (seconds)
                                                         ^
lat.h:85:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  node_status     __attribute__ ((packed)); // 2 (accepting connections)
                                                         ^
lat.h:86:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  group_length    __attribute__ ((packed));
                                                         ^
lat.h:99:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver      __attribute__ ((packed)); // LAT version No. (5)
                                                       ^
lat.h:100:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco  __attribute__ ((packed)); // LAT version No. (LSB)
                                                       ^
lat.h:101:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  maxsessions __attribute__ ((packed));
                                                       ^
lat.h:102:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  exqueued    __attribute__ ((packed)); // Extra data link buffer queued
                                                       ^
lat.h:103:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  circtimer   __attribute__ ((packed)); // in 10s of milliseconds
                                                       ^
lat.h:104:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  keepalive   __attribute__ ((packed)); // in seconds
                                                       ^
lat.h:106:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodtype    __attribute__ ((packed));
                                                       ^
lat.h:107:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodver     __attribute__ ((packed));
                                                       ^
lat.h:119:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver      __attribute__ ((packed)); // LAT version No. (5)
                                                       ^
lat.h:120:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco  __attribute__ ((packed)); // LAT version No. (LSB)
                                                       ^
lat.h:121:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  maxsessions __attribute__ ((packed));
                                                       ^
lat.h:122:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  exqueued    __attribute__ ((packed));
                                                       ^
lat.h:123:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  circtimer   __attribute__ ((packed));
                                                       ^
lat.h:124:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  keepalive   __attribute__ ((packed));
                                                       ^
lat.h:126:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodtype    __attribute__ ((packed));
                                                       ^
lat.h:127:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodver     __attribute__ ((packed));
                                                       ^
lat.h:139:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char local_session  __attribute__ ((packed));
                                                         ^
lat.h:140:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char remote_session __attribute__ ((packed));
                                                         ^
lat.h:141:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char length         __attribute__ ((packed));
                                                         ^
lat.h:142:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char cmd            __attribute__ ((packed));
                                                         ^
lat.h:148:48: warning: 'packed' attribute ignored for field of type 'LAT_Header' [-Wattributes]
     LAT_Header  header  __attribute__ ((packed));
                                                ^
lat.h:149:48: warning: 'packed' attribute ignored for field of type 'LAT_SlotCmd' [-Wattributes]
     LAT_SlotCmd slot    __attribute__ ((packed));
                                                ^
lat.h:154:56: warning: 'packed' attribute ignored for field of type 'LAT_Header' [-Wattributes]
     LAT_Header    header        __attribute__ ((packed));
                                                        ^
lat.h:155:56: warning: 'packed' attribute ignored for field of type 'LAT_SlotCmd' [-Wattributes]
     LAT_SlotCmd   slot          __attribute__ ((packed));
                                                        ^
lat.h:156:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char serviceclass  __attribute__ ((packed));
                                                        ^
lat.h:157:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char attslotsize   __attribute__ ((packed));
                                                        ^
lat.h:158:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char dataslotsize  __attribute__ ((packed));
                                                        ^
lat.h:163:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd           __attribute__ ((packed));
                                                         ^
lat.h:164:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  format        __attribute__ ((packed));
                                                         ^
lat.h:165:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver         __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:166:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover         __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:167:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver        __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:168:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco    __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:172:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  opcode        __attribute__ ((packed));
                                                         ^
lat.h:173:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  modifier      __attribute__ ((packed));
                                                         ^
lat.h:200:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd           __attribute__ ((packed));
                                                         ^
lat.h:201:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  format        __attribute__ ((packed));
                                                         ^
lat.h:202:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver         __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:203:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover         __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:204:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver        __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:205:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco    __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:208:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  entry_count   __attribute__ ((packed));
                                                         ^
In file included from localport.cc:35:
server.h:237:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator==(serviceinfo &si)  { return (si == name);}
  ^~~~~
server.h:238:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator==(const std::string &nm) { return (nm == name);}
  ^~~~~
server.h:239:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator!=(serviceinfo &si)  { return (si != name);}
  ^~~~~
server.h:240:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator!=(const std::string &nm) { return (nm != name);}
  ^~~~~
server.h:206:98: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  serviceinfo(std::string n, int r, bool s, std::string i = std::string(""), int mc=0, char* comm="",
                                                                                                  ^~
localport.cc: In member function 'void LocalPort::init_port()':
localport.cc:118:12: warning: ignoring return value of 'int symlink(const char*, const char*)', declared with attribute warn_unused_result [-Wunused-result]
     symlink(ptyname, devname.c_str());
     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
localport.cc:129:7: warning: ignoring return value of 'int chown(const char*, __uid_t, __gid_t)', declared with attribute warn_unused_result [-Wunused-result]
  chown(ptyname, 0, lat_group);
  ~~~~~^~~~~~~~~~~~~~~~~~~~~~~
localport.cc: In member function 'void LocalPort::disconnect_session(int)':
localport.cc:186:7: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
  write(master_fd, msg, strlen(msg));
  ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
localport.cc:187:7: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
  write(master_fd, "\n", 1);
  ~~~~~^~~~~~~~~~~~~~~~~~~~
--- server.o ---
In file included from server.cc:54:
lat.h:34:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd             __attribute__ ((packed));
                                                           ^
lat.h:35:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  num_slots       __attribute__ ((packed));
                                                           ^
lat.h:38:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  sequence_number __attribute__ ((packed));
                                                           ^
lat.h:39:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  ack_number      __attribute__ ((packed));
                                                           ^
lat.h:45:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  cmd             __attribute__ ((packed));
                                                         ^
lat.h:46:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  dummy           __attribute__ ((packed));
                                                         ^
lat.h:47:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:48:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:49:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:50:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:59:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd             __attribute__ ((packed));
                                                           ^
lat.h:60:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  dummy           __attribute__ ((packed));
                                                           ^
lat.h:61:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                           ^
lat.h:62:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                           ^
lat.h:63:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                           ^
lat.h:64:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                           ^
lat.h:75:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  cmd             __attribute__ ((packed)); // always 0x28
                                                         ^
lat.h:76:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  circuit_timer   __attribute__ ((packed)); // in 10s milliseconds
                                                         ^
lat.h:77:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:78:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:79:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:80:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:81:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  incarnation     __attribute__ ((packed)); // Message incarnation
                                                         ^
lat.h:82:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  flags           __attribute__ ((packed)); // Change flags
                                                         ^
lat.h:84:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  multicast_timer __attribute__ ((packed)); // Multicast timer (seconds)
                                                         ^
lat.h:85:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  node_status     __attribute__ ((packed)); // 2 (accepting connections)
                                                         ^
lat.h:86:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  group_length    __attribute__ ((packed));
                                                         ^
lat.h:99:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver      __attribute__ ((packed)); // LAT version No. (5)
                                                       ^
lat.h:100:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco  __attribute__ ((packed)); // LAT version No. (LSB)
                                                       ^
lat.h:101:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  maxsessions __attribute__ ((packed));
                                                       ^
lat.h:102:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  exqueued    __attribute__ ((packed)); // Extra data link buffer queued
                                                       ^
lat.h:103:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  circtimer   __attribute__ ((packed)); // in 10s of milliseconds
                                                       ^
lat.h:104:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  keepalive   __attribute__ ((packed)); // in seconds
                                                       ^
lat.h:106:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodtype    __attribute__ ((packed));
                                                       ^
lat.h:107:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodver     __attribute__ ((packed));
                                                       ^
lat.h:119:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver      __attribute__ ((packed)); // LAT version No. (5)
                                                       ^
lat.h:120:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco  __attribute__ ((packed)); // LAT version No. (LSB)
                                                       ^
lat.h:121:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  maxsessions __attribute__ ((packed));
                                                       ^
lat.h:122:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  exqueued    __attribute__ ((packed));
                                                       ^
lat.h:123:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  circtimer   __attribute__ ((packed));
                                                       ^
lat.h:124:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  keepalive   __attribute__ ((packed));
                                                       ^
lat.h:126:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodtype    __attribute__ ((packed));
                                                       ^
lat.h:127:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodver     __attribute__ ((packed));
                                                       ^
lat.h:139:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char local_session  __attribute__ ((packed));
                                                         ^
lat.h:140:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char remote_session __attribute__ ((packed));
                                                         ^
lat.h:141:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char length         __attribute__ ((packed));
                                                         ^
lat.h:142:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char cmd            __attribute__ ((packed));
                                                         ^
lat.h:148:48: warning: 'packed' attribute ignored for field of type 'LAT_Header' [-Wattributes]
     LAT_Header  header  __attribute__ ((packed));
                                                ^
lat.h:149:48: warning: 'packed' attribute ignored for field of type 'LAT_SlotCmd' [-Wattributes]
     LAT_SlotCmd slot    __attribute__ ((packed));
                                                ^
lat.h:154:56: warning: 'packed' attribute ignored for field of type 'LAT_Header' [-Wattributes]
     LAT_Header    header        __attribute__ ((packed));
                                                        ^
lat.h:155:56: warning: 'packed' attribute ignored for field of type 'LAT_SlotCmd' [-Wattributes]
     LAT_SlotCmd   slot          __attribute__ ((packed));
                                                        ^
lat.h:156:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char serviceclass  __attribute__ ((packed));
                                                        ^
lat.h:157:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char attslotsize   __attribute__ ((packed));
                                                        ^
lat.h:158:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char dataslotsize  __attribute__ ((packed));
                                                        ^
lat.h:163:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd           __attribute__ ((packed));
                                                         ^
lat.h:164:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  format        __attribute__ ((packed));
                                                         ^
lat.h:165:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver         __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:166:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover         __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:167:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver        __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:168:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco    __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:172:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  opcode        __attribute__ ((packed));
                                                         ^
lat.h:173:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  modifier      __attribute__ ((packed));
                                                         ^
lat.h:200:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd           __attribute__ ((packed));
                                                         ^
lat.h:201:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  format        __attribute__ ((packed));
                                                         ^
lat.h:202:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver         __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:203:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover         __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:204:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver        __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:205:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco    __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:208:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  entry_count   __attribute__ ((packed));
                                                         ^
In file included from server.cc:62:
server.h:237:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator==(serviceinfo &si)  { return (si == name);}
  ^~~~~
server.h:238:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator==(const std::string &nm) { return (nm == name);}
  ^~~~~
server.h:239:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator!=(serviceinfo &si)  { return (si != name);}
  ^~~~~
server.h:240:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator!=(const std::string &nm) { return (nm != name);}
  ^~~~~
server.h:206:98: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  serviceinfo(std::string n, int r, bool s, std::string i = std::string(""), int mc=0, char* comm="",
                                                                                                  ^~
--- serversession.o ---
if c++ -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_PTY_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_MCHECK_H=1 -DHAVE_NETINET_ETHER_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_FEATURES_H=1 -DHAVE_OPENPTY=1 -DLOGIN_BIN=\"/bin/login\" -DLATCP_SOCKNAME=\"/var/run/latcp\" -DLLOGIN_SOCKNAME=\"/var/run/latlogin\" -I. -I. -DLATD_CONF=\"/usr/pkg/etc/latd.conf\" -DSBINDIR=\"/usr/pkg/sbin\" -DBINDIR=\"/usr/pkg/bin\"   -DPREFIX="\"/usr/pkg\"" -fno-rtti -fno-exceptions -Wstrict-prototypes -Wno-unused -pipe -O2 -DENABLE_DEFAULT_SERVICE -W -MT serversession.o -MD -MP -MF ".deps/serversession.Tpo"  -c -o serversession.o `test -f 'serversession.cc' || echo './'`serversession.cc;  then mv -f ".deps/serversession.Tpo" ".deps/serversession.Po";  else rm -f ".deps/serversession.Tpo"; exit 1;  fi
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
--- server.o ---
server.cc: In member function 'void LATServer::send_solicit_messages(int)':
server.cc:370:25: warning: comparison of integer expressions of different signedness: 'std::__cxx11::list<std::__cxx11::basic_string<char> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
  if (slave_nodes.size() < last_list_size)
      ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
server.cc:376:28: warning: comparison of integer expressions of different signedness: 'std::__cxx11::list<std::__cxx11::basic_string<char> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
     if (slave_nodes.size() > counter && !slave_nodes.empty())
         ~~~~~~~~~~~~~~~~~~~^~~~~~~~~
server.cc: In member function 'void LATServer::init(bool, int, char*, char*, char**, int, int)':
server.cc:1048:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
           _static_rating));
                         ^
--- serversession.o ---
In file included from /usr/include/c++/8/backward/strstream:50,
                 from serversession.cc:31:
/usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
 #warning \
  ^~~~~~~
--- server.o ---
server.cc: In member function 'void LATServer::tidy_dev_directory()':
server.cc:78:11: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
     getcwd(current_dir, sizeof(current_dir));
     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
server.cc:79:10: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result]
     chdir(LAT_DIRECTORY);
     ~~~~~^~~~~~~~~~~~~~~
server.cc:90:10: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result]
     chdir(current_dir);
     ~~~~~^~~~~~~~~~~~~
--- serversession.o ---
In file included from serversession.cc:33:
lat.h:34:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd             __attribute__ ((packed));
                                                           ^
lat.h:35:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  num_slots       __attribute__ ((packed));
                                                           ^
lat.h:38:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  sequence_number __attribute__ ((packed));
                                                           ^
lat.h:39:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  ack_number      __attribute__ ((packed));
                                                           ^
lat.h:45:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  cmd             __attribute__ ((packed));
                                                         ^
lat.h:46:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  dummy           __attribute__ ((packed));
                                                         ^
lat.h:47:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:48:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:49:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:50:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:59:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd             __attribute__ ((packed));
                                                           ^
lat.h:60:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  dummy           __attribute__ ((packed));
                                                           ^
lat.h:61:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                           ^
lat.h:62:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                           ^
lat.h:63:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                           ^
lat.h:64:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                           ^
lat.h:75:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  cmd             __attribute__ ((packed)); // always 0x28
                                                         ^
lat.h:76:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  circuit_timer   __attribute__ ((packed)); // in 10s milliseconds
                                                         ^
lat.h:77:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:78:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:79:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:80:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:81:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  incarnation     __attribute__ ((packed)); // Message incarnation
                                                         ^
lat.h:82:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  flags           __attribute__ ((packed)); // Change flags
                                                         ^
lat.h:84:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  multicast_timer __attribute__ ((packed)); // Multicast timer (seconds)
                                                         ^
lat.h:85:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  node_status     __attribute__ ((packed)); // 2 (accepting connections)
                                                         ^
lat.h:86:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  group_length    __attribute__ ((packed));
                                                         ^
lat.h:99:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver      __attribute__ ((packed)); // LAT version No. (5)
                                                       ^
lat.h:100:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco  __attribute__ ((packed)); // LAT version No. (LSB)
                                                       ^
lat.h:101:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  maxsessions __attribute__ ((packed));
                                                       ^
lat.h:102:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  exqueued    __attribute__ ((packed)); // Extra data link buffer queued
                                                       ^
lat.h:103:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  circtimer   __attribute__ ((packed)); // in 10s of milliseconds
                                                       ^
lat.h:104:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  keepalive   __attribute__ ((packed)); // in seconds
                                                       ^
lat.h:106:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodtype    __attribute__ ((packed));
                                                       ^
lat.h:107:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodver     __attribute__ ((packed));
                                                       ^
lat.h:119:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver      __attribute__ ((packed)); // LAT version No. (5)
                                                       ^
lat.h:120:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco  __attribute__ ((packed)); // LAT version No. (LSB)
                                                       ^
lat.h:121:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  maxsessions __attribute__ ((packed));
                                                       ^
lat.h:122:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  exqueued    __attribute__ ((packed));
                                                       ^
lat.h:123:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  circtimer   __attribute__ ((packed));
                                                       ^
lat.h:124:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  keepalive   __attribute__ ((packed));
                                                       ^
lat.h:126:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodtype    __attribute__ ((packed));
                                                       ^
lat.h:127:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodver     __attribute__ ((packed));
                                                       ^
lat.h:139:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char local_session  __attribute__ ((packed));
                                                         ^
lat.h:140:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char remote_session __attribute__ ((packed));
                                                         ^
lat.h:141:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char length         __attribute__ ((packed));
                                                         ^
lat.h:142:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char cmd            __attribute__ ((packed));
                                                         ^
lat.h:148:48: warning: 'packed' attribute ignored for field of type 'LAT_Header' [-Wattributes]
     LAT_Header  header  __attribute__ ((packed));
                                                ^
lat.h:149:48: warning: 'packed' attribute ignored for field of type 'LAT_SlotCmd' [-Wattributes]
     LAT_SlotCmd slot    __attribute__ ((packed));
                                                ^
lat.h:154:56: warning: 'packed' attribute ignored for field of type 'LAT_Header' [-Wattributes]
     LAT_Header    header        __attribute__ ((packed));
                                                        ^
lat.h:155:56: warning: 'packed' attribute ignored for field of type 'LAT_SlotCmd' [-Wattributes]
     LAT_SlotCmd   slot          __attribute__ ((packed));
                                                        ^
lat.h:156:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char serviceclass  __attribute__ ((packed));
                                                        ^
lat.h:157:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char attslotsize   __attribute__ ((packed));
                                                        ^
lat.h:158:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char dataslotsize  __attribute__ ((packed));
                                                        ^
lat.h:163:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd           __attribute__ ((packed));
                                                         ^
lat.h:164:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  format        __attribute__ ((packed));
                                                         ^
lat.h:165:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver         __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:166:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover         __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:167:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver        __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:168:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco    __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:172:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  opcode        __attribute__ ((packed));
                                                         ^
lat.h:173:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  modifier      __attribute__ ((packed));
                                                         ^
lat.h:200:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd           __attribute__ ((packed));
                                                         ^
lat.h:201:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  format        __attribute__ ((packed));
                                                         ^
lat.h:202:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver         __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:203:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover         __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:204:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver        __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:205:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco    __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:208:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  entry_count   __attribute__ ((packed));
                                                         ^
In file included from serversession.cc:40:
server.h:237:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator==(serviceinfo &si)  { return (si == name);}
  ^~~~~
server.h:238:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator==(const std::string &nm) { return (nm == name);}
  ^~~~~
server.h:239:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator!=(serviceinfo &si)  { return (si != name);}
  ^~~~~
server.h:240:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator!=(const std::string &nm) { return (nm != name);}
  ^~~~~
server.h:206:98: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  serviceinfo(std::string n, int r, bool s, std::string i = std::string(""), int mc=0, char* comm="",
                                                                                                  ^~
serversession.cc: In member function 'int ServerSession::create_session(unsigned char*)':
serversession.cc:188:8: warning: ignoring return value of 'int setgid(__gid_t)', declared with attribute warn_unused_result [-Wunused-result]
  setgid(cmd_gid);
  ~~~~~~^~~~~~~~~
serversession.cc:189:8: warning: ignoring return value of 'int setuid(__uid_t)', declared with attribute warn_unused_result [-Wunused-result]
  setuid(cmd_uid);
  ~~~~~~^~~~~~~~~
--- services.o ---
if c++ -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_PTY_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_MCHECK_H=1 -DHAVE_NETINET_ETHER_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_FEATURES_H=1 -DHAVE_OPENPTY=1 -DLOGIN_BIN=\"/bin/login\" -DLATCP_SOCKNAME=\"/var/run/latcp\" -DLLOGIN_SOCKNAME=\"/var/run/latlogin\" -I. -I. -DLATD_CONF=\"/usr/pkg/etc/latd.conf\" -DSBINDIR=\"/usr/pkg/sbin\" -DBINDIR=\"/usr/pkg/bin\"   -DPREFIX="\"/usr/pkg\"" -fno-rtti -fno-exceptions -Wstrict-prototypes -Wno-unused -pipe -O2 -DENABLE_DEFAULT_SERVICE -W -MT services.o -MD -MP -MF ".deps/services.Tpo"  -c -o services.o `test -f 'services.cc' || echo './'`services.cc;  then mv -f ".deps/services.Tpo" ".deps/services.Po";  else rm -f ".deps/services.Tpo"; exit 1;  fi
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
In file included from /usr/include/c++/8/backward/strstream:50,
                 from services.cc:24:
/usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
 #warning \
  ^~~~~~~
In file included from services.cc:27:
lat.h:34:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd             __attribute__ ((packed));
                                                           ^
lat.h:35:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  num_slots       __attribute__ ((packed));
                                                           ^
lat.h:38:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  sequence_number __attribute__ ((packed));
                                                           ^
lat.h:39:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  ack_number      __attribute__ ((packed));
                                                           ^
lat.h:45:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  cmd             __attribute__ ((packed));
                                                         ^
lat.h:46:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  dummy           __attribute__ ((packed));
                                                         ^
lat.h:47:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:48:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:49:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:50:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:59:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd             __attribute__ ((packed));
                                                           ^
lat.h:60:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  dummy           __attribute__ ((packed));
                                                           ^
lat.h:61:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                           ^
lat.h:62:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                           ^
lat.h:63:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                           ^
lat.h:64:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                           ^
lat.h:75:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  cmd             __attribute__ ((packed)); // always 0x28
                                                         ^
lat.h:76:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  circuit_timer   __attribute__ ((packed)); // in 10s milliseconds
                                                         ^
lat.h:77:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:78:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:79:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:80:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:81:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  incarnation     __attribute__ ((packed)); // Message incarnation
                                                         ^
lat.h:82:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  flags           __attribute__ ((packed)); // Change flags
                                                         ^
lat.h:84:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  multicast_timer __attribute__ ((packed)); // Multicast timer (seconds)
                                                         ^
lat.h:85:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  node_status     __attribute__ ((packed)); // 2 (accepting connections)
                                                         ^
lat.h:86:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  group_length    __attribute__ ((packed));
                                                         ^
lat.h:99:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver      __attribute__ ((packed)); // LAT version No. (5)
                                                       ^
lat.h:100:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco  __attribute__ ((packed)); // LAT version No. (LSB)
                                                       ^
lat.h:101:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  maxsessions __attribute__ ((packed));
                                                       ^
lat.h:102:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  exqueued    __attribute__ ((packed)); // Extra data link buffer queued
                                                       ^
lat.h:103:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  circtimer   __attribute__ ((packed)); // in 10s of milliseconds
                                                       ^
lat.h:104:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  keepalive   __attribute__ ((packed)); // in seconds
                                                       ^
lat.h:106:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodtype    __attribute__ ((packed));
                                                       ^
lat.h:107:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodver     __attribute__ ((packed));
                                                       ^
lat.h:119:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver      __attribute__ ((packed)); // LAT version No. (5)
                                                       ^
lat.h:120:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco  __attribute__ ((packed)); // LAT version No. (LSB)
                                                       ^
lat.h:121:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  maxsessions __attribute__ ((packed));
                                                       ^
lat.h:122:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  exqueued    __attribute__ ((packed));
                                                       ^
lat.h:123:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  circtimer   __attribute__ ((packed));
                                                       ^
lat.h:124:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  keepalive   __attribute__ ((packed));
                                                       ^
lat.h:126:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodtype    __attribute__ ((packed));
                                                       ^
lat.h:127:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodver     __attribute__ ((packed));
                                                       ^
lat.h:139:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char local_session  __attribute__ ((packed));
                                                         ^
lat.h:140:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char remote_session __attribute__ ((packed));
                                                         ^
lat.h:141:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char length         __attribute__ ((packed));
                                                         ^
lat.h:142:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char cmd            __attribute__ ((packed));
                                                         ^
lat.h:148:48: warning: 'packed' attribute ignored for field of type 'LAT_Header' [-Wattributes]
     LAT_Header  header  __attribute__ ((packed));
                                                ^
lat.h:149:48: warning: 'packed' attribute ignored for field of type 'LAT_SlotCmd' [-Wattributes]
     LAT_SlotCmd slot    __attribute__ ((packed));
                                                ^
lat.h:154:56: warning: 'packed' attribute ignored for field of type 'LAT_Header' [-Wattributes]
     LAT_Header    header        __attribute__ ((packed));
                                                        ^
lat.h:155:56: warning: 'packed' attribute ignored for field of type 'LAT_SlotCmd' [-Wattributes]
     LAT_SlotCmd   slot          __attribute__ ((packed));
                                                        ^
lat.h:156:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char serviceclass  __attribute__ ((packed));
                                                        ^
lat.h:157:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char attslotsize   __attribute__ ((packed));
                                                        ^
lat.h:158:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char dataslotsize  __attribute__ ((packed));
                                                        ^
lat.h:163:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd           __attribute__ ((packed));
                                                         ^
lat.h:164:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  format        __attribute__ ((packed));
                                                         ^
lat.h:165:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver         __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:166:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover         __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:167:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver        __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:168:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco    __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:172:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  opcode        __attribute__ ((packed));
                                                         ^
lat.h:173:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  modifier      __attribute__ ((packed));
                                                         ^
lat.h:200:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd           __attribute__ ((packed));
                                                         ^
lat.h:201:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  format        __attribute__ ((packed));
                                                         ^
lat.h:202:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver         __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:203:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover         __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:204:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver        __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:205:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco    __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:208:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  entry_count   __attribute__ ((packed));
                                                         ^
--- session.o ---
if c++ -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_PTY_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_MCHECK_H=1 -DHAVE_NETINET_ETHER_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_FEATURES_H=1 -DHAVE_OPENPTY=1 -DLOGIN_BIN=\"/bin/login\" -DLATCP_SOCKNAME=\"/var/run/latcp\" -DLLOGIN_SOCKNAME=\"/var/run/latlogin\" -I. -I. -DLATD_CONF=\"/usr/pkg/etc/latd.conf\" -DSBINDIR=\"/usr/pkg/sbin\" -DBINDIR=\"/usr/pkg/bin\"   -DPREFIX="\"/usr/pkg\"" -fno-rtti -fno-exceptions -Wstrict-prototypes -Wno-unused -pipe -O2 -DENABLE_DEFAULT_SERVICE -W -MT session.o -MD -MP -MF ".deps/session.Tpo"  -c -o session.o `test -f 'session.cc' || echo './'`session.cc;  then mv -f ".deps/session.Tpo" ".deps/session.Po";  else rm -f ".deps/session.Tpo"; exit 1;  fi
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
In file included from /usr/include/c++/8/backward/strstream:50,
                 from session.cc:41:
/usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
 #warning \
  ^~~~~~~
--- reversesession.o ---
if c++ -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_PTY_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_MCHECK_H=1 -DHAVE_NETINET_ETHER_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_FEATURES_H=1 -DHAVE_OPENPTY=1 -DLOGIN_BIN=\"/bin/login\" -DLATCP_SOCKNAME=\"/var/run/latcp\" -DLLOGIN_SOCKNAME=\"/var/run/latlogin\" -I. -I. -DLATD_CONF=\"/usr/pkg/etc/latd.conf\" -DSBINDIR=\"/usr/pkg/sbin\" -DBINDIR=\"/usr/pkg/bin\"   -DPREFIX="\"/usr/pkg\"" -fno-rtti -fno-exceptions -Wstrict-prototypes -Wno-unused -pipe -O2 -DENABLE_DEFAULT_SERVICE -W -MT reversesession.o -MD -MP -MF ".deps/reversesession.Tpo"  -c -o reversesession.o `test -f 'reversesession.cc' || echo './'`reversesession.cc;  then mv -f ".deps/reversesession.Tpo" ".deps/reversesession.Po";  else rm -f ".deps/reversesession.Tpo"; exit 1;  fi
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
In file included from /usr/include/c++/8/backward/strstream:50,
                 from reversesession.cc:29:
/usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
 #warning \
  ^~~~~~~
--- session.o ---
In file included from session.cc:43:
lat.h:34:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd             __attribute__ ((packed));
                                                           ^
lat.h:35:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  num_slots       __attribute__ ((packed));
                                                           ^
lat.h:38:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  sequence_number __attribute__ ((packed));
                                                           ^
lat.h:39:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  ack_number      __attribute__ ((packed));
                                                           ^
lat.h:45:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  cmd             __attribute__ ((packed));
                                                         ^
lat.h:46:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  dummy           __attribute__ ((packed));
                                                         ^
lat.h:47:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:48:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:49:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:50:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:59:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd             __attribute__ ((packed));
                                                           ^
lat.h:60:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  dummy           __attribute__ ((packed));
                                                           ^
lat.h:61:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                           ^
lat.h:62:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                           ^
lat.h:63:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                           ^
lat.h:64:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                           ^
lat.h:75:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  cmd             __attribute__ ((packed)); // always 0x28
                                                         ^
lat.h:76:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  circuit_timer   __attribute__ ((packed)); // in 10s milliseconds
                                                         ^
lat.h:77:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:78:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:79:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:80:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:81:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  incarnation     __attribute__ ((packed)); // Message incarnation
                                                         ^
lat.h:82:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  flags           __attribute__ ((packed)); // Change flags
                                                         ^
lat.h:84:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  multicast_timer __attribute__ ((packed)); // Multicast timer (seconds)
                                                         ^
lat.h:85:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  node_status     __attribute__ ((packed)); // 2 (accepting connections)
                                                         ^
lat.h:86:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  group_length    __attribute__ ((packed));
                                                         ^
lat.h:99:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver      __attribute__ ((packed)); // LAT version No. (5)
                                                       ^
lat.h:100:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco  __attribute__ ((packed)); // LAT version No. (LSB)
                                                       ^
lat.h:101:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  maxsessions __attribute__ ((packed));
                                                       ^
lat.h:102:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  exqueued    __attribute__ ((packed)); // Extra data link buffer queued
                                                       ^
lat.h:103:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  circtimer   __attribute__ ((packed)); // in 10s of milliseconds
                                                       ^
lat.h:104:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  keepalive   __attribute__ ((packed)); // in seconds
                                                       ^
lat.h:106:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodtype    __attribute__ ((packed));
                                                       ^
lat.h:107:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodver     __attribute__ ((packed));
                                                       ^
lat.h:119:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver      __attribute__ ((packed)); // LAT version No. (5)
                                                       ^
lat.h:120:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco  __attribute__ ((packed)); // LAT version No. (LSB)
                                                       ^
lat.h:121:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  maxsessions __attribute__ ((packed));
                                                       ^
lat.h:122:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  exqueued    __attribute__ ((packed));
                                                       ^
lat.h:123:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  circtimer   __attribute__ ((packed));
                                                       ^
lat.h:124:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  keepalive   __attribute__ ((packed));
                                                       ^
lat.h:126:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodtype    __attribute__ ((packed));
                                                       ^
lat.h:127:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodver     __attribute__ ((packed));
                                                       ^
lat.h:139:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char local_session  __attribute__ ((packed));
                                                         ^
lat.h:140:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char remote_session __attribute__ ((packed));
                                                         ^
lat.h:141:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char length         __attribute__ ((packed));
                                                         ^
lat.h:142:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char cmd            __attribute__ ((packed));
                                                         ^
lat.h:148:48: warning: 'packed' attribute ignored for field of type 'LAT_Header' [-Wattributes]
     LAT_Header  header  __attribute__ ((packed));
                                                ^
lat.h:149:48: warning: 'packed' attribute ignored for field of type 'LAT_SlotCmd' [-Wattributes]
     LAT_SlotCmd slot    __attribute__ ((packed));
                                                ^
lat.h:154:56: warning: 'packed' attribute ignored for field of type 'LAT_Header' [-Wattributes]
     LAT_Header    header        __attribute__ ((packed));
                                                        ^
lat.h:155:56: warning: 'packed' attribute ignored for field of type 'LAT_SlotCmd' [-Wattributes]
     LAT_SlotCmd   slot          __attribute__ ((packed));
                                                        ^
lat.h:156:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char serviceclass  __attribute__ ((packed));
                                                        ^
lat.h:157:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char attslotsize   __attribute__ ((packed));
                                                        ^
lat.h:158:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char dataslotsize  __attribute__ ((packed));
                                                        ^
lat.h:163:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd           __attribute__ ((packed));
                                                         ^
lat.h:164:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  format        __attribute__ ((packed));
                                                         ^
lat.h:165:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver         __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:166:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover         __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:167:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver        __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:168:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco    __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:172:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  opcode        __attribute__ ((packed));
                                                         ^
lat.h:173:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  modifier      __attribute__ ((packed));
                                                         ^
lat.h:200:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd           __attribute__ ((packed));
                                                         ^
lat.h:201:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  format        __attribute__ ((packed));
                                                         ^
lat.h:202:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver         __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:203:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover         __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:204:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver        __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:205:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco    __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:208:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  entry_count   __attribute__ ((packed));
                                                         ^
In file included from session.cc:50:
server.h:237:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator==(serviceinfo &si)  { return (si == name);}
  ^~~~~
server.h:238:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator==(const std::string &nm) { return (nm == name);}
  ^~~~~
server.h:239:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator!=(serviceinfo &si)  { return (si != name);}
  ^~~~~
server.h:240:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator!=(const std::string &nm) { return (nm != name);}
  ^~~~~
server.h:206:98: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  serviceinfo(std::string n, int r, bool s, std::string i = std::string(""), int mc=0, char* comm="",
                                                                                                  ^~
--- reversesession.o ---
In file included from reversesession.cc:31:
lat.h:34:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd             __attribute__ ((packed));
                                                           ^
lat.h:35:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  num_slots       __attribute__ ((packed));
                                                           ^
lat.h:38:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  sequence_number __attribute__ ((packed));
                                                           ^
lat.h:39:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  ack_number      __attribute__ ((packed));
                                                           ^
lat.h:45:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  cmd             __attribute__ ((packed));
                                                         ^
lat.h:46:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  dummy           __attribute__ ((packed));
                                                         ^
lat.h:47:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:48:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:49:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:50:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:59:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd             __attribute__ ((packed));
                                                           ^
lat.h:60:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  dummy           __attribute__ ((packed));
                                                           ^
lat.h:61:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                           ^
lat.h:62:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                           ^
lat.h:63:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                           ^
lat.h:64:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                           ^
lat.h:75:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  cmd             __attribute__ ((packed)); // always 0x28
                                                         ^
lat.h:76:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  circuit_timer   __attribute__ ((packed)); // in 10s milliseconds
                                                         ^
lat.h:77:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:78:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:79:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:80:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:81:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  incarnation     __attribute__ ((packed)); // Message incarnation
                                                         ^
lat.h:82:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  flags           __attribute__ ((packed)); // Change flags
                                                         ^
lat.h:84:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  multicast_timer __attribute__ ((packed)); // Multicast timer (seconds)
                                                         ^
lat.h:85:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  node_status     __attribute__ ((packed)); // 2 (accepting connections)
                                                         ^
lat.h:86:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  group_length    __attribute__ ((packed));
                                                         ^
lat.h:99:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver      __attribute__ ((packed)); // LAT version No. (5)
                                                       ^
lat.h:100:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco  __attribute__ ((packed)); // LAT version No. (LSB)
                                                       ^
lat.h:101:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  maxsessions __attribute__ ((packed));
                                                       ^
lat.h:102:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  exqueued    __attribute__ ((packed)); // Extra data link buffer queued
                                                       ^
lat.h:103:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  circtimer   __attribute__ ((packed)); // in 10s of milliseconds
                                                       ^
lat.h:104:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  keepalive   __attribute__ ((packed)); // in seconds
                                                       ^
lat.h:106:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodtype    __attribute__ ((packed));
                                                       ^
lat.h:107:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodver     __attribute__ ((packed));
                                                       ^
lat.h:119:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver      __attribute__ ((packed)); // LAT version No. (5)
                                                       ^
lat.h:120:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco  __attribute__ ((packed)); // LAT version No. (LSB)
                                                       ^
lat.h:121:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  maxsessions __attribute__ ((packed));
                                                       ^
lat.h:122:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  exqueued    __attribute__ ((packed));
                                                       ^
lat.h:123:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  circtimer   __attribute__ ((packed));
                                                       ^
lat.h:124:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  keepalive   __attribute__ ((packed));
                                                       ^
lat.h:126:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodtype    __attribute__ ((packed));
                                                       ^
lat.h:127:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodver     __attribute__ ((packed));
                                                       ^
lat.h:139:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char local_session  __attribute__ ((packed));
                                                         ^
lat.h:140:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char remote_session __attribute__ ((packed));
                                                         ^
lat.h:141:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char length         __attribute__ ((packed));
                                                         ^
lat.h:142:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char cmd            __attribute__ ((packed));
                                                         ^
lat.h:148:48: warning: 'packed' attribute ignored for field of type 'LAT_Header' [-Wattributes]
     LAT_Header  header  __attribute__ ((packed));
                                                ^
lat.h:149:48: warning: 'packed' attribute ignored for field of type 'LAT_SlotCmd' [-Wattributes]
     LAT_SlotCmd slot    __attribute__ ((packed));
                                                ^
lat.h:154:56: warning: 'packed' attribute ignored for field of type 'LAT_Header' [-Wattributes]
     LAT_Header    header        __attribute__ ((packed));
                                                        ^
lat.h:155:56: warning: 'packed' attribute ignored for field of type 'LAT_SlotCmd' [-Wattributes]
     LAT_SlotCmd   slot          __attribute__ ((packed));
                                                        ^
lat.h:156:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char serviceclass  __attribute__ ((packed));
                                                        ^
lat.h:157:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char attslotsize   __attribute__ ((packed));
                                                        ^
lat.h:158:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char dataslotsize  __attribute__ ((packed));
                                                        ^
lat.h:163:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd           __attribute__ ((packed));
                                                         ^
lat.h:164:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  format        __attribute__ ((packed));
                                                         ^
lat.h:165:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver         __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:166:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover         __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:167:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver        __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:168:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco    __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:172:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  opcode        __attribute__ ((packed));
                                                         ^
lat.h:173:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  modifier      __attribute__ ((packed));
                                                         ^
lat.h:200:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd           __attribute__ ((packed));
                                                         ^
lat.h:201:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  format        __attribute__ ((packed));
                                                         ^
lat.h:202:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver         __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:203:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover         __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:204:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver        __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:205:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco    __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:208:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  entry_count   __attribute__ ((packed));
                                                         ^
In file included from reversesession.cc:38:
server.h:237:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator==(serviceinfo &si)  { return (si == name);}
  ^~~~~
server.h:238:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator==(const std::string &nm) { return (nm == name);}
  ^~~~~
server.h:239:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator!=(serviceinfo &si)  { return (si != name);}
  ^~~~~
server.h:240:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const bool operator!=(const std::string &nm) { return (nm != name);}
  ^~~~~
server.h:206:98: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  serviceinfo(std::string n, int r, bool s, std::string i = std::string(""), int mc=0, char* comm="",
                                                                                                  ^~
--- interfaces-linux.o ---
if c++ -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_PTY_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_MCHECK_H=1 -DHAVE_NETINET_ETHER_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_FEATURES_H=1 -DHAVE_OPENPTY=1 -DLOGIN_BIN=\"/bin/login\" -DLATCP_SOCKNAME=\"/var/run/latcp\" -DLLOGIN_SOCKNAME=\"/var/run/latlogin\" -I. -I. -DLATD_CONF=\"/usr/pkg/etc/latd.conf\" -DSBINDIR=\"/usr/pkg/sbin\" -DBINDIR=\"/usr/pkg/bin\"   -DPREFIX="\"/usr/pkg\"" -fno-rtti -fno-exceptions -Wstrict-prototypes -Wno-unused -pipe -O2 -DENABLE_DEFAULT_SERVICE -W -MT interfaces-linux.o -MD -MP -MF ".deps/interfaces-linux.Tpo"  -c -o interfaces-linux.o `test -f 'interfaces-linux.cc' || echo './'`interfaces-linux.cc;  then mv -f ".deps/interfaces-linux.Tpo" ".deps/interfaces-linux.Po";  else rm -f ".deps/interfaces-linux.Tpo"; exit 1;  fi
--- latcp.o ---
--- interfaces-linux.o ---
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
--- latcp.o ---
if c++ -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_PTY_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_MCHECK_H=1 -DHAVE_NETINET_ETHER_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_FEATURES_H=1 -DHAVE_OPENPTY=1 -DLOGIN_BIN=\"/bin/login\" -DLATCP_SOCKNAME=\"/var/run/latcp\" -DLLOGIN_SOCKNAME=\"/var/run/latlogin\" -I. -I. -DLATD_CONF=\"/usr/pkg/etc/latd.conf\" -DSBINDIR=\"/usr/pkg/sbin\" -DBINDIR=\"/usr/pkg/bin\"   -DPREFIX="\"/usr/pkg\"" -fno-rtti -fno-exceptions -Wstrict-prototypes -Wno-unused -pipe -O2 -DENABLE_DEFAULT_SERVICE -W -MT latcp.o -MD -MP -MF ".deps/latcp.Tpo"  -c -o latcp.o `test -f 'latcp.cc' || echo './'`latcp.cc;  then mv -f ".deps/latcp.Tpo" ".deps/latcp.Po";  else rm -f ".deps/latcp.Tpo"; exit 1;  fi
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
In file included from /usr/include/c++/8/backward/strstream:50,
                 from latcp.cc:52:
/usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
 #warning \
  ^~~~~~~
--- interfaces-linux.o ---
interfaces-linux.cc:57:10: fatal error: algo.h: No such file or directory
 #include <algo.h>
          ^~~~~~~~
compilation terminated.
*** [interfaces-linux.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/net/latd/work/latd-1.21
--- latcp.o ---
In file included from latcp.cc:54:
lat.h:34:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd             __attribute__ ((packed));
                                                           ^
lat.h:35:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  num_slots       __attribute__ ((packed));
                                                           ^
lat.h:38:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  sequence_number __attribute__ ((packed));
                                                           ^
lat.h:39:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  ack_number      __attribute__ ((packed));
                                                           ^
lat.h:45:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  cmd             __attribute__ ((packed));
                                                         ^
lat.h:46:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  dummy           __attribute__ ((packed));
                                                         ^
lat.h:47:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:48:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:49:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:50:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:59:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd             __attribute__ ((packed));
                                                           ^
lat.h:60:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  dummy           __attribute__ ((packed));
                                                           ^
lat.h:61:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                           ^
lat.h:62:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                           ^
lat.h:63:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                           ^
lat.h:64:59: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                           ^
lat.h:75:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  cmd             __attribute__ ((packed)); // always 0x28
                                                         ^
lat.h:76:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  circuit_timer   __attribute__ ((packed)); // in 10s milliseconds
                                                         ^
lat.h:77:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  hiver           __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:78:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  lover           __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:79:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver          __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:80:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  latver_eco      __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:81:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  incarnation     __attribute__ ((packed)); // Message incarnation
                                                         ^
lat.h:82:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  flags           __attribute__ ((packed)); // Change flags
                                                         ^
lat.h:84:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  multicast_timer __attribute__ ((packed)); // Multicast timer (seconds)
                                                         ^
lat.h:85:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  node_status     __attribute__ ((packed)); // 2 (accepting connections)
                                                         ^
lat.h:86:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
   unsigned char  group_length    __attribute__ ((packed));
                                                         ^
lat.h:99:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver      __attribute__ ((packed)); // LAT version No. (5)
                                                       ^
lat.h:100:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco  __attribute__ ((packed)); // LAT version No. (LSB)
                                                       ^
lat.h:101:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  maxsessions __attribute__ ((packed));
                                                       ^
lat.h:102:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  exqueued    __attribute__ ((packed)); // Extra data link buffer queued
                                                       ^
lat.h:103:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  circtimer   __attribute__ ((packed)); // in 10s of milliseconds
                                                       ^
lat.h:104:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  keepalive   __attribute__ ((packed)); // in seconds
                                                       ^
lat.h:106:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodtype    __attribute__ ((packed));
                                                       ^
lat.h:107:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodver     __attribute__ ((packed));
                                                       ^
lat.h:119:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver      __attribute__ ((packed)); // LAT version No. (5)
                                                       ^
lat.h:120:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco  __attribute__ ((packed)); // LAT version No. (LSB)
                                                       ^
lat.h:121:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  maxsessions __attribute__ ((packed));
                                                       ^
lat.h:122:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  exqueued    __attribute__ ((packed));
                                                       ^
lat.h:123:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  circtimer   __attribute__ ((packed));
                                                       ^
lat.h:124:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  keepalive   __attribute__ ((packed));
                                                       ^
lat.h:126:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodtype    __attribute__ ((packed));
                                                       ^
lat.h:127:55: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  prodver     __attribute__ ((packed));
                                                       ^
lat.h:139:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char local_session  __attribute__ ((packed));
                                                         ^
lat.h:140:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char remote_session __attribute__ ((packed));
                                                         ^
lat.h:141:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char length         __attribute__ ((packed));
                                                         ^
lat.h:142:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char cmd            __attribute__ ((packed));
                                                         ^
lat.h:148:48: warning: 'packed' attribute ignored for field of type 'LAT_Header' [-Wattributes]
     LAT_Header  header  __attribute__ ((packed));
                                                ^
lat.h:149:48: warning: 'packed' attribute ignored for field of type 'LAT_SlotCmd' [-Wattributes]
     LAT_SlotCmd slot    __attribute__ ((packed));
                                                ^
lat.h:154:56: warning: 'packed' attribute ignored for field of type 'LAT_Header' [-Wattributes]
     LAT_Header    header        __attribute__ ((packed));
                                                        ^
lat.h:155:56: warning: 'packed' attribute ignored for field of type 'LAT_SlotCmd' [-Wattributes]
     LAT_SlotCmd   slot          __attribute__ ((packed));
                                                        ^
lat.h:156:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char serviceclass  __attribute__ ((packed));
                                                        ^
lat.h:157:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char attslotsize   __attribute__ ((packed));
                                                        ^
lat.h:158:56: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char dataslotsize  __attribute__ ((packed));
                                                        ^
lat.h:163:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd           __attribute__ ((packed));
                                                         ^
lat.h:164:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  format        __attribute__ ((packed));
                                                         ^
lat.h:165:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver         __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:166:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover         __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:167:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver        __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:168:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco    __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:172:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  opcode        __attribute__ ((packed));
                                                         ^
lat.h:173:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  modifier      __attribute__ ((packed));
                                                         ^
lat.h:200:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  cmd           __attribute__ ((packed));
                                                         ^
lat.h:201:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  format        __attribute__ ((packed));
                                                         ^
lat.h:202:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  hiver         __attribute__ ((packed)); // Highest protocol version
                                                         ^
lat.h:203:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  lover         __attribute__ ((packed)); // Lowest protocol version
                                                         ^
lat.h:204:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver        __attribute__ ((packed)); // LAT version No. (5)
                                                         ^
lat.h:205:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  latver_eco    __attribute__ ((packed)); // LAT version No. (LSB)
                                                         ^
lat.h:208:57: warning: 'packed' attribute ignored for field of type 'unsigned char' [-Wattributes]
     unsigned char  entry_count   __attribute__ ((packed));
                                                         ^
latcp.cc: In function 'void start_latd(int, char**)':
latcp.cc:798:13: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  latd_bin = "/usr/sbin/latd";
             ^~~~~~~~~~~~~~~~
latcp.cc:799:14: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  latd_path = "/usr/sbin";
              ^~~~~~~~~~~
latcp.cc:803:13: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  latd_bin = "PREFIX/sbin/latd";
             ^~~~~~~~~~~~~~~~~~
latcp.cc:804:14: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  latd_path = "PREFIX/sbin";
              ^~~~~~~~~~~~~
latcp.cc:834:14: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  newenv[0] = "PATH=/bin:/usr/bin:/sbin:/usr/sbin";
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
latcp.cc:835:14: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  newenv[1] = "LATCP_STARTED=true"; // Tell latd it was started by us.
              ^~~~~~~~~~~~~~~~~~~~
latcp.cc:877:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    newargv[0] = "/bin/sh";
                 ^~~~~~~~~
latcp.cc:878:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
    newargv[1] = "/etc/latd.conf";
                 ^~~~~~~~~~~~~~~~
latcp.cc: In function 'bool open_socket(bool)':
latcp.cc:977:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     send_msg(latcp_socket, LATCP_VERSION, VERSION, strlen(VERSION)+1);
                                                                     ^
bmake: 1 error

bmake: stopped making "all" in /home/pbulk/build/net/latd/work/latd-1.21
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/latd
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/latd