=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for dptutil-3.31nb1 --- all --- (cd dpteng && /usr/bin/make depend && /usr/bin/make) --- depend --- makedepend -I. -I/usr/include/g++ -D_DPT_UNIX -D_DPT_FREE_BSD -D_DPT_DEFINE_SEMUN -D__unix__ -Dunix addr_rng.cpp array.cpp connect.cpp core.cpp core_ccb.cpp core_con.cpp core_dev.cpp core_mgr.cpp core_obj.cpp debug.cpp del1.cpp del2.cpp device.cpp dpt_buff.cpp dptalign.c dptcbuff.c driver.cpp eata2i2o.c eng_sig.c eng_std.cpp eng_unix.c engcalls.c engfile1.cpp engfile2.cpp engfile3.cpp engine.cpp englists.cpp engmsg.c findpath.c funcs.c gbl_fns.cpp hba.cpp hba_log.cpp kill.cpp lockunix.c manager.cpp msg_str.cpp object.cpp osd_unix.c ptrarray.cpp raid.cpp raid_bcd.cpp raid_dev.cpp raid_hba.cpp raid_mgr.cpp raiddrvr.cpp scsi_bcd.cpp scsi_ccb.cpp scsi_con.cpp scsi_dev.cpp scsi_hba.cpp scsi_log.cpp scsi_mgr.cpp scsi_obj.cpp scsidrvr.cpp semaphor.c stat_log.cpp swap_em.c threads.c unreslvd.c makedepend: warning: array.cpp (reading /usr/include/sys/common_ansi.h), line 40: #error __PTRDIFF_TYPE__ not present makedepend: warning: array.cpp (reading /usr/include/sys/common_ansi.h), line 44: #error __SIZE_TYPE__ not present makedepend: warning: array.cpp (reading /usr/include/sys/common_ansi.h), line 48: #error __WCHAR_TYPE__ not present makedepend: warning: array.cpp (reading /usr/include/sys/common_ansi.h), line 52: #error __WINT_TYPE__ not present --- clean --- --- depend --- --- swap_em.o --- --- osd_unix.o --- --- engfile1.o --- --- engfile2.o --- --- engfile3.o --- --- eng_unix.o --- --- clean --- rm -f *.o dpteng --- depend --- makedepend -I. -I/usr/include/g++ -D_DPT_UNIX -D_DPT_FREE_BSD -D_DPT_DEFINE_SEMUN -D__unix__ -Dunix addr_rng.cpp array.cpp connect.cpp core.cpp core_ccb.cpp core_con.cpp core_dev.cpp core_mgr.cpp core_obj.cpp debug.cpp del1.cpp del2.cpp device.cpp dpt_buff.cpp dptalign.c dptcbuff.c driver.cpp eata2i2o.c eng_sig.c eng_std.cpp eng_unix.c engcalls.c engfile1.cpp engfile2.cpp engfile3.cpp engine.cpp englists.cpp engmsg.c findpath.c funcs.c gbl_fns.cpp hba.cpp hba_log.cpp kill.cpp lockunix.c manager.cpp msg_str.cpp object.cpp osd_unix.c ptrarray.cpp raid.cpp raid_bcd.cpp raid_dev.cpp raid_hba.cpp raid_mgr.cpp raiddrvr.cpp scsi_bcd.cpp scsi_ccb.cpp scsi_con.cpp scsi_dev.cpp scsi_hba.cpp scsi_log.cpp scsi_mgr.cpp scsi_obj.cpp scsidrvr.cpp semaphor.c stat_log.cpp swap_em.c threads.c unreslvd.c makedepend: warning: array.cpp (reading /usr/include/sys/common_ansi.h), line 40: #error __PTRDIFF_TYPE__ not present --- swap_em.o --- g++ -I. -I/usr/include/g++ -Dunix -D__unix__ -D_DPT_FREE_BSD -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -D_DPT_DEFINE_SEMUN -DI_WANT_SNI_DEBUG -DNEW_LOGGER -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -c -c swap_em.c --- osd_unix.o --- g++ -I. -I/usr/include/g++ -Dunix -D__unix__ -D_DPT_FREE_BSD -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -D_DPT_DEFINE_SEMUN -DI_WANT_SNI_DEBUG -DNEW_LOGGER -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -c -c osd_unix.c --- engfile1.o --- g++ -I. -I/usr/include/g++ -Dunix -D__unix__ -D_DPT_FREE_BSD -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -D_DPT_DEFINE_SEMUN -DI_WANT_SNI_DEBUG -DNEW_LOGGER -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -c -c engfile1.cpp --- dptcbuff.o --- --- depend --- makedepend: warning: array.cpp (reading /usr/include/sys/common_ansi.h), line 44: #error __SIZE_TYPE__ not present makedepend: warning: array.cpp (reading /usr/include/sys/common_ansi.h), line 48: #error __WCHAR_TYPE__ not present makedepend: warning: array.cpp (reading /usr/include/sys/common_ansi.h), line 52: #error __WINT_TYPE__ not present --- engfile2.o --- g++ -I. -I/usr/include/g++ -Dunix -D__unix__ -D_DPT_FREE_BSD -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -D_DPT_DEFINE_SEMUN -DI_WANT_SNI_DEBUG -DNEW_LOGGER -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -c -c engfile2.cpp --- engfile3.o --- g++ -I. -I/usr/include/g++ -Dunix -D__unix__ -D_DPT_FREE_BSD -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -D_DPT_DEFINE_SEMUN -DI_WANT_SNI_DEBUG -DNEW_LOGGER -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -c -c engfile3.cpp --- eng_unix.o --- g++ -I. -I/usr/include/g++ -Dunix -D__unix__ -D_DPT_FREE_BSD -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -D_DPT_DEFINE_SEMUN -DI_WANT_SNI_DEBUG -DNEW_LOGGER -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -c -c eng_unix.c --- dptcbuff.o --- g++ -I. -I/usr/include/g++ -Dunix -D__unix__ -D_DPT_FREE_BSD -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -D_DPT_DEFINE_SEMUN -DI_WANT_SNI_DEBUG -DNEW_LOGGER -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -c -c dptcbuff.c --- funcs.o --- g++ -I. -I/usr/include/g++ -Dunix -D__unix__ -D_DPT_FREE_BSD -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -D_DPT_DEFINE_SEMUN -DI_WANT_SNI_DEBUG -DNEW_LOGGER -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -c -c funcs.c --- engmsg.o --- g++ -I. -I/usr/include/g++ -Dunix -D__unix__ -D_DPT_FREE_BSD -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -D_DPT_DEFINE_SEMUN -DI_WANT_SNI_DEBUG -DNEW_LOGGER -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -c -c engmsg.c engmsg.c: In function 'int CheckForEngine(int, int, int)': engmsg.c:301:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 301 | if(IsLock("dpteng")) | ^~~~~~~~ --- osd_unix.o --- In file included from ./get_info.h:342, from ./dptcbuff.h:2, from osd_unix.c:89: ./device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ ./device.hh:12:25: note: in expansion of macro 'PACK' 12 | dptCcapacity_S capacity PACK; // Device capacity | ^~~~ ./device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ ./device.hh:13:26: note: in expansion of macro 'PACK' 13 | dptCemuParam_S emulation PACK; // Emulated drive parameters | ^~~~ In file included from ./dptcbuff.h:2, from osd_unix.c:89: ./get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ ./get_info.h:362:21: note: in expansion of macro 'PACK' 362 | uCHAR p2Flags PACK; // Path 2 flags - see bit definitions above | ^~~~ ./get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ ./get_info.h:363:21: note: in expansion of macro 'PACK' 363 | uCHAR reserved4 PACK; // Reserved for future expansion | ^~~~ In file included from ./get_info.h:735, from ./dptcbuff.h:2, from osd_unix.c:89: ./mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ ./mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ ./mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ ./mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from ./get_info.h:736, from ./dptcbuff.h:2, from osd_unix.c:89: ./hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ ./hba.hh:9:23: note: in expansion of macro 'PACK' 9 | dptIOaddr_U ioAddr PACK; // EISA/ISA/PCI address | ^~~~ ./hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ ./hba.hh:15:19: note: in expansion of macro 'PACK' 15 | dptHBAid_U id PACK; // EISA = ID PAL bytes | ^~~~ ./hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ ./hba.hh:55:42: note: in expansion of macro 'PACK' 55 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK; // SCSI channel info (multi-channel boards) | ^~~~ In file included from ./get_info.h:802, from ./dptcbuff.h:2, from osd_unix.c:89: ./mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ ./mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ ./mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ ./mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from ./get_info.h:826, from ./dptcbuff.h:2, from osd_unix.c:89: ./mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ ./mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ ./mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ ./mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ osd_unix.c:223:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 223 | static char *DebugFileName = "EngLog"; | ^~~~~~~~ --- engfile3.o --- In file included from get_info.h:342, from allfiles.hpp:90, from engfile3.cpp:28: device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:12:25: note: in expansion of macro 'PACK' 12 | dptCcapacity_S capacity PACK; // Device capacity | ^~~~ device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:13:26: note: in expansion of macro 'PACK' 13 | dptCemuParam_S emulation PACK; // Emulated drive parameters | ^~~~ In file included from allfiles.hpp:90, from engfile3.cpp:28: get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:362:21: note: in expansion of macro 'PACK' 362 | uCHAR p2Flags PACK; // Path 2 flags - see bit definitions above | ^~~~ get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:363:21: note: in expansion of macro 'PACK' 363 | uCHAR reserved4 PACK; // Reserved for future expansion | ^~~~ In file included from get_info.h:735, from allfiles.hpp:90, from engfile3.cpp:28: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:736, from allfiles.hpp:90, from engfile3.cpp:28: hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:9:23: note: in expansion of macro 'PACK' 9 | dptIOaddr_U ioAddr PACK; // EISA/ISA/PCI address | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:15:19: note: in expansion of macro 'PACK' 15 | dptHBAid_U id PACK; // EISA = ID PAL bytes | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:55:42: note: in expansion of macro 'PACK' 55 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK; // SCSI channel info (multi-channel boards) | ^~~~ In file included from get_info.h:802, from allfiles.hpp:90, from engfile3.cpp:28: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:826, from allfiles.hpp:90, from engfile3.cpp:28: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ --- osd_unix.o --- osd_unix.c: In function 'DPT_RTN_T osdLoggerCmd(DPT_MSG_T, void*, void*, uSHORT, uLONG, uLONG)': osd_unix.c:2836:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2836 | if (!(loggerAccessSem = osdCreateNamedSemaphore("DPTELOG.SEM"))) { | ^~~~~~~~~~~~~ --- eng_sig.o --- --- engfile2.o --- In file included from get_info.h:342, from allfiles.hpp:90, from engfile2.cpp:28: device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:12:25: note: in expansion of macro 'PACK' 12 | dptCcapacity_S capacity PACK; // Device capacity | ^~~~ device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:13:26: note: in expansion of macro 'PACK' 13 | dptCemuParam_S emulation PACK; // Emulated drive parameters | ^~~~ In file included from allfiles.hpp:90, from engfile2.cpp:28: get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] --- array.o --- --- engfile2.o --- 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:362:21: note: in expansion of macro 'PACK' 362 | uCHAR p2Flags PACK; // Path 2 flags - see bit definitions above | ^~~~ get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:363:21: note: in expansion of macro 'PACK' 363 | uCHAR reserved4 PACK; // Reserved for future expansion | ^~~~ In file included from get_info.h:735, from allfiles.hpp:90, from engfile2.cpp:28: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:736, from allfiles.hpp:90, from engfile2.cpp:28: hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:9:23: note: in expansion of macro 'PACK' 9 | dptIOaddr_U ioAddr PACK; // EISA/ISA/PCI address | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:15:19: note: in expansion of macro 'PACK' 15 | dptHBAid_U id PACK; // EISA = ID PAL bytes | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:55:42: note: in expansion of macro 'PACK' 55 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK; // SCSI channel info (multi-channel boards) | ^~~~ In file included from get_info.h:802, from allfiles.hpp:90, from engfile2.cpp:28: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:826, from allfiles.hpp:90, from engfile2.cpp:28: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ --- eng_sig.o --- g++ -I. -I/usr/include/g++ -Dunix -D__unix__ -D_DPT_FREE_BSD -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -D_DPT_DEFINE_SEMUN -DI_WANT_SNI_DEBUG -DNEW_LOGGER -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -c -c eng_sig.c --- array.o --- g++ -I. -I/usr/include/g++ -Dunix -D__unix__ -D_DPT_FREE_BSD -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -D_DPT_DEFINE_SEMUN -DI_WANT_SNI_DEBUG -DNEW_LOGGER -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -c -c array.cpp --- ptrarray.o --- g++ -I. -I/usr/include/g++ -Dunix -D__unix__ -D_DPT_FREE_BSD -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -D_DPT_DEFINE_SEMUN -DI_WANT_SNI_DEBUG -DNEW_LOGGER -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -c -c ptrarray.cpp --- engfile1.o --- In file included from get_info.h:342, from allfiles.hpp:90, from engfile1.cpp:28: device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:12:25: note: in expansion of macro 'PACK' 12 | dptCcapacity_S capacity PACK; // Device capacity | ^~~~ device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:13:26: note: in expansion of macro 'PACK' 13 | dptCemuParam_S emulation PACK; // Emulated drive parameters | ^~~~ In file included from allfiles.hpp:90, from engfile1.cpp:28: get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:362:21: note: in expansion of macro 'PACK' 362 | uCHAR p2Flags PACK; // Path 2 flags - see bit definitions above | ^~~~ get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:363:21: note: in expansion of macro 'PACK' 363 | uCHAR reserved4 PACK; // Reserved for future expansion | ^~~~ In file included from get_info.h:735, from allfiles.hpp:90, from engfile1.cpp:28: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:736, from allfiles.hpp:90, from engfile1.cpp:28: hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:9:23: note: in expansion of macro 'PACK' 9 | dptIOaddr_U ioAddr PACK; // EISA/ISA/PCI address | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:15:19: note: in expansion of macro 'PACK' 15 | dptHBAid_U id PACK; // EISA = ID PAL bytes | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:55:42: note: in expansion of macro 'PACK' 55 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK; // SCSI channel info (multi-channel boards) | ^~~~ In file included from get_info.h:802, from allfiles.hpp:90, from engfile1.cpp:28: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:826, from allfiles.hpp:90, from engfile1.cpp:28: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ --- dpt_buff.o --- g++ -I. -I/usr/include/g++ -Dunix -D__unix__ -D_DPT_FREE_BSD -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -D_DPT_DEFINE_SEMUN -DI_WANT_SNI_DEBUG -DNEW_LOGGER -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -c -c dpt_buff.cpp --- semaphor.o --- g++ -I. -I/usr/include/g++ -Dunix -D__unix__ -D_DPT_FREE_BSD -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -D_DPT_DEFINE_SEMUN -DI_WANT_SNI_DEBUG -DNEW_LOGGER -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -c -c semaphor.c --- engine.o --- g++ -I. -I/usr/include/g++ -Dunix -D__unix__ -D_DPT_FREE_BSD -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -D_DPT_DEFINE_SEMUN -DI_WANT_SNI_DEBUG -DNEW_LOGGER -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -c -c engine.cpp --- threads.o --- g++ -I. -I/usr/include/g++ -Dunix -D__unix__ -D_DPT_FREE_BSD -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -D_DPT_DEFINE_SEMUN -DI_WANT_SNI_DEBUG -DNEW_LOGGER -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -c -c threads.c --- dptalign.o --- g++ -I. -I/usr/include/g++ -Dunix -D__unix__ -D_DPT_FREE_BSD -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -D_DPT_DEFINE_SEMUN -DI_WANT_SNI_DEBUG -DNEW_LOGGER -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -c -c dptalign.c --- debug.o --- g++ -I. -I/usr/include/g++ -Dunix -D__unix__ -D_DPT_FREE_BSD -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -D_DPT_DEFINE_SEMUN -DI_WANT_SNI_DEBUG -DNEW_LOGGER -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -c -c debug.cpp --- lockunix.o --- g++ -I. -I/usr/include/g++ -Dunix -D__unix__ -D_DPT_FREE_BSD -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -D_DPT_DEFINE_SEMUN -DI_WANT_SNI_DEBUG -DNEW_LOGGER -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -c -c lockunix.c --- eng_unix.o --- eng_unix.c:124:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 124 | {"?", 1, 1 }, | ^~~ eng_unix.c:125:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 125 | {"HELP", 4, 2 }, | ^~~~~~ eng_unix.c:126:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 126 | {"VERBOSE", 7, 3 }, | ^~~~~~~~~ eng_unix.c:127:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 127 | {"EATAHEX", 7, 4 }, | ^~~~~~~~~ eng_unix.c:128:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 128 | {"EATAINFO", 8, 5 }, | ^~~~~~~~~~ eng_unix.c:129:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 129 | {"NOKILL", 6, 6 }, | ^~~~~~~~ eng_unix.c:169:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type] 169 | main(int argc, char *argv[]) | ^~~~ --- eata2i2o.o --- g++ -I. -I/usr/include/g++ -Dunix -D__unix__ -D_DPT_FREE_BSD -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -D_DPT_DEFINE_SEMUN -DI_WANT_SNI_DEBUG -DNEW_LOGGER -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -c -c eata2i2o.c --- engine.o --- In file included from get_info.h:342, from allfiles.hpp:90, from engine.cpp:27: device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:12:25: note: in expansion of macro 'PACK' 12 | dptCcapacity_S capacity PACK; // Device capacity | ^~~~ device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:13:26: note: in expansion of macro 'PACK' 13 | dptCemuParam_S emulation PACK; // Emulated drive parameters | ^~~~ In file included from allfiles.hpp:90, from engine.cpp:27: get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:362:21: note: in expansion of macro 'PACK' 362 | uCHAR p2Flags PACK; // Path 2 flags - see bit definitions above | ^~~~ get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:363:21: note: in expansion of macro 'PACK' 363 | uCHAR reserved4 PACK; // Reserved for future expansion | ^~~~ In file included from get_info.h:735, from allfiles.hpp:90, from engine.cpp:27: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:736, from allfiles.hpp:90, from engine.cpp:27: hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:9:23: note: in expansion of macro 'PACK' 9 | dptIOaddr_U ioAddr PACK; // EISA/ISA/PCI address | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:15:19: note: in expansion of macro 'PACK' 15 | dptHBAid_U id PACK; // EISA = ID PAL bytes | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:55:42: note: in expansion of macro 'PACK' 55 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK; // SCSI channel info (multi-channel boards) | ^~~~ In file included from get_info.h:802, from allfiles.hpp:90, from engine.cpp:27: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:826, from allfiles.hpp:90, from engine.cpp:27: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ --- findpath.o --- g++ -I. -I/usr/include/g++ -Dunix -D__unix__ -D_DPT_FREE_BSD -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -D_DPT_DEFINE_SEMUN -DI_WANT_SNI_DEBUG -DNEW_LOGGER -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -c -c findpath.c --- engine.o --- engine.cpp:86:29: warning: 'engineSig_P' initialized and declared 'extern' 86 | extern "C" dpt_sig_S const *engineSig_P = &engineSig; | ^~~~~~~~~~~ --- dpteng --- g++ -v -v -o dpteng swap_em.o osd_unix.o engfile1.o engfile2.o engfile3.o eng_unix.o dptcbuff.o funcs.o engmsg.o eng_sig.o array.o ptrarray.o dpt_buff.o semaphor.o engine.o threads.o dptalign.o debug.o lockunix.o eata2i2o.o findpath.o Using built-in specs. COLLECT_GCC=/pbulk/work/sysutils/dptutil/work/.gcc/bin/g++ COLLECT_LTO_WRAPPER=/usr/libexec/lto-wrapper Target: i486--netbsdelf Configured with: /usr/src/tools/gcc/../../external/gpl3/gcc/dist/configure --target=i486--netbsdelf --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org/support/send-pr.html --with-pkgversion='NetBSD nb2 20230710' --with-system-zlib --without-isl --enable-__cxa_atexit --enable-libstdcxx-time=rt --enable-libstdcxx-threads --with-diagnostics-color=auto-if-env --with-arch=i486 --with-tune=nocona --with-default-libstdcxx-abi=new --with-mpc-lib=/var/obj/mknative/i386/usr/src/external/lgpl3/mpc/lib/libmpc --with-mpfr-lib=/var/obj/mknative/i386/usr/src/external/lgpl3/mpfr/lib/libmpfr --with-gmp-lib=/var/obj/mknative/i386/usr/src/external/lgpl3/gmp/lib/libgmp --with-mpc-include=/usr/src/external/lgpl3/mpc/dist/src --with-mpfr-include=/usr/src/external/lgpl3/mpfr/dist/src --with-gmp-include=/usr/src/external/lgpl3/gmp/lib/libgmp/arch/i386 --enable-tls --disable-multilib --disable-libstdcxx-pch --build=i486--netbsdelf --host=i486--netbsdelf --with-sysroot=/var/obj/mknative/i386/usr/src/destdir.i386 Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.5.0 (nb3 20231008) COMPILER_PATH=/usr/libexec/ LIBRARY_PATH=/usr/lib/ COLLECT_GCC_OPTIONS='-fstack-protector-strong' '-D' '_FORTIFY_SOURCE=2' '-fPIC' '-v' '-v' '-o' 'dpteng' '-I' '/pbulk/work/sysutils/dptutil/work/.buildlink/include' '-pie' '-shared-libgcc' '-mtune=nocona' '-march=i486' ld -plugin /usr/libexec/liblto_plugin.so -plugin-opt=/usr/libexec/lto-wrapper -plugin-opt=-fresolution=/tmp//ccsRIjeL.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --eh-frame-hdr -dc -dp -e __start -pie -dynamic-linker /usr/libexec/ld.elf_so -pie -o dpteng /usr/lib/crt0.o /usr/lib/crti.o /usr/lib/crtbeginS.o -zrelro swap_em.o osd_unix.o engfile1.o engfile2.o engfile3.o eng_unix.o dptcbuff.o funcs.o engmsg.o eng_sig.o array.o ptrarray.o dpt_buff.o semaphor.o engine.o threads.o dptalign.o debug.o lockunix.o eata2i2o.o findpath.o -lstdc++ -lm --as-needed -lgcc_s --no-as-needed -lgcc -lc --as-needed -lgcc_s --no-as-needed -lgcc /usr/lib/crtendS.o /usr/lib/crtn.o COLLECT_GCC_OPTIONS='-fstack-protector-strong' '-D' '_FORTIFY_SOURCE=2' '-fPIC' '-v' '-v' '-o' 'dpteng' '-I' '/pbulk/work/sysutils/dptutil/work/.buildlink/include' '-pie' '-shared-libgcc' '-mtune=nocona' '-march=i486' (cd dptutil && /usr/bin/make depend && /usr/bin/make) --- depend --- makedepend -DFLG_STAT_LAP=0x20 -D_DPT_UNIX -D_DPT_FREE_BSD -- -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -- alarm.cpp bufiolsb.c cmdlist.cpp command.cpp config.cpp creatrad.cpp ctlr_map.cpp deletrad.cpp dpt_api.c dpt_buff.cpp dptalign.c drv_busy.cpp dynsize.cpp engcalls.c engiface.cpp engmsg.c eventlog.cpp expand.cpp findpath.c flash.cpp flashmem.cpp forcest.cpp funcs.c hba_log.cpp id_list.cpp intlist.cpp listdev.cpp lockunix.c lzssdon.cpp lzstrbuf.cpp modnvram.cpp namarray.cpp nvrambit.cpp parsargv.cpp parser.cpp parserr.cpp raidutil.cpp rawdata.cpp rdutlosd.cpp rmwflash.cpp rstnvram.cpp scsi_log.cpp scsilist.cpp setcache.cpp setrate.cpp setspeed.cpp showinq.cpp status.cpp strlist.cpp swap_em.c taskctrl.cpp uartdmp.cpp usage.cpp zap.cpp setscfg.cpp segment.cpp makedepend: warning: alarm.cpp (reading /usr/include/sys/common_ansi.h), line 40: #error __PTRDIFF_TYPE__ not present makedepend: warning: alarm.cpp (reading /usr/include/sys/common_ansi.h), line 44: #error __SIZE_TYPE__ not present makedepend: warning: alarm.cpp (reading /usr/include/sys/common_ansi.h), line 48: #error __WCHAR_TYPE__ not present makedepend: warning: alarm.cpp (reading /usr/include/sys/common_ansi.h), line 52: #error __WINT_TYPE__ not present --- clean --- --- depend --- --- alarm.o --- --- bufiolsb.o --- --- cmdlist.o --- --- command.o --- --- config.o --- --- creatrad.o --- --- clean --- rm -f *.o raidutil --- depend --- makedepend -DFLG_STAT_LAP=0x20 -D_DPT_UNIX -D_DPT_FREE_BSD -- -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -- alarm.cpp bufiolsb.c cmdlist.cpp command.cpp config.cpp creatrad.cpp ctlr_map.cpp deletrad.cpp dpt_api.c dpt_buff.cpp dptalign.c drv_busy.cpp dynsize.cpp engcalls.c engiface.cpp engmsg.c eventlog.cpp expand.cpp findpath.c flash.cpp flashmem.cpp forcest.cpp funcs.c hba_log.cpp id_list.cpp intlist.cpp listdev.cpp lockunix.c lzssdon.cpp lzstrbuf.cpp modnvram.cpp namarray.cpp nvrambit.cpp parsargv.cpp parser.cpp parserr.cpp raidutil.cpp rawdata.cpp rdutlosd.cpp rmwflash.cpp rstnvram.cpp scsi_log.cpp scsilist.cpp setcache.cpp setrate.cpp setspeed.cpp showinq.cpp status.cpp strlist.cpp swap_em.c taskctrl.cpp uartdmp.cpp usage.cpp zap.cpp setscfg.cpp segme--- alarm.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c alarm.cpp --- bufiolsb.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c bufiolsb.c --- cmdlist.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c cmdlist.cpp --- command.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c command.cpp --- ctlr_map.o --- --- depend --- nt.cpp makedepend: warning: alarm.cpp (reading /usr/include/sys/common_ansi.h), line 40: #error __PTRDIFF_TYPE__ not present makedepend: warning: alarm.cpp (reading /usr/include/sys/common_ansi.h), line 44: #error __SIZE_TYPE__ not present makedepend: warning: alarm.cpp (reading /usr/include/sys/common_ansi.h), line 48: #error __WCHAR_TYPE__ not present makedepend: warning: alarm.cpp (reading /usr/include/sys/common_ansi.h), line 52: #error __WINT_TYPE__ not present --- config.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c config.cpp --- creatrad.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c creatrad.cpp --- ctlr_map.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c ctlr_map.cpp --- alarm.o --- In file included from get_info.h:342, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from alarm.hpp:24, from alarm.cpp:24: device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:12:25: note: in expansion of macro 'PACK' 12 | dptCcapacity_S capacity PACK; // Device capacity | ^~~~ device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:13:26: note: in expansion of macro 'PACK' 13 | dptCemuParam_S emulation PACK; // Emulated drive parameters | ^~~~ In file included from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from alarm.hpp:24, from alarm.cpp:24: get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:362:21: note: in expansion of macro 'PACK' 362 | uCHAR p2Flags PACK; // Path 2 flags - see bit definitions above | ^~~~ get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:363:21: note: in expansion of macro 'PACK' 363 | uCHAR reserved4 PACK; // Reserved for future expansion | ^~~~ In file included from get_info.h:735, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from alarm.hpp:24, from alarm.cpp:24: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:736, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from alarm.hpp:24, from alarm.cpp:24: hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:9:23: note: in expansion of macro 'PACK' 9 | dptIOaddr_U ioAddr PACK; // EISA/ISA/PCI address | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:15:19: note: in expansion of macro 'PACK' 15 | dptHBAid_U id PACK; // EISA = ID PAL bytes | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:55:42: note: in expansion of macro 'PACK' 55 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK; // SCSI channel info (multi-channel boards) | ^~~~ In file included from get_info.h:802, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from alarm.hpp:24, from alarm.cpp:24: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:826, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from alarm.hpp:24, from alarm.cpp:24: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ --- config.o --- In file included from get_info.h:342, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from config.cpp:21: device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:12:25: note: in expansion of macro 'PACK' 12 | dptCcapacity_S capacity PACK; // Device capacity | ^~~~ device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:13:26: note: in expansion of macro 'PACK' 13 | dptCemuParam_S emulation PACK; // Emulated drive parameters | ^~~~ In file included from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from config.cpp:21: get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:362:21: note: in expansion of macro 'PACK' 362 | uCHAR p2Flags PACK; // Path 2 flags - see bit definitions above | ^~~~ get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:363:21: note: in expansion of macro 'PACK' 363 | uCHAR reserved4 PACK; // Reserved for future expansion | ^~~~ In file included from get_info.h:735, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from config.cpp:21: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:736, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from config.cpp:21: hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:9:23: note: in expansion of macro 'PACK' 9 | dptIOaddr_U ioAddr PACK; // EISA/ISA/PCI address | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:15:19: note: in expansion of macro 'PACK' 15 | dptHBAid_U id PACK; // EISA = ID PAL bytes | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:55:42: note: in expansion of macro 'PACK' 55 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK; // SCSI channel info (multi-channel boards) | ^~~~ In file included from get_info.h:802, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from config.cpp:21: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:826, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from config.cpp:21: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ --- command.o --- In file included from get_info.h:342, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from command.cpp:46: device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:12:25: note: in expansion of macro 'PACK' 12 | dptCcapacity_S capacity PACK; // Device capacity | ^~~~ device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:13:26: note: in expansion of macro 'PACK' 13 | dptCemuParam_S emulation PACK; // Emulated drive parameters | ^~~~ In file included from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from command.cpp:46: get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:362:21: note: in expansion of macro 'PACK' 362 | uCHAR p2Flags PACK; // Path 2 flags - see bit definitions above | ^~~~ get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:363:21: note: in expansion of macro 'PACK' 363 | uCHAR reserved4 PACK; // Reserved for future expansion | ^~~~ In file included from get_info.h:735, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from command.cpp:46: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:736, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from command.cpp:46: hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:9:23: note: in expansion of macro 'PACK' 9 | dptIOaddr_U ioAddr PACK; // EISA/ISA/PCI address | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:15:19: note: in expansion of macro 'PACK' 15 | dptHBAid_U id PACK; // EISA = ID PAL bytes | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:55:42: note: in expansion of macro 'PACK' 55 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK; // SCSI channel info (multi-channel boards) | ^~~~ In file included from get_info.h:802, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from command.cpp:46: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:826, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from command.cpp:46: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ --- ctlr_map.o --- ctlr_map.cpp: In member function 'void DPTControllerMap::init()': ctlr_map.cpp:810:6: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 810 | "dmesg | sed -n 's/^dpti\\([0-9]*\\).* bus /\\1 dpti\\1/p\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 811 | "s/.* at asr\\([0-9]*\\).* bus /\\1 dpti\\1/p' | sort -u" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ctlr_map.cpp:836:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 836 | "dmesg | sed -n 's/^dpti\\([0-9]*\\).* bus \\([0-9]*\\)/\\1 \\2 dpti\\1/p\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 837 | "s/^dpt\\([0-9]*\\).* bus \\([0-9]*\\)/\\1 \\2 dpt\\1/p\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 838 | "s/^dpt\\([0-9]*\\).*/\\1 0 dpt\\1/p\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 839 | "s/.* at asr\\([0-9]*\\).* bus \\([0-9]*\\).*/\\1 \\2 asr\\1/p\n'"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ctlr_map.cpp:895:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 895 | "dmesg | sed -n 's/^\\(dpti[0-9]*\\).* bus \\([0-9]*\\)/bus \\2 \\1/p\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 896 | #if (defined(_DPT_FREE_BSD)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 897 | /* "s/.* at \\(asr[0-9]*\\).* bus \\([0-9]*\\)/bus \\2 \\1/p\n" */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 898 | #endif | ~~~~~~ 899 | "s/^\\(dpt[0-9]*\\).* bus \\([0-9]*\\)/bus \\2 \\1/p\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 900 | "s/^\\(dpt[0-9]*\\).*/bus 0 \\1/p\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 901 | #if (defined(_DPT_FREE_BSD)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 902 | "s/^\\(.*\\) at \\(asr[0-9]*\\) bus \\([0-9]*\\) target \\([0-9]*\\) lun \\([0-9]*\\)/\\1 \\2 \\3 \\4 \\5/p\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 903 | #endif | ~~~~~~ 904 | "s/^tg.* target \\([0-9]*\\)/tg \\1/p\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 905 | "s/^\\(s[drt][0-9]\\).* unit \\([0-9]*\\).*/lun \\2 \\1/p' |" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 906 | "awk 'BEGIN {\n" | ~~~~~~~~~~~~~~~~ 907 | " bus=-1\n" | ~~~~~~~~~~~~~~~~ 908 | " id=-1\n" | ~~~~~~~~~~~~~~~ 909 | " type=\"\"\n" | ~~~~~~~~~~~~~~~~~~~ 910 | "}\n" | ~~~~~ 911 | "/^bus 0 / {\n" | ~~~~~~~~~~~~~~~ 912 | " bus=-1\n" | ~~~~~~~~~~~~~~~~ 913 | "}\n" | ~~~~~ 914 | "/^bus/ {\n" | ~~~~~~~~~~~~ 915 | " type=$3\n" | ~~~~~~~~~~~~~~~~~ 916 | " bus=$2\n" | ~~~~~~~~~~~~~~~~ 917 | " id=-1\n" | ~~~~~~~~~~~~~~~ 918 | "}\n" | ~~~~~ 919 | "/^tg/ {\n" | ~~~~~~~~~~~ 920 | " id=$2\n" | ~~~~~~~~~~~~~~~ 921 | "}\n" | ~~~~~ 922 | #if (defined(_DPT_FREE_BSD)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 923 | "/asr/ {\n" | ~~~~~~~~~~~ 924 | " print $0\n" | ~~~~~~~~~~~~~ 925 | "}\n" | ~~~~~ 926 | #endif | ~~~~~~ 927 | "/^lun/ {\n" | ~~~~~~~~~~~~ 928 | " if (( bus != -1 ) && ( id != -1 )) {\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 929 | " print $3 \" \" type \" \" bus \" \" id \" \" $2\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 930 | " }\n" | ~~~~~~~~~~~ 931 | "}'"); | ~~~~ --- creatrad.o --- In file included from get_info.h:342, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from creatrad.hpp:24, from creatrad.cpp:22: device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:12:25: note: in expansion of macro 'PACK' 12 | dptCcapacity_S capacity PACK; // Device capacity | ^~~~ device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:13:26: note: in expansion of macro 'PACK' 13 | dptCemuParam_S emulation PACK; // Emulated drive parameters | ^~~~ In file included from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from creatrad.hpp:24, from creatrad.cpp:22: get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:362:21: note: in expansion of macro 'PACK' 362 | uCHAR p2Flags PACK; // Path 2 flags - see bit definitions above | ^~~~ get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:363:21: note: in expansion of macro 'PACK' 363 | uCHAR reserved4 PACK; // Reserved for future expansion | ^~~~ In file included from get_info.h:735, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from creatrad.hpp:24, from creatrad.cpp:22: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:736, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from creatrad.hpp:24, from creatrad.cpp:22: hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:9:23: note: in expansion of macro 'PACK' 9 | dptIOaddr_U ioAddr PACK; // EISA/ISA/PCI address | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:15:19: note: in expansion of macro 'PACK' 15 | dptHBAid_U id PACK; // EISA = ID PAL bytes | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:55:42: note: in expansion of macro 'PACK' 55 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK; // SCSI channel info (multi-channel boards) | ^~~~ In file included from get_info.h:802, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from creatrad.hpp:24, from creatrad.cpp:22: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:826, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from creatrad.hpp:24, from creatrad.cpp:22: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ --- cmdlist.o --- In file included from get_info.h:342, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from cmdlist.hpp:26, from cmdlist.cpp:23: device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:12:25: note: in expansion of macro 'PACK' 12 | dptCcapacity_S capacity PACK; // Device capacity | ^~~~ device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:13:26: note: in expansion of macro 'PACK' 13 | dptCemuParam_S emulation PACK; // Emulated drive parameters | ^~~~ In file included from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from cmdlist.hpp:26, from cmdlist.cpp:23: get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:362:21: note: in expansion of macro 'PACK' 362 | uCHAR p2Flags PACK; // Path 2 flags - see bit definitions above | ^~~~ get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:363:21: note: in expansion of macro 'PACK' 363 | uCHAR reserved4 PACK; // Reserved for future expansion | ^~~~ In file included from get_info.h:735, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from cmdlist.hpp:26, from cmdlist.cpp:23: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:736, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from cmdlist.hpp:26, from cmdlist.cpp:23: hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:9:23: note: in expansion of macro 'PACK' 9 | dptIOaddr_U ioAddr PACK; // EISA/ISA/PCI address | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:15:19: note: in expansion of macro 'PACK' 15 | dptHBAid_U id PACK; // EISA = ID PAL bytes | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:55:42: note: in expansion of macro 'PACK' 55 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK; // SCSI channel info (multi-channel boards) | ^~~~ In file included from get_info.h:802, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from cmdlist.hpp:26, from cmdlist.cpp:23: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:826, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from cmdlist.hpp:26, from cmdlist.cpp:23: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ --- deletrad.o --- --- dpt_buff.o --- --- deletrad.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c deletrad.cpp --- dpt_buff.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c dpt_buff.cpp --- deletrad.o --- In file included from get_info.h:342, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from deletrad.hpp:24, from deletrad.cpp:21: device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:12:25: note: in expansion of macro 'PACK' 12 | dptCcapacity_S capacity PACK; // Device capacity | ^~~~ device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:13:26: note: in expansion of macro 'PACK' 13 | dptCemuParam_S emulation PACK; // Emulated drive parameters | ^~~~ In file included from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from deletrad.hpp:24, from deletrad.cpp:21: get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:362:21: note: in expansion of macro 'PACK' 362 | uCHAR p2Flags PACK; // Path 2 flags - see bit definitions above | ^~~~ get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:363:21: note: in expansion of macro 'PACK' 363 | uCHAR reserved4 PACK; // Reserved for future expansion | ^~~~ In file included from get_info.h:735, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from deletrad.hpp:24, from deletrad.cpp:21: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:736, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from deletrad.hpp:24, from deletrad.cpp:21: hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:9:23: note: in expansion of macro 'PACK' 9 | dptIOaddr_U ioAddr PACK; // EISA/ISA/PCI address | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:15:19: note: in expansion of macro 'PACK' 15 | dptHBAid_U id PACK; // EISA = ID PAL bytes | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:55:42: note: in expansion of macro 'PACK' 55 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK; // SCSI channel info (multi-channel boards) | ^~~~ In file included from get_info.h:802, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from deletrad.hpp:24, from deletrad.cpp:21: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:826, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from deletrad.hpp:24, from deletrad.cpp:21: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ --- dptalign.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c dptalign.c --- dynsize.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c dynsize.cpp --- engcalls.o --- --- engiface.o --- --- engcalls.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c engcalls.c --- engiface.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c engiface.cpp --- engmsg.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c engmsg.c --- eventlog.o --- --- expand.o --- --- eventlog.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c eventlog.cpp --- expand.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c expand.cpp --- engiface.o --- In file included from get_info.h:342, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from engiface.cpp:25: device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:12:25: note: in expansion of macro 'PACK' 12 | dptCcapacity_S capacity PACK; // Device capacity | ^~~~ device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:13:26: note: in expansion of macro 'PACK' 13 | dptCemuParam_S emulation PACK; // Emulated drive parameters | ^~~~ In file included from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from engiface.cpp:25: get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:362:21: note: in expansion of macro 'PACK' 362 | uCHAR p2Flags PACK; // Path 2 flags - see bit definitions above | ^~~~ get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:363:21: note: in expansion of macro 'PACK' 363 | uCHAR reserved4 PACK; // Reserved for future expansion | ^~~~ In file included from get_info.h:735, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from engiface.cpp:25: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:736, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from engiface.cpp:25: hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:9:23: note: in expansion of macro 'PACK' 9 | dptIOaddr_U ioAddr PACK; // EISA/ISA/PCI address | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:15:19: note: in expansion of macro 'PACK' 15 | dptHBAid_U id PACK; // EISA = ID PAL bytes | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:55:42: note: in expansion of macro 'PACK' 55 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK; // SCSI channel info (multi-channel boards) | ^~~~ In file included from get_info.h:802, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from engiface.cpp:25: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:826, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from engiface.cpp:25: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ --- engmsg.o --- engmsg.c: In function 'int CheckForEngine(int, int, int)': engmsg.c:301:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 301 | if(IsLock("dpteng")) | ^~~~~~~~ --- engcalls.o --- engcalls.c:95:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 95 | char *EnginePathName = "dpteng"; | ^~~~~~~~ engcalls.c:96:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 96 | char *CommEnginePathName = "dptcom"; | ^~~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] engcalls.c:123:31: note: in expansion of macro '_NBSD_LIBEXEC' 123 | char *EnginePathNameDefault = _NBSD_LIBEXEC "/dpteng &"; | ^~~~~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] engcalls.c:124:35: note: in expansion of macro '_NBSD_LIBEXEC' 124 | char *CommEnginePathNameDefault = _NBSD_LIBEXEC "/dptcom &"; | ^~~~~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] engcalls.c:125:25: note: in expansion of macro '_NBSD_LIBEXEC' 125 | char *DefaultPathName = _NBSD_LIBEXEC; | ^~~~~~~~~~~~~ --- eventlog.o --- In file included from get_info.h:342, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from eventlog.hpp:25, from eventlog.cpp:24: device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:12:25: note: in expansion of macro 'PACK' 12 | dptCcapacity_S capacity PACK; // Device capacity | ^~~~ device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:13:26: note: in expansion of macro 'PACK' 13 | dptCemuParam_S emulation PACK; // Emulated drive parameters | ^~~~ In file included from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from eventlog.hpp:25, from eventlog.cpp:24: get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:362:21: note: in expansion of macro 'PACK' 362 | uCHAR p2Flags PACK; // Path 2 flags - see bit definitions above | ^~~~ get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:363:21: note: in expansion of macro 'PACK' 363 | uCHAR reserved4 PACK; // Reserved for future expansion | ^~~~ In file included from get_info.h:735, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from eventlog.hpp:25, from eventlog.cpp:24: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:736, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from eventlog.hpp:25, from eventlog.cpp:24: hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:9:23: note: in expansion of macro 'PACK' 9 | dptIOaddr_U ioAddr PACK; // EISA/ISA/PCI address | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:15:19: note: in expansion of macro 'PACK' 15 | dptHBAid_U id PACK; // EISA = ID PAL bytes | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:55:42: note: in expansion of macro 'PACK' 55 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK; // SCSI channel info (multi-channel boards) | ^~~~ In file included from get_info.h:802, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from eventlog.hpp:25, from eventlog.cpp:24: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:826, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from eventlog.hpp:25, from eventlog.cpp:24: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ --- expand.o --- In file included from get_info.h:342, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from expand.hpp:24, from expand.cpp:22: device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:12:25: note: in expansion of macro 'PACK' 12 | dptCcapacity_S capacity PACK; // Device capacity | ^~~~ device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:13:26: note: in expansion of macro 'PACK' 13 | dptCemuParam_S emulation PACK; // Emulated drive parameters | ^~~~ In file included from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from expand.hpp:24, from expand.cpp:22: get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:362:21: note: in expansion of macro 'PACK' 362 | uCHAR p2Flags PACK; // Path 2 flags - see bit definitions above | ^~~~ get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:363:21: note: in expansion of macro 'PACK' 363 | uCHAR reserved4 PACK; // Reserved for future expansion | ^~~~ In file included from get_info.h:735, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from expand.hpp:24, from expand.cpp:22: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:736, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from expand.hpp:24, from expand.cpp:22: hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:9:23: note: in expansion of macro 'PACK' 9 | dptIOaddr_U ioAddr PACK; // EISA/ISA/PCI address | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:15:19: note: in expansion of macro 'PACK' 15 | dptHBAid_U id PACK; // EISA = ID PAL bytes | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:55:42: note: in expansion of macro 'PACK' 55 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK; // SCSI channel info (multi-channel boards) | ^~~~ In file included from get_info.h:802, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from expand.hpp:24, from expand.cpp:22: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:826, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from expand.hpp:24, from expand.cpp:22: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ --- findpath.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c findpath.c --- flash.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c flash.cpp --- flashmem.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c flashmem.cpp --- forcest.o --- --- eventlog.o --- eventlog.cpp:153:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 153 | "failed", | ^~~~~~~~ eventlog.cpp:154:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 154 | "has returned, OnCallServer shutting down", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eventlog.cpp:155:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 155 | "(Primary) online", | ^~~~~~~~~~~~~~~~~~ eventlog.cpp:156:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 156 | "(OnCallServer) online", | ^~~~~~~~~~~~~~~~~~~~~~~ eventlog.cpp:157:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 157 | "is not protected", | ^~~~~~~~~~~~~~~~~~ eventlog.cpp:158:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 158 | "is protected", | ^~~~~~~~~~~~~~ eventlog.cpp:159:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 159 | "(OnCallServer) is now the primary server"}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eventlog.cpp:160:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 160 | char *beatError[] = {"read", "write"}; | ^~~~~~ eventlog.cpp:160:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 160 | char *beatError[] = {"read", "write"}; | ^~~~~~~ eventlog.cpp: In member function 'void EventLog::DisplayEvents(int, dptHBAlog_C, String_List*, SCSI_Address)': eventlog.cpp:169:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 169 | #define PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eventlog.cpp:556:19: note: in expansion of macro 'PrintAddress' 556 | PrintAddress(); | ^~~~~~~~~~~~ eventlog.cpp:562:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 562 | bufcat(out, "%s - %s\n",EventStrings[STR_BAD_SCSI], EventStrings[errorstring]); | ^~~~~~~~~~~ eventlog.cpp:169:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 169 | #define PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eventlog.cpp:571:19: note: in expansion of macro 'PrintAddress' 571 | PrintAddress(); | ^~~~~~~~~~~~ eventlog.cpp:169:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 169 | #define PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eventlog.cpp:587:19: note: in expansion of macro 'PrintAddress' 587 | PrintAddress(); | ^~~~~~~~~~~~ eventlog.cpp:591:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 591 | bufcat(out, "%s - %s\n", EventStrings[STR_HBA_ERROR], ErrorString); | ^~~~~~~~~~~ --- forcest.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c forcest.cpp --- eventlog.o --- eventlog.cpp:169:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 169 | #define PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eventlog.cpp:599:19: note: in expansion of macro 'PrintAddress' 599 | PrintAddress(); | ^~~~~~~~~~~~ eventlog.cpp:600:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 600 | bufcat(out, "%s - %lx\n", EventStrings[STR_BLOCK_REASSIGN], ra->getBlockNum()); | ^~~~~~~~~~~~ eventlog.cpp:169:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 169 | #define PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eventlog.cpp:626:57: note: in expansion of macro 'PrintAddress' 626 | if (ram->getFlags() & FLG_HL_CHAN) PrintAddress(); | ^~~~~~~~~~~~ eventlog.cpp:627:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 627 | else bufcat(out, "HBA=%d ID=%d LUN=%d\n", hba, ID, LUN); | ^~~~~~~~~~~~~~~~~~~~~~~ eventlog.cpp:636:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 636 | bufcat(out, "\n%s%s %s%08lXh", | ^~~~~~~~~~~~~~~~~ eventlog.cpp:644:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 644 | bufcat(out, "\n%s", EventStrings[STR_PARITY]); | ^~~~~~ eventlog.cpp:646:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 646 | bufcat(out, "\n"); | ^~~~ eventlog.cpp:654:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 654 | bufcat(out, "%s\n%s ", EventStrings[STR_HBA_TIME_CHG], EventStrings[STR_OLD]); | ^~~~~~~~~~ eventlog.cpp:656:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 656 | bufcat(out, "\n%s ", EventStrings[STR_NEW]); | ^~~~~~~~ eventlog.cpp:665:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 665 | bufcat(out, "\n%s - %s\n", EventStrings[STR_CONFIG_UPDATE], (ac->getLevel() == 2) ? EventStrings[STR_FIRMWARE] : EventStrings[STR_SOFTWARE]); | ^~~~~~~~~~~~~ eventlog.cpp:169:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 169 | #define PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eventlog.cpp:678:19: note: in expansion of macro 'PrintAddress' 678 | PrintAddress(); | ^~~~~~~~~~~~ eventlog.cpp:682:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 682 | bufcat(out, " => "); | ^~~~~~ eventlog.cpp:685:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 685 | bufcat(out, "\n"); | ^~~~ eventlog.cpp:169:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 169 | #define PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eventlog.cpp:693:19: note: in expansion of macro 'PrintAddress' 693 | PrintAddress(); | ^~~~~~~~~~~~ eventlog.cpp:696:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 696 | bufcat(out, "%s - %s=%lx %s=%lx\n", EventStrings[STR_DATA_INC], EventStrings[STR_BLOCK], di->getBlockNum() , EventStrings[STR_COUNT], di->getBlockCount()); | ^~~~~~~~~~~~~~~~~~~~~~ eventlog.cpp:169:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 169 | #define PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eventlog.cpp:706:19: note: in expansion of macro 'PrintAddress' 706 | PrintAddress(); | ^~~~~~~~~~~~ eventlog.cpp:708:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 708 | bufcat(out, "\n"); | ^~~~ eventlog.cpp:717:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 717 | bufcat(out, "%s %s %d : %s\n", EventStrings[STR_LOCK], | ^~~~~~~~~~~~~~~~~ eventlog.cpp:729:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 729 | bufcat(out, "\n"); | ^~~~ eventlog.cpp:169:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 169 | #define PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eventlog.cpp:737:19: note: in expansion of macro 'PrintAddress' 737 | PrintAddress(); | ^~~~~~~~~~~~ eventlog.cpp:739:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 739 | bufcat(out, "\n"); | ^~~~ eventlog.cpp:766:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 766 | bufcat(out, "\n"); | ^~~~ eventlog.cpp:771:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 771 | bufcat(out, " "); | ^~~ eventlog.cpp:169:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 169 | #define PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eventlog.cpp:789:19: note: in expansion of macro 'PrintAddress' 789 | PrintAddress(); | ^~~~~~~~~~~~ eventlog.cpp:795:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 795 | bufcat(out, "\n"); | ^~~~ eventlog.cpp:813:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 813 | bufcat(out, "\n"); | ^~~~ eventlog.cpp:169:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 169 | #define PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eventlog.cpp:823:19: note: in expansion of macro 'PrintAddress' 823 | PrintAddress(); | ^~~~~~~~~~~~ eventlog.cpp:169:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 169 | #define PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eventlog.cpp:844:19: note: in expansion of macro 'PrintAddress' 844 | PrintAddress(); | ^~~~~~~~~~~~ eventlog.cpp:862:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 862 | bufcat(out, "\n"); | ^~~~ eventlog.cpp:169:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 169 | #define PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eventlog.cpp:883:19: note: in expansion of macro 'PrintAddress' 883 | PrintAddress(); | ^~~~~~~~~~~~ eventlog.cpp:889:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 889 | bufcat(out, "\n"); | ^~~~ eventlog.cpp:894:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 894 | bufcat(out, "\n"); | ^~~~ eventlog.cpp:900:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 900 | bufcat(out, "%d", ea->getRAIDtype()); | ^~~~ eventlog.cpp:903:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 903 | bufcat(out, "\n"); | ^~~~ eventlog.cpp:907:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 907 | bufcat(out, ": "); | ^~~~ eventlog.cpp:909:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 909 | bufcat(out, "0x%uX", ea->getStripeSize()); | ^~~~~~~ eventlog.cpp:912:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 912 | bufcat(out, "\n"); | ^~~~ eventlog.cpp:920:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 920 | bufcat(out, ": "); | ^~~~ eventlog.cpp:922:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 922 | bufcat(out, "%s", (ea->getOptions() & 0x01) ? EventStrings[STR_REMOVED] : EventStrings[STR_ADDED]); | ^~~~ eventlog.cpp:925:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 925 | bufcat(out, "\n"); | ^~~~ eventlog.cpp:935:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 935 | bufcat(out, " "); | ^~~ eventlog.cpp:950:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 950 | bufcat(out, "."); | ^~~ eventlog.cpp:169:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 169 | #define PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eventlog.cpp:960:19: note: in expansion of macro 'PrintAddress' 960 | PrintAddress(); | ^~~~~~~~~~~~ eventlog.cpp:969:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 969 | bufcat(out, "("); | ^~~ eventlog.cpp:971:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 971 | bufcat(out, ")"); | ^~~ eventlog.cpp:976:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 976 | bufcat(out, "("); | ^~~ eventlog.cpp:978:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 978 | bufcat(out, ")"); | ^~~ eventlog.cpp:169:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 169 | #define PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eventlog.cpp:997:19: note: in expansion of macro 'PrintAddress' 997 | PrintAddress(); | ^~~~~~~~~~~~ eventlog.cpp:999:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 999 | bufcat(out, " "); | ^~~ eventlog.cpp:1003:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1003 | bufcat(out, ", "); | ^~~~ eventlog.cpp:1008:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1008 | bufcat(out, ", "); | ^~~~ eventlog.cpp:1010:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1010 | bufcat(out, " "); | ^~~ eventlog.cpp:1015:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1015 | bufcat(out, ", "); | ^~~~ eventlog.cpp:1017:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1017 | bufcat(out, " "); | ^~~ eventlog.cpp:169:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 169 | #define PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eventlog.cpp:1029:19: note: in expansion of macro 'PrintAddress' 1029 | PrintAddress(); | ^~~~~~~~~~~~ eventlog.cpp:1031:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1031 | bufcat(out, " "); | ^~~ eventlog.cpp:1035:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1035 | bufcat(out, ", "); | ^~~~ eventlog.cpp:1040:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1040 | bufcat(out, ", "); | ^~~~ eventlog.cpp:1045:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1045 | bufcat(out, ", "); | ^~~~ eventlog.cpp:1049:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1049 | bufcat(out, "\n"); | ^~~~ eventlog.cpp:169:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 169 | #define PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eventlog.cpp:1061:19: note: in expansion of macro 'PrintAddress' 1061 | PrintAddress(); | ^~~~~~~~~~~~ eventlog.cpp:1064:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1064 | bufcat(out, " "); | ^~~ eventlog.cpp:1069:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1069 | bufcat(out, "\n"); | ^~~~ eventlog.cpp:1070:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1070 | bufcat(out, "%s #%d : %s\n",TypeString,ses->getIndex(),StatusString); | ^~~~~~~~~~~~~~~ eventlog.cpp:169:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 169 | #define PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eventlog.cpp:1082:19: note: in expansion of macro 'PrintAddress' 1082 | PrintAddress(); | ^~~~~~~~~~~~ eventlog.cpp:1084:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1084 | bufcat(out, " "); | ^~~ eventlog.cpp:1086:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1086 | bufcat(out, "%d\n", sesTemp->getTempSensorIndex()); | ^~~~~~ eventlog.cpp:1090:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1090 | bufcat(out, " "); | ^~~ eventlog.cpp:1096:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1096 | bufcat(out, " "); | ^~~ eventlog.cpp:1102:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1102 | bufcat(out, " "); | ^~~ eventlog.cpp:1108:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1108 | bufcat(out, " "); | ^~~ eventlog.cpp:1113:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1113 | bufcat(out, " : %d C\n", sesTemp->getTemp()); | ^~~~~~~~~~~ eventlog.cpp:1121:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1121 | bufcat(out, "\n"); | ^~~~ eventlog.cpp:1133:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1133 | bufcat( out, "Status: 0x%08ld", rdrStatus); | ^~~~~~~~~~~~~~~~~ eventlog.cpp:1145:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1145 | bufcat(out, "3.3 A "); | ^~~~~~~~ eventlog.cpp:1147:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1147 | bufcat(out, "\n"); | ^~~~ eventlog.cpp:1154:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1154 | bufcat(out, "3.3 A "); | ^~~~~~~~ eventlog.cpp:1156:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1156 | bufcat(out, "\n"); | ^~~~ eventlog.cpp:1163:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1163 | bufcat(out, "3.3 A "); | ^~~~~~~~ eventlog.cpp:1165:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1165 | bufcat(out, "\n"); | ^~~~ eventlog.cpp:1172:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1172 | bufcat(out, "3.3 B "); | ^~~~~~~~ eventlog.cpp:1174:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1174 | bufcat(out, "\n"); | ^~~~ eventlog.cpp:1181:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1181 | bufcat(out, "3.3 B "); | ^~~~~~~~ eventlog.cpp:1183:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1183 | bufcat(out, "\n"); | ^~~~ eventlog.cpp:1190:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1190 | bufcat(out, "3.3 B "); | ^~~~~~~~ eventlog.cpp:1192:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1192 | bufcat(out, "\n"); | ^~~~ eventlog.cpp:1201:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1201 | bufcat(out, "\n"); | ^~~~ eventlog.cpp:1210:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1210 | bufcat(out, "\n"); | ^~~~ eventlog.cpp:1219:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1219 | bufcat(out, "\n"); | ^~~~ eventlog.cpp:169:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 169 | #define PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eventlog.cpp:1228:19: note: in expansion of macro 'PrintAddress' 1228 | PrintAddress(); | ^~~~~~~~~~~~ eventlog.cpp:1230:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1230 | bufcat(out, " : %lx\n",bk->getBlockNumber()); | ^~~~~~~~~~ eventlog.cpp:169:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 169 | #define PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eventlog.cpp:1240:19: note: in expansion of macro 'PrintAddress' 1240 | PrintAddress(); | ^~~~~~~~~~~~ eventlog.cpp:1242:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1242 | bufcat(out, " : %lx\n",bk->getBlockNumber()); | ^~~~~~~~~~ eventlog.cpp:169:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 169 | #define PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eventlog.cpp:1251:19: note: in expansion of macro 'PrintAddress' 1251 | PrintAddress(); | ^~~~~~~~~~~~ eventlog.cpp:1253:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1253 | bufcat(out, " : %lx\n",bk->getBlockNumber()); | ^~~~~~~~~~ eventlog.cpp:169:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 169 | #define PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eventlog.cpp:1262:19: note: in expansion of macro 'PrintAddress' 1262 | PrintAddress(); | ^~~~~~~~~~~~ eventlog.cpp:1264:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1264 | bufcat(out, " : %lx\n",bk->getBlockNumber()); | ^~~~~~~~~~ eventlog.cpp:169:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 169 | #define PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eventlog.cpp:1273:19: note: in expansion of macro 'PrintAddress' 1273 | PrintAddress(); | ^~~~~~~~~~~~ eventlog.cpp:1275:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1275 | bufcat(out, " : %lx ", wb->getBlockNumber()); | ^~~~~~~~~ eventlog.cpp:1277:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1277 | bufcat(out, " %lx ", wb->getBlockCount()); | ^~~~~~~ eventlog.cpp:1279:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1279 | bufcat(out, "\n"); | ^~~~ eventlog.cpp:1291:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1291 | bufcat(out, "\n"); | ^~~~ eventlog.cpp:1294:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1294 | bufcat(out, "%s => %s\n",OldState,NewState); | ^~~~~~~~~~~~ eventlog.cpp:1321:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1321 | bufcat(out, "\n"); | ^~~~ eventlog.cpp:1322:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1322 | bufcat(out, "%s => %s\n",OldState,NewState); | ^~~~~~~~~~~~ eventlog.cpp:1352:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1352 | bufcat(out, " %d - %s\n", chanID, msg); | ^~~~~~~~~~~~ eventlog.cpp:1407:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1407 | bufcat (out, "3.0 "); | ^~~~~~ eventlog.cpp:1409:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1409 | bufcat (out, "\n"); | ^~~~ eventlog.cpp:1416:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1416 | bufcat (out, "3.0 "); | ^~~~~~ eventlog.cpp:1418:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1418 | bufcat (out, "\n"); | ^~~~ eventlog.cpp:1425:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1425 | bufcat (out, "3.0 "); | ^~~~~~ eventlog.cpp:1427:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1427 | bufcat (out, "\n"); | ^~~~ eventlog.cpp:1434:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1434 | bufcat (out, "12.0 "); | ^~~~~~~ eventlog.cpp:1436:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1436 | bufcat (out, "\n"); | ^~~~ eventlog.cpp:1443:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1443 | bufcat (out, "12.0 "); | ^~~~~~~ eventlog.cpp:1445:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1445 | bufcat (out, "\n"); | ^~~~ eventlog.cpp:1452:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1452 | bufcat (out, "12.0 "); | ^~~~~~~ eventlog.cpp:1454:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1454 | bufcat (out, "\n"); | ^~~~ eventlog.cpp:1461:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1461 | bufcat (out, "5.0 "); | ^~~~~~ eventlog.cpp:1463:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1463 | bufcat (out, "\n"); | ^~~~ eventlog.cpp:1470:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1470 | bufcat (out, "5.0 "); | ^~~~~~ eventlog.cpp:1472:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1472 | bufcat (out, "\n"); | ^~~~ eventlog.cpp:1479:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1479 | bufcat (out, "5.0 "); | ^~~~~~ eventlog.cpp:1481:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1481 | bufcat (out, "\n"); | ^~~~ eventlog.cpp:1515:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1515 | bufcat (out, "\n"); | ^~~~ eventlog.cpp:1520:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1520 | bufcat (out, "\n"); | ^~~~ eventlog.cpp:1525:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1525 | bufcat (out, "\n"); | ^~~~ eventlog.cpp:1530:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1530 | bufcat (out, "\n"); | ^~~~ eventlog.cpp:1535:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1535 | bufcat (out, "\n"); | ^~~~ eventlog.cpp:1540:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1540 | bufcat (out, "\n"); | ^~~~ eventlog.cpp:169:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 169 | #define PrintAddress() bufcat(out, "HBA=%d BUS=%d ID=%d LUN=%d\n", hba, CHAN, ID, LUN) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eventlog.cpp:1579:19: note: in expansion of macro 'PrintAddress' 1579 | PrintAddress(); | ^~~~~~~~~~~~ eventlog.cpp:1600:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1600 | bufcat(out, ": "); | ^~~~ eventlog.cpp:1610:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1610 | bufcat(out, ": "); | ^~~~ eventlog.cpp:1633:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1633 | bufcat(out, "\n"); | ^~~~ eventlog.cpp:1654:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1654 | bufcat(out, "\n"); | ^~~~ eventlog.cpp:1661:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1661 | bufcat(out, "\n"); | ^~~~ eventlog.cpp:1669:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1669 | bufcat(out, "\n"); | ^~~~ eventlog.cpp:1678:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1678 | bufcat(out, " : "); | ^~~~~ eventlog.cpp:1687:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1687 | keepgoing = bufcat(out, "\n\n"); | ^~~~~~ eventlog.cpp: In function 'void DoBytes(uSHORT, uCHAR*, String_List*)': eventlog.cpp:1735:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1735 | for (int i = 0; i < numbytes; i++) bufcat(out, "%02X ", *p++); | ^~~~~~~ eventlog.cpp:1736:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1736 | bufcat(out, "\n"); | ^~~~ eventlog.cpp: In function 'void DoLongs(uSHORT, uLONG*, String_List*)': eventlog.cpp:1742:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1742 | for (int i = 0; i < numlongs; i++) bufcat(out, "%08X ", *p++); | ^~~~~~~ eventlog.cpp:1743:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1743 | bufcat(out, "\n"); | ^~~~ eventlog.cpp: In function 'void DoTime(uLONG, uSHORT, String_List*)': eventlog.cpp:1910:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1910 | bufcat(out, "%s", EventStrings[STR_INVALID_HBA_TIME]); | ^~~~ eventlog.cpp:1913:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1913 | bufcat(out, "\n"); | ^~~~ --- hba_log.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c hba_log.cpp --- forcest.o --- In file included from get_info.h:342, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from forcest.hpp:24, from forcest.cpp:21: device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:12:25: note: in expansion of macro 'PACK' 12 | dptCcapacity_S capacity PACK; // Device capacity | ^~~~ device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:13:26: note: in expansion of macro 'PACK' 13 | dptCemuParam_S emulation PACK; // Emulated drive parameters | ^~~~ In file included from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from forcest.hpp:24, from forcest.cpp:21: get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:362:21: note: in expansion of macro 'PACK' 362 | uCHAR p2Flags PACK; // Path 2 flags - see bit definitions above | ^~~~ get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:363:21: note: in expansion of macro 'PACK' 363 | uCHAR reserved4 PACK; // Reserved for future expansion | ^~~~ In file included from get_info.h:735, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from forcest.hpp:24, from forcest.cpp:21: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ --- flash.o --- In file included from get_info.h:342, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from flash.cpp:22: device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:12:25: note: in expansion of macro 'PACK' 12 | dptCcapacity_S capacity PACK; // Device capacity | ^~~~ device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:13:26: note: in expansion of macro 'PACK' 13 | dptCemuParam_S emulation PACK; // Emulated drive parameters | ^~~~ --- forcest.o --- In file included from get_info.h:736, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from forcest.hpp:24, from forcest.cpp:21: hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:9:23: note: in expansion of macro 'PACK' 9 | dptIOaddr_U ioAddr PACK; // EISA/ISA/PCI address | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:15:19: note: in expansion of macro 'PACK' 15 | dptHBAid_U id PACK; // EISA = ID PAL bytes | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:55:42: note: in expansion of macro 'PACK' 55 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK; // SCSI channel info (multi-channel boards) | ^~~~ --- flash.o --- In file included from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from flash.cpp:22: get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:362:21: note: in expansion of macro 'PACK' 362 | uCHAR p2Flags PACK; // Path 2 flags - see bit definitions above | ^~~~ get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:363:21: note: in expansion of macro 'PACK' 363 | uCHAR reserved4 PACK; // Reserved for future expansion | ^~~~ --- forcest.o --- In file included from get_info.h:802, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from forcest.hpp:24, from forcest.cpp:21: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:826, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from forcest.hpp:24, from forcest.cpp:21: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ --- flash.o --- In file included from get_info.h:735, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from flash.cpp:22: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:736, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from flash.cpp:22: hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:9:23: note: in expansion of macro 'PACK' 9 | dptIOaddr_U ioAddr PACK; // EISA/ISA/PCI address | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:15:19: note: in expansion of macro 'PACK' 15 | dptHBAid_U id PACK; // EISA = ID PAL bytes | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:55:42: note: in expansion of macro 'PACK' 55 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK; // SCSI channel info (multi-channel boards) | ^~~~ In file included from get_info.h:802, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from flash.cpp:22: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:826, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from flash.cpp:22: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ --- flashmem.o --- In file included from get_info.h:342, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from flashmem.h:43, from flashmem.cpp:42: device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:12:25: note: in expansion of macro 'PACK' 12 | dptCcapacity_S capacity PACK; // Device capacity | ^~~~ device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:13:26: note: in expansion of macro 'PACK' 13 | dptCemuParam_S emulation PACK; // Emulated drive parameters | ^~~~ In file included from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from flashmem.h:43, from flashmem.cpp:42: get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:362:21: note: in expansion of macro 'PACK' 362 | uCHAR p2Flags PACK; // Path 2 flags - see bit definitions above | ^~~~ get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:363:21: note: in expansion of macro 'PACK' 363 | uCHAR reserved4 PACK; // Reserved for future expansion | ^~~~ In file included from get_info.h:735, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from flashmem.h:43, from flashmem.cpp:42: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:736, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from flashmem.h:43, from flashmem.cpp:42: hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:9:23: note: in expansion of macro 'PACK' 9 | dptIOaddr_U ioAddr PACK; // EISA/ISA/PCI address | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:15:19: note: in expansion of macro 'PACK' 15 | dptHBAid_U id PACK; // EISA = ID PAL bytes | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:55:42: note: in expansion of macro 'PACK' 55 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK; // SCSI channel info (multi-channel boards) | ^~~~ In file included from get_info.h:802, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from flashmem.h:43, from flashmem.cpp:42: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:826, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from flashmem.h:43, from flashmem.cpp:42: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ --- id_list.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c id_list.cpp --- intlist.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c intlist.cpp --- forcest.o --- In file included from forcest.cpp:21: forcest.cpp: In member function 'virtual Command::Dpt_Error ForceState::execute(String_List**)': forcest.hpp:28:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 28 | #define STR_FORCE_FAIL_WARNING "This action will fail this drive. Are you sure you want to do this? [yN]" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ forcest.hpp:28:32: note: in definition of macro 'STR_FORCE_FAIL_WARNING' 28 | #define STR_FORCE_FAIL_WARNING "This action will fail this drive. Are you sure you want to do this? [yN]" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ forcest.hpp:29:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 29 | #define STR_FORCE_OPTIMAL_WARNING "Forcing an array to optimal will not reconstruct any data and could lead to corruption or data loss! Are you sure you want to make this array optimal? [yN]" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ forcest.hpp:29:35: note: in definition of macro 'STR_FORCE_OPTIMAL_WARNING' 29 | #define STR_FORCE_OPTIMAL_WARNING "Forcing an array to optimal will not reconstruct any data and could lead to corruption or data loss! Are you sure you want to make this array optimal? [yN]" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- listdev.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c listdev.cpp --- id_list.o --- In file included from get_info.h:342, from dpt_info.h:32, from dpt_api.h:47, from id_list.cpp:27: device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:12:25: note: in expansion of macro 'PACK' 12 | dptCcapacity_S capacity PACK; // Device capacity | ^~~~ device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:13:26: note: in expansion of macro 'PACK' 13 | dptCemuParam_S emulation PACK; // Emulated drive parameters | ^~~~ In file included from dpt_info.h:32, from dpt_api.h:47, from id_list.cpp:27: get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:362:21: note: in expansion of macro 'PACK' 362 | uCHAR p2Flags PACK; // Path 2 flags - see bit definitions above | ^~~~ get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:363:21: note: in expansion of macro 'PACK' 363 | uCHAR reserved4 PACK; // Reserved for future expansion | ^~~~ In file included from get_info.h:735, from dpt_info.h:32, from dpt_api.h:47, from id_list.cpp:27: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:736, from dpt_info.h:32, from dpt_api.h:47, from id_list.cpp:27: hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:9:23: note: in expansion of macro 'PACK' 9 | dptIOaddr_U ioAddr PACK; // EISA/ISA/PCI address | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:15:19: note: in expansion of macro 'PACK' 15 | dptHBAid_U id PACK; // EISA = ID PAL bytes | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:55:42: note: in expansion of macro 'PACK' 55 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK; // SCSI channel info (multi-channel boards) | ^~~~ In file included from get_info.h:802, from dpt_info.h:32, from dpt_api.h:47, from id_list.cpp:27: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:826, from dpt_info.h:32, from dpt_api.h:47, from id_list.cpp:27: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ --- lockunix.o --- --- lzssdon.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c lzssdon.cpp --- lockunix.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c lockunix.c --- lzstrbuf.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c lzstrbuf.cpp --- listdev.o --- In file included from get_info.h:342, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from listdev.cpp:21: device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:12:25: note: in expansion of macro 'PACK' 12 | dptCcapacity_S capacity PACK; // Device capacity | ^~~~ device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:13:26: note: in expansion of macro 'PACK' 13 | dptCemuParam_S emulation PACK; // Emulated drive parameters | ^~~~ In file included from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from listdev.cpp:21: get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:362:21: note: in expansion of macro 'PACK' 362 | uCHAR p2Flags PACK; // Path 2 flags - see bit definitions above | ^~~~ get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:363:21: note: in expansion of macro 'PACK' 363 | uCHAR reserved4 PACK; // Reserved for future expansion | ^~~~ In file included from get_info.h:735, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from listdev.cpp:21: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:736, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from listdev.cpp:21: hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:9:23: note: in expansion of macro 'PACK' 9 | dptIOaddr_U ioAddr PACK; // EISA/ISA/PCI address | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:15:19: note: in expansion of macro 'PACK' 15 | dptHBAid_U id PACK; // EISA = ID PAL bytes | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:55:42: note: in expansion of macro 'PACK' 55 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK; // SCSI channel info (multi-channel boards) | ^~~~ In file included from get_info.h:802, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from listdev.cpp:21: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:826, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from listdev.cpp:21: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ --- modnvram.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c modnvram.cpp --- namarray.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c namarray.cpp --- nvrambit.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c nvrambit.cpp --- modnvram.o --- In file included from get_info.h:342, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from modnvram.hpp:24, from modnvram.cpp:21: device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:12:25: note: in expansion of macro 'PACK' 12 | dptCcapacity_S capacity PACK; // Device capacity | ^~~~ device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:13:26: note: in expansion of macro 'PACK' 13 | dptCemuParam_S emulation PACK; // Emulated drive parameters | ^~~~ In file included from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from modnvram.hpp:24, from modnvram.cpp:21: get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:362:21: note: in expansion of macro 'PACK' 362 | uCHAR p2Flags PACK; // Path 2 flags - see bit definitions above | ^~~~ get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:363:21: note: in expansion of macro 'PACK' 363 | uCHAR reserved4 PACK; // Reserved for future expansion | ^~~~ In file included from get_info.h:735, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from modnvram.hpp:24, from modnvram.cpp:21: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:736, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from modnvram.hpp:24, from modnvram.cpp:21: hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:9:23: note: in expansion of macro 'PACK' 9 | dptIOaddr_U ioAddr PACK; // EISA/ISA/PCI address | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:15:19: note: in expansion of macro 'PACK' 15 | dptHBAid_U id PACK; // EISA = ID PAL bytes | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:55:42: note: in expansion of macro 'PACK' 55 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK; // SCSI channel info (multi-channel boards) | ^~~~ In file included from get_info.h:802, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from modnvram.hpp:24, from modnvram.cpp:21: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:826, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from modnvram.hpp:24, from modnvram.cpp:21: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ --- namarray.o --- In file included from get_info.h:342, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from namarray.hpp:24, from namarray.cpp:21: device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:12:25: note: in expansion of macro 'PACK' 12 | dptCcapacity_S capacity PACK; // Device capacity | ^~~~ device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:13:26: note: in expansion of macro 'PACK' 13 | dptCemuParam_S emulation PACK; // Emulated drive parameters | ^~~~ In file included from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from namarray.hpp:24, from namarray.cpp:21: get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:362:21: note: in expansion of macro 'PACK' 362 | uCHAR p2Flags PACK; // Path 2 flags - see bit definitions above | ^~~~ get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:363:21: note: in expansion of macro 'PACK' 363 | uCHAR reserved4 PACK; // Reserved for future expansion | ^~~~ In file included from get_info.h:735, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from namarray.hpp:24, from namarray.cpp:21: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:736, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from namarray.hpp:24, from namarray.cpp:21: hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:9:23: note: in expansion of macro 'PACK' 9 | dptIOaddr_U ioAddr PACK; // EISA/ISA/PCI address | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:15:19: note: in expansion of macro 'PACK' 15 | dptHBAid_U id PACK; // EISA = ID PAL bytes | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:55:42: note: in expansion of macro 'PACK' 55 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK; // SCSI channel info (multi-channel boards) | ^~~~ In file included from get_info.h:802, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from namarray.hpp:24, from namarray.cpp:21: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:826, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from namarray.hpp:24, from namarray.cpp:21: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ --- parsargv.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c parsargv.cpp --- nvrambit.o --- In file included from get_info.h:342, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from nvrambit.hpp:24, from nvrambit.cpp:21: device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:12:25: note: in expansion of macro 'PACK' 12 | dptCcapacity_S capacity PACK; // Device capacity | ^~~~ device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:13:26: note: in expansion of macro 'PACK' 13 | dptCemuParam_S emulation PACK; // Emulated drive parameters | ^~~~ In file included from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from nvrambit.hpp:24, from nvrambit.cpp:21: get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:362:21: note: in expansion of macro 'PACK' 362 | uCHAR p2Flags PACK; // Path 2 flags - see bit definitions above | ^~~~ get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:363:21: note: in expansion of macro 'PACK' 363 | uCHAR reserved4 PACK; // Reserved for future expansion | ^~~~ In file included from get_info.h:735, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from nvrambit.hpp:24, from nvrambit.cpp:21: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:736, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from nvrambit.hpp:24, from nvrambit.cpp:21: hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:9:23: note: in expansion of macro 'PACK' 9 | dptIOaddr_U ioAddr PACK; // EISA/ISA/PCI address | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:15:19: note: in expansion of macro 'PACK' 15 | dptHBAid_U id PACK; // EISA = ID PAL bytes | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:55:42: note: in expansion of macro 'PACK' 55 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK; // SCSI channel info (multi-channel boards) | ^~~~ In file included from get_info.h:802, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from nvrambit.hpp:24, from nvrambit.cpp:21: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:826, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from nvrambit.hpp:24, from nvrambit.cpp:21: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ --- parser.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c parser.cpp --- parsargv.o --- In file included from get_info.h:342, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from cmdlist.hpp:26, from parser.hpp:26, from parsargv.hpp:26, from parsargv.cpp:24: device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:12:25: note: in expansion of macro 'PACK' 12 | dptCcapacity_S capacity PACK; // Device capacity | ^~~~ device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:13:26: note: in expansion of macro 'PACK' 13 | dptCemuParam_S emulation PACK; // Emulated drive parameters | ^~~~ In file included from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from cmdlist.hpp:26, from parser.hpp:26, from parsargv.hpp:26, from parsargv.cpp:24: get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:362:21: note: in expansion of macro 'PACK' 362 | uCHAR p2Flags PACK; // Path 2 flags - see bit definitions above | ^~~~ get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:363:21: note: in expansion of macro 'PACK' 363 | uCHAR reserved4 PACK; // Reserved for future expansion | ^~~~ In file included from get_info.h:735, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from cmdlist.hpp:26, from parser.hpp:26, from parsargv.hpp:26, from parsargv.cpp:24: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ --- parserr.o --- --- parsargv.o --- In file included from get_info.h:736, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from cmdlist.hpp:26, from parser.hpp:26, from parsargv.hpp:26, from parsargv.cpp:24: hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:9:23: note: in expansion of macro 'PACK' 9 | dptIOaddr_U ioAddr PACK; // EISA/ISA/PCI address | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:15:19: note: in expansion of macro 'PACK' 15 | dptHBAid_U id PACK; // EISA = ID PAL bytes | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:55:42: note: in expansion of macro 'PACK' 55 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK; // SCSI channel info (multi-channel boards) | ^~~~ In file included from get_info.h:802, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from cmdlist.hpp:26, from parser.hpp:26, from parsargv.hpp:26, from parsargv.cpp:24: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:826, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from cmdlist.hpp:26, from parser.hpp:26, from parsargv.hpp:26, from parsargv.cpp:24: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ --- parserr.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c parserr.cpp --- raidutil.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c raidutil.cpp --- parser.o --- In file included from get_info.h:342, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from cmdlist.hpp:26, from parser.hpp:26, from parser.cpp:22: device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:12:25: note: in expansion of macro 'PACK' 12 | dptCcapacity_S capacity PACK; // Device capacity | ^~~~ device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:13:26: note: in expansion of macro 'PACK' 13 | dptCemuParam_S emulation PACK; // Emulated drive parameters | ^~~~ In file included from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from cmdlist.hpp:26, from parser.hpp:26, from parser.cpp:22: get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:362:21: note: in expansion of macro 'PACK' 362 | uCHAR p2Flags PACK; // Path 2 flags - see bit definitions above | ^~~~ get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:363:21: note: in expansion of macro 'PACK' 363 | uCHAR reserved4 PACK; // Reserved for future expansion | ^~~~ In file included from get_info.h:735, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from cmdlist.hpp:26, from parser.hpp:26, from parser.cpp:22: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:736, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from cmdlist.hpp:26, from parser.hpp:26, from parser.cpp:22: hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:9:23: note: in expansion of macro 'PACK' 9 | dptIOaddr_U ioAddr PACK; // EISA/ISA/PCI address | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:15:19: note: in expansion of macro 'PACK' 15 | dptHBAid_U id PACK; // EISA = ID PAL bytes | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:55:42: note: in expansion of macro 'PACK' 55 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK; // SCSI channel info (multi-channel boards) | ^~~~ In file included from get_info.h:802, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from cmdlist.hpp:26, from parser.hpp:26, from parser.cpp:22: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:826, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from cmdlist.hpp:26, from parser.hpp:26, from parser.cpp:22: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ --- parserr.o --- In file included from get_info.h:342, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from parserr.hpp:26, from parserr.cpp:21: device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:12:25: note: in expansion of macro 'PACK' 12 | dptCcapacity_S capacity PACK; // Device capacity | ^~~~ device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:13:26: note: in expansion of macro 'PACK' 13 | dptCemuParam_S emulation PACK; // Emulated drive parameters | ^~~~ In file included from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from parserr.hpp:26, from parserr.cpp:21: get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:362:21: note: in expansion of macro 'PACK' 362 | uCHAR p2Flags PACK; // Path 2 flags - see bit definitions above | ^~~~ get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:363:21: note: in expansion of macro 'PACK' 363 | uCHAR reserved4 PACK; // Reserved for future expansion | ^~~~ In file included from get_info.h:735, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from parserr.hpp:26, from parserr.cpp:21: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:736, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from parserr.hpp:26, from parserr.cpp:21: hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:9:23: note: in expansion of macro 'PACK' 9 | dptIOaddr_U ioAddr PACK; // EISA/ISA/PCI address | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:15:19: note: in expansion of macro 'PACK' 15 | dptHBAid_U id PACK; // EISA = ID PAL bytes | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:55:42: note: in expansion of macro 'PACK' 55 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK; // SCSI channel info (multi-channel boards) | ^~~~ In file included from get_info.h:802, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from parserr.hpp:26, from parserr.cpp:21: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:826, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from parserr.hpp:26, from parserr.cpp:21: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ --- rawdata.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c rawdata.cpp --- rdutlosd.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c rdutlosd.cpp --- rmwflash.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c rmwflash.cpp --- raidutil.o --- In file included from get_info.h:342, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from cmdlist.hpp:26, from parser.hpp:26, from parsargv.hpp:26, from raidutil.cpp:26: device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:12:25: note: in expansion of macro 'PACK' 12 | dptCcapacity_S capacity PACK; // Device capacity | ^~~~ device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:13:26: note: in expansion of macro 'PACK' 13 | dptCemuParam_S emulation PACK; // Emulated drive parameters | ^~~~ In file included from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from cmdlist.hpp:26, from parser.hpp:26, from parsargv.hpp:26, from raidutil.cpp:26: get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:362:21: note: in expansion of macro 'PACK' 362 | uCHAR p2Flags PACK; // Path 2 flags - see bit definitions above | ^~~~ get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:363:21: note: in expansion of macro 'PACK' 363 | uCHAR reserved4 PACK; // Reserved for future expansion | ^~~~ In file included from get_info.h:735, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from cmdlist.hpp:26, from parser.hpp:26, from parsargv.hpp:26, from raidutil.cpp:26: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:736, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from cmdlist.hpp:26, from parser.hpp:26, from parsargv.hpp:26, from raidutil.cpp:26: hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:9:23: note: in expansion of macro 'PACK' 9 | dptIOaddr_U ioAddr PACK; // EISA/ISA/PCI address | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:15:19: note: in expansion of macro 'PACK' 15 | dptHBAid_U id PACK; // EISA = ID PAL bytes | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:55:42: note: in expansion of macro 'PACK' 55 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK; // SCSI channel info (multi-channel boards) | ^~~~ In file included from get_info.h:802, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from cmdlist.hpp:26, from parser.hpp:26, from parsargv.hpp:26, from raidutil.cpp:26: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:826, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from cmdlist.hpp:26, from parser.hpp:26, from parsargv.hpp:26, from raidutil.cpp:26: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ --- rmwflash.o --- In file included from get_info.h:342, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from rmwflash.hpp:24, from rmwflash.cpp:21: device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:12:25: note: in expansion of macro 'PACK' 12 | dptCcapacity_S capacity PACK; // Device capacity | ^~~~ device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:13:26: note: in expansion of macro 'PACK' 13 | dptCemuParam_S emulation PACK; // Emulated drive parameters | ^~~~ In file included from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from rmwflash.hpp:24, from rmwflash.cpp:21: get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:362:21: note: in expansion of macro 'PACK' 362 | uCHAR p2Flags PACK; // Path 2 flags - see bit definitions above | ^~~~ get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:363:21: note: in expansion of macro 'PACK' 363 | uCHAR reserved4 PACK; // Reserved for future expansion | ^~~~ In file included from get_info.h:735, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from rmwflash.hpp:24, from rmwflash.cpp:21: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:736, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from rmwflash.hpp:24, from rmwflash.cpp:21: hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:9:23: note: in expansion of macro 'PACK' 9 | dptIOaddr_U ioAddr PACK; // EISA/ISA/PCI address | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:15:19: note: in expansion of macro 'PACK' 15 | dptHBAid_U id PACK; // EISA = ID PAL bytes | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:55:42: note: in expansion of macro 'PACK' 55 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK; // SCSI channel info (multi-channel boards) | ^~~~ In file included from get_info.h:802, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from rmwflash.hpp:24, from rmwflash.cpp:21: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:826, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from rmwflash.hpp:24, from rmwflash.cpp:21: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ --- rstnvram.o --- --- rawdata.o --- In file included from get_info.h:342, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from rawdata.hpp:24, from rawdata.cpp:21: device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:12:25: note: in expansion of macro 'PACK' 12 | dptCcapacity_S capacity PACK; // Device capacity | ^~~~ device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:13:26: note: in expansion of macro 'PACK' 13 | dptCemuParam_S emulation PACK; // Emulated drive parameters | ^~~~ In file included from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from rawdata.hpp:24, from rawdata.cpp:21: get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:362:21: note: in expansion of macro 'PACK' 362 | uCHAR p2Flags PACK; // Path 2 flags - see bit definitions above | ^~~~ get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:363:21: note: in expansion of macro 'PACK' 363 | uCHAR reserved4 PACK; // Reserved for future expansion | ^~~~ --- rstnvram.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c rstnvram.cpp --- rawdata.o --- In file included from get_info.h:735, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from rawdata.hpp:24, from rawdata.cpp:21: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:736, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from rawdata.hpp:24, from rawdata.cpp:21: hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:9:23: note: in expansion of macro 'PACK' 9 | dptIOaddr_U ioAddr PACK; // EISA/ISA/PCI address | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:15:19: note: in expansion of macro 'PACK' 15 | dptHBAid_U id PACK; // EISA = ID PAL bytes | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:55:42: note: in expansion of macro 'PACK' 55 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK; // SCSI channel info (multi-channel boards) | ^~~~ In file included from get_info.h:802, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from rawdata.hpp:24, from rawdata.cpp:21: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:826, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from rawdata.hpp:24, from rawdata.cpp:21: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ --- rdutlosd.o --- In file included from get_info.h:342, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from rdutlosd.cpp:21: device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:12:25: note: in expansion of macro 'PACK' 12 | dptCcapacity_S capacity PACK; // Device capacity | ^~~~ device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:13:26: note: in expansion of macro 'PACK' 13 | dptCemuParam_S emulation PACK; // Emulated drive parameters | ^~~~ In file included from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from rdutlosd.cpp:21: get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:362:21: note: in expansion of macro 'PACK' 362 | uCHAR p2Flags PACK; // Path 2 flags - see bit definitions above | ^~~~ get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:363:21: note: in expansion of macro 'PACK' 363 | uCHAR reserved4 PACK; // Reserved for future expansion | ^~~~ In file included from get_info.h:735, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from rdutlosd.cpp:21: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:736, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from rdutlosd.cpp:21: hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:9:23: note: in expansion of macro 'PACK' 9 | dptIOaddr_U ioAddr PACK; // EISA/ISA/PCI address | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:15:19: note: in expansion of macro 'PACK' 15 | dptHBAid_U id PACK; // EISA = ID PAL bytes | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:55:42: note: in expansion of macro 'PACK' 55 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK; // SCSI channel info (multi-channel boards) | ^~~~ In file included from get_info.h:802, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from rdutlosd.cpp:21: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:826, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from rdutlosd.cpp:21: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ --- scsi_log.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c scsi_log.cpp --- rawdata.o --- rawdata.cpp: In member function 'virtual Command::Dpt_Error RawData::execute(String_List**)': rawdata.cpp:58:17: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)' [-Wconversion-null] 58 | memset(rtnBuff,NULL,sizeof(rtnBuff)); | ^~~~ In file included from mem.h:33, from dpt_buff.h:32, from dpt_api.h:49, from engiface.hpp:32, from command.hpp:28, from rawdata.hpp:24, from rawdata.cpp:21: /usr/include/string.h:53:22: note: declared here 53 | void *memset(void *, int, size_t); | ^~~ rawdata.cpp:98:21: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)' [-Wconversion-null] 98 | memset(rtnBuff,NULL,sizeof(rtnBuff)); | ^~~~ In file included from mem.h:33, from dpt_buff.h:32, from dpt_api.h:49, from engiface.hpp:32, from command.hpp:28, from rawdata.hpp:24, from rawdata.cpp:21: /usr/include/string.h:53:22: note: declared here 53 | void *memset(void *, int, size_t); | ^~~ --- rstnvram.o --- In file included from get_info.h:342, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from modnvram.hpp:24, from rstnvram.hpp:24, from rstnvram.cpp:23: device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:12:25: note: in expansion of macro 'PACK' 12 | dptCcapacity_S capacity PACK; // Device capacity | ^~~~ device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:13:26: note: in expansion of macro 'PACK' 13 | dptCemuParam_S emulation PACK; // Emulated drive parameters | ^~~~ In file included from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from modnvram.hpp:24, from rstnvram.hpp:24, from rstnvram.cpp:23: get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:362:21: note: in expansion of macro 'PACK' 362 | uCHAR p2Flags PACK; // Path 2 flags - see bit definitions above | ^~~~ get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:363:21: note: in expansion of macro 'PACK' 363 | uCHAR reserved4 PACK; // Reserved for future expansion | ^~~~ In file included from get_info.h:735, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from modnvram.hpp:24, from rstnvram.hpp:24, from rstnvram.cpp:23: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:736, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from modnvram.hpp:24, from rstnvram.hpp:24, from rstnvram.cpp:23: hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:9:23: note: in expansion of macro 'PACK' 9 | dptIOaddr_U ioAddr PACK; // EISA/ISA/PCI address | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:15:19: note: in expansion of macro 'PACK' 15 | dptHBAid_U id PACK; // EISA = ID PAL bytes | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:55:42: note: in expansion of macro 'PACK' 55 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK; // SCSI channel info (multi-channel boards) | ^~~~ In file included from get_info.h:802, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from modnvram.hpp:24, from rstnvram.hpp:24, from rstnvram.cpp:23: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:826, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from modnvram.hpp:24, from rstnvram.hpp:24, from rstnvram.cpp:23: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ --- scsilist.o --- --- setcache.o --- --- setrate.o --- --- scsilist.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c scsilist.cpp --- setcache.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c setcache.cpp --- setrate.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c setrate.cpp --- parser.o --- parser.cpp: In constructor 'Parser::Parser(char*, bool*)': parser.cpp:361:42: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] 361 | if (command_Line !='\0') | ~~~~~~~~~~~~~^~~~~~ parser.cpp:934:38: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] 934 | if (command_Line !='\0') | ~~~~~~~~~~~~~^~~~~~ parser.cpp:1022:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1022 | list_Dev_Types[i].str = ""; | ^~ parser.cpp:1564:42: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] 1564 | if (command_Line !='\0') | ~~~~~~~~~~~~~^~~~~~ --- setspeed.o --- g++ -O2 -c -I/usr/include/g++ -I. -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -Dtrue=1 -Dfalse=0 -DHORIZONTAL -DNEW_RSC_MGR -DNEW_RSC_HDR -DDEFAULT_PATH=\"/usr/pkg/sbin\" -D_NBSD_LIBEXEC=\"/usr/pkg/sbin\" -D_DPT_FLASH -D_DPT_FREE_BSD -Dunix -D__unix__ -c setspeed.cpp --- scsilist.o --- In file included from get_info.h:342, from trapdef.h:30, from log_core.hpp:33, from scsilist.cpp:24: device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:12:25: note: in expansion of macro 'PACK' 12 | dptCcapacity_S capacity PACK; // Device capacity | ^~~~ device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:13:26: note: in expansion of macro 'PACK' 13 | dptCemuParam_S emulation PACK; // Emulated drive parameters | ^~~~ In file included from trapdef.h:30, from log_core.hpp:33, from scsilist.cpp:24: get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:362:21: note: in expansion of macro 'PACK' 362 | uCHAR p2Flags PACK; // Path 2 flags - see bit definitions above | ^~~~ get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:363:21: note: in expansion of macro 'PACK' 363 | uCHAR reserved4 PACK; // Reserved for future expansion | ^~~~ In file included from get_info.h:735, from trapdef.h:30, from log_core.hpp:33, from scsilist.cpp:24: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:736, from trapdef.h:30, from log_core.hpp:33, from scsilist.cpp:24: hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:9:23: note: in expansion of macro 'PACK' 9 | dptIOaddr_U ioAddr PACK; // EISA/ISA/PCI address | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:15:19: note: in expansion of macro 'PACK' 15 | dptHBAid_U id PACK; // EISA = ID PAL bytes | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:55:42: note: in expansion of macro 'PACK' 55 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK; // SCSI channel info (multi-channel boards) | ^~~~ In file included from get_info.h:802, from trapdef.h:30, from log_core.hpp:33, from scsilist.cpp:24: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:826, from trapdef.h:30, from log_core.hpp:33, from scsilist.cpp:24: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ --- setrate.o --- In file included from get_info.h:342, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from setrate.cpp:21: device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:12:25: note: in expansion of macro 'PACK' 12 | dptCcapacity_S capacity PACK; // Device capacity | ^~~~ device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:13:26: note: in expansion of macro 'PACK' 13 | dptCemuParam_S emulation PACK; // Emulated drive parameters | ^~~~ In file included from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from setrate.cpp:21: get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:362:21: note: in expansion of macro 'PACK' 362 | uCHAR p2Flags PACK; // Path 2 flags - see bit definitions above | ^~~~ get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:363:21: note: in expansion of macro 'PACK' 363 | uCHAR reserved4 PACK; // Reserved for future expansion | ^~~~ In file included from get_info.h:735, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from setrate.cpp:21: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:736, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from setrate.cpp:21: hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:9:23: note: in expansion of macro 'PACK' 9 | dptIOaddr_U ioAddr PACK; // EISA/ISA/PCI address | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:15:19: note: in expansion of macro 'PACK' 15 | dptHBAid_U id PACK; // EISA = ID PAL bytes | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:55:42: note: in expansion of macro 'PACK' 55 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK; // SCSI channel info (multi-channel boards) | ^~~~ In file included from get_info.h:802, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from setrate.cpp:21: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:826, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from setrate.cpp:21: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ --- setcache.o --- In file included from get_info.h:342, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from setcache.hpp:24, from setcache.cpp:22: device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:12:25: note: in expansion of macro 'PACK' 12 | dptCcapacity_S capacity PACK; // Device capacity | ^~~~ device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:13:26: note: in expansion of macro 'PACK' 13 | dptCemuParam_S emulation PACK; // Emulated drive parameters | ^~~~ In file included from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from setcache.hpp:24, from setcache.cpp:22: get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:362:21: note: in expansion of macro 'PACK' 362 | uCHAR p2Flags PACK; // Path 2 flags - see bit definitions above | ^~~~ get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:363:21: note: in expansion of macro 'PACK' 363 | uCHAR reserved4 PACK; // Reserved for future expansion | ^~~~ In file included from get_info.h:735, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from setcache.hpp:24, from setcache.cpp:22: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:736, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from setcache.hpp:24, from setcache.cpp:22: hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:9:23: note: in expansion of macro 'PACK' 9 | dptIOaddr_U ioAddr PACK; // EISA/ISA/PCI address | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:15:19: note: in expansion of macro 'PACK' 15 | dptHBAid_U id PACK; // EISA = ID PAL bytes | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:55:42: note: in expansion of macro 'PACK' 55 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK; // SCSI channel info (multi-channel boards) | ^~~~ In file included from get_info.h:802, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from setcache.hpp:24, from setcache.cpp:22: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:826, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from setcache.hpp:24, from setcache.cpp:22: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ --- parser.o --- *** [parser.o] Error code 1 make[1]: stopped in /pbulk/work/sysutils/dptutil/work/raidmgt-3.31/dptutil --- setspeed.o --- In file included from get_info.h:342, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from setspeed.cpp:21: device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCcapacity_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:12:25: note: in expansion of macro 'PACK' 12 | dptCcapacity_S capacity PACK; // Device capacity | ^~~~ device.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCemuParam_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ device.hh:13:26: note: in expansion of macro 'PACK' 13 | dptCemuParam_S emulation PACK; // Emulated drive parameters | ^~~~ In file included from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from setspeed.cpp:21: get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:362:21: note: in expansion of macro 'PACK' 362 | uCHAR p2Flags PACK; // Path 2 flags - see bit definitions above | ^~~~ get_info.h:347:38: warning: 'packed' attribute ignored for field of type 'uCHAR' {aka 'unsigned char'} [-Wattributes] 347 | # define PACK __attribute__ ((packed)) | ^ get_info.h:363:21: note: in expansion of macro 'PACK' 363 | uCHAR reserved4 PACK; // Reserved for future expansion | ^~~~ In file included from get_info.h:735, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from setspeed.cpp:21: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:736, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from setspeed.cpp:21: hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptIOaddr_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:9:23: note: in expansion of macro 'PACK' 9 | dptIOaddr_U ioAddr PACK; // EISA/ISA/PCI address | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptHBAid_U' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:15:19: note: in expansion of macro 'PACK' 15 | dptHBAid_U id PACK; // EISA = ID PAL bytes | ^~~~ hba.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptChanInfo_S [3]' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ hba.hh:55:42: note: in expansion of macro 'PACK' 55 | dptChanInfo_S chanInfo[NUM_CHAN_INFO] PACK; // SCSI channel info (multi-channel boards) | ^~~~ In file included from get_info.h:802, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from setspeed.cpp:21: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ In file included from get_info.h:826, from dpt_info.h:32, from dpt_api.h:47, from engiface.hpp:32, from command.hpp:28, from setspeed.cpp:21: mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:9:23: note: in expansion of macro 'PACK' 9 | dptCaddr_S maxAddr PACK; // Maximum physical address supported | ^~~~ mgr.hh:4:38: warning: 'packed' attribute ignored for field of type 'dptCaddr_S' [-Wattributes] 4 | # define PACK __attribute__ ((packed)) | ^ mgr.hh:10:23: note: in expansion of macro 'PACK' 10 | dptCaddr_S minAddr PACK; // Minimum physical address supported | ^~~~ --- setrate.o --- setrate.cpp: In member function 'virtual Command::Dpt_Error SetRate::execute(String_List**)': setrate.cpp:212:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 212 | rateString[i++] = ""; | ^~ setrate.cpp:214:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 214 | rateString[i++] = ""; | ^~ setrate.cpp:216:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 216 | rateString[i++] = ""; | ^~ setrate.cpp:218:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 218 | rateString[i++] = ""; | ^~ setrate.cpp:220:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 220 | rateString[i++] = ""; | ^~ 1 error make[1]: stopped in /pbulk/work/sysutils/dptutil/work/raidmgt-3.31/dptutil *** [all] Error code 2 make: stopped in /pbulk/work/sysutils/dptutil/work/raidmgt-3.31 1 error make: stopped in /pbulk/work/sysutils/dptutil/work/raidmgt-3.31 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/sysutils/dptutil *** Error code 1 Stop. make: stopped in /usr/pkgsrc/sysutils/dptutil