Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/ipmitool.spec'], chrootPath='/var/lib/mock/ipmitool-1.8.18-10.el7_9-20220223170847-11284/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1005) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/ipmitool.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/ipmitool-1.8.18-10.el7_9.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/ipmitool.spec'], chrootPath='/var/lib/mock/ipmitool-1.8.18-10.el7_9-20220223170847-11284/root'shell=Falseuid=1005env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/ipmitool.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wH8mxP + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ipmitool-1.8.18 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/ipmitool-1.8.18.tar.bz2 + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd ipmitool-1.8.18 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (0001-ipmitool-1.8.10-ipmievd-init.patch.patch):' Patch #1 (0001-ipmitool-1.8.10-ipmievd-init.patch.patch): + /usr/bin/cat /builddir/build/SOURCES/0001-ipmitool-1.8.10-ipmievd-init.patch.patch + /usr/bin/patch -p1 --fuzz=0 patching file contrib/ipmievd.init.redhat Patch #2 (0002-ipmitool-1.8.10-ipmievd-condrestart.patch.patch): + echo 'Patch #2 (0002-ipmitool-1.8.10-ipmievd-condrestart.patch.patch):' + /usr/bin/cat /builddir/build/SOURCES/0002-ipmitool-1.8.10-ipmievd-condrestart.patch.patch + /usr/bin/patch -p1 --fuzz=0 patching file contrib/ipmievd.init.redhat + echo 'Patch #4 (0004-ipmitool-1.8.11-set-kg-key.patch.patch):' Patch #4 (0004-ipmitool-1.8.11-set-kg-key.patch.patch): + /usr/bin/cat /builddir/build/SOURCES/0004-ipmitool-1.8.11-set-kg-key.patch.patch + /usr/bin/patch -p1 --fuzz=0 patching file doc/ipmitool.1 patching file include/ipmitool/helper.h patching file include/ipmitool/ipmi_channel.h patching file include/ipmitool/ipmi_intf.h patching file lib/ipmi_channel.c patching file src/plugins/ipmi_intf.c Patch #7 (0007-ipmitool-1.8.11-remove-umask0.patch.patch): + echo 'Patch #7 (0007-ipmitool-1.8.11-remove-umask0.patch.patch):' + /usr/bin/cat /builddir/build/SOURCES/0007-ipmitool-1.8.11-remove-umask0.patch.patch + /usr/bin/patch -p1 --fuzz=0 patching file lib/helper.c Hunk #1 succeeded at 829 (offset 171 lines). + echo 'Patch #9 (0009-ipmitool-1.8.11-bz1126333-slowswid.patch.patch):' Patch #9 (0009-ipmitool-1.8.11-bz1126333-slowswid.patch.patch): + /usr/bin/cat /builddir/build/SOURCES/0009-ipmitool-1.8.11-bz1126333-slowswid.patch.patch + /usr/bin/patch -p1 --fuzz=0 patching file lib/ipmi_sdr.c Hunk #1 succeeded at 577 (offset 5 lines). + echo 'Patch #10 (0010-ipmitool-1.8.11-bz878614-overname.patch.patch):' Patch #10 (0010-ipmitool-1.8.11-bz878614-overname.patch.patch): + /usr/bin/cat /builddir/build/SOURCES/0010-ipmitool-1.8.11-bz878614-overname.patch.patch + /usr/bin/patch -p1 --fuzz=0 patching file include/ipmitool/ipmi_sdr.h Patch #13 (0013-lanplus-Cleanup.-Refix-6dec83ff-fix-be2c0c4b.patch): + echo 'Patch #13 (0013-lanplus-Cleanup.-Refix-6dec83ff-fix-be2c0c4b.patch):' + /usr/bin/cat /builddir/build/SOURCES/0013-lanplus-Cleanup.-Refix-6dec83ff-fix-be2c0c4b.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/plugins/lanplus/lanplus.c + echo 'Patch #15 (0015-ID-390-Support-for-new-Communication-Interface-USB-M.patch):' Patch #15 (0015-ID-390-Support-for-new-Communication-Interface-USB-M.patch): + /usr/bin/cat /builddir/build/SOURCES/0015-ID-390-Support-for-new-Communication-Interface-USB-M.patch + /usr/bin/patch -p1 --fuzz=0 patching file configure.ac Patch #16 (0016-ipmitool-1.8.18-verbose.patch): + echo 'Patch #16 (0016-ipmitool-1.8.18-verbose.patch):' + /usr/bin/cat /builddir/build/SOURCES/0016-ipmitool-1.8.18-verbose.patch + /usr/bin/patch -p1 --fuzz=0 patching file lib/ipmi_picmg.c patching file lib/ipmi_vita.c patching file lib/ipmi_main.c Patch #17 (0017-ipmitool-1.8.18-check-input-values.patch): + echo 'Patch #17 (0017-ipmitool-1.8.18-check-input-values.patch):' + /usr/bin/cat /builddir/build/SOURCES/0017-ipmitool-1.8.18-check-input-values.patch + /usr/bin/patch -p1 --fuzz=0 patching file doc/ipmitool.1 patching file lib/ipmi_sol.c + echo 'Patch #18 (0018-CVE-2020-5208.patch):' Patch #18 (0018-CVE-2020-5208.patch): + /usr/bin/cat /builddir/build/SOURCES/0018-CVE-2020-5208.patch + /usr/bin/patch -p1 --fuzz=0 patching file lib/dimm_spd.c patching file lib/ipmi_fru.c patching file lib/ipmi_lanp.c patching file lib/ipmi_sdr.c patching file lib/ipmi_session.c Patch #19 (0019-CVE-2020-5208_2.patch): + echo 'Patch #19 (0019-CVE-2020-5208_2.patch):' + /usr/bin/cat /builddir/build/SOURCES/0019-CVE-2020-5208_2.patch + /usr/bin/patch -p1 --fuzz=0 patching file lib/ipmi_channel.c + for f in AUTHORS ChangeLog + iconv -f iso-8859-1 -t utf8 + mv AUTHORS.utf8 AUTHORS + for f in AUTHORS ChangeLog + iconv -f iso-8859-1 -t utf8 + mv ChangeLog.utf8 ChangeLog + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Et2ZhU + umask 022 + cd /builddir/build/BUILD + cd ipmitool-1.8.18 + aclocal + libtoolize --automake --copy + autoheader + automake --foreign --add-missing --copy + aclocal + autoconf + automake --foreign + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 == 1 ']' + '[' arm == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + ./configure --build=armv7hl-redhat-linux-gnu --host=armv7hl-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing' --disable-dependency-tracking --enable-file-security --disable-intf-free checking build system type... armv7hl-redhat-linux-gnu checking host system type... armv7hl-redhat-linux-gnu checking target system type... armv7hl-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for armv7hl-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for rpmbuild... rpmbuild checking for sed... sed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking for sys/stat.h... (cached) yes checking for unistd.h... (cached) yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/byteorder.h usability... no checking sys/byteorder.h presence... no checking for sys/byteorder.h... no checking byteswap.h usability... yes checking byteswap.h presence... yes checking for byteswap.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether byte ordering is bigendian... no checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking for working strtod... yes checking for alarm... yes checking for gethostbyname... yes checking for getaddrinfo... yes checking for getifaddrs... yes checking for socket... yes checking for select... yes checking for memmove... yes checking for memset... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for getpassphrase... no checking how to print strings... printf checking for a sed that does not truncate output... sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert armv7hl-redhat-linux-gnu file names to armv7hl-redhat-linux-gnu format... func_convert_file_noop checking how to convert armv7hl-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for armv7hl-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for armv7hl-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for armv7hl-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for armv7hl-redhat-linux-gnu-strip... no checking for strip... strip checking for armv7hl-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for armv7hl-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for library containing gethostbyname... none required checking for library containing getaddrinfo... none required checking for library containing getifaddrs... none required checking for library containing socket... none required checking for EVP_aes_128_cbc in -lcrypto... yes checking for EVP_sha256 in -lcrypto... yes checking for MD5_Init in -lcrypto... yes checking for MD2_Init in -lcrypto... yes checking for linux/compiler.h... no checking sys/ioccom.h usability... no checking sys/ioccom.h presence... no checking for sys/ioccom.h... no checking linux/ipmi.h usability... yes checking linux/ipmi.h presence... yes checking for linux/ipmi.h... yes checking for ipmi_open_inband in -lfreeipmi... no checking for ipmi_ctx_open_inband in -lfreeipmi... no checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for OpenIPMI dual bridge support... no checking sys/lipmi/lipmi_intf.h usability... no checking sys/lipmi/lipmi_intf.h presence... no checking for sys/lipmi/lipmi_intf.h... no ** Unable to build Solaris 9 x86 IPMI interface support! checking for library containing tgetent... -ltinfo checking for library containing initscr... -lncurses checking for library containing readline... -lreadline checking for library containing tgetent... (cached) -ltinfo checking for library containing initscr... (cached) -lncurses checking for library containing readline... (cached) -lreadline checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating contrib/Makefile config.status: creating control/Makefile config.status: creating control/pkginfo config.status: creating control/prototype config.status: creating control/rpmmacros config.status: creating control/ipmitool.spec config.status: creating lib/Makefile config.status: creating include/Makefile config.status: creating include/ipmitool/Makefile config.status: creating src/Makefile config.status: creating src/plugins/Makefile config.status: creating src/plugins/lan/Makefile config.status: creating src/plugins/lanplus/Makefile config.status: creating src/plugins/open/Makefile config.status: creating src/plugins/free/Makefile config.status: creating src/plugins/imb/Makefile config.status: creating src/plugins/bmc/Makefile config.status: creating src/plugins/usb/Makefile config.status: creating src/plugins/lipmi/Makefile config.status: creating src/plugins/serial/Makefile config.status: creating src/plugins/dummy/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands ipmitool 1.8.18 Interfaces lan : yes lanplus : yes open : yes free : no imb : yes bmc : no usb : yes lipmi : no serial : yes dummy : no Extra tools ipmievd : yes ipmishell : yes + make -j4 (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /builddir/build/BUILD/ipmitool-1.8.18/missing autoheader) rm -f stamp-h1 touch config.h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged make all-recursive make[1]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18' Making all in lib make[2]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/lib' /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o helper.lo helper.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sdr.lo ipmi_sdr.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sel.lo ipmi_sel.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sol.lo ipmi_sol.c In file included from helper.c:66:0: ../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ In file included from ipmi_sol.c:62:0: ../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ipmi_sol.c: In function 'ipmi_sol_set_param_isvalid_uint8_t': In file included from ipmi_sel.c:44:0: ../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ipmi_sol.c:659:10: warning: unused parameter 'base' [-Wunused-parameter] int base, ^ In file included from ../include/ipmitool/ipmi.h:41:0, from helper.c:66: helper.c: In function 'str2val': ../include/ipmitool/helper.h:130:25: warning: ISO C forbids braced-groups within expressions [-Wpedantic] # define __maxlen(a, b) ({ int x=strlen(a); int y=strlen(b); (x > y) ? x : y;}) ^ helper.c:567:35: note: in expansion of macro '__maxlen' if (strncasecmp(vs[i].str, str, __maxlen(str, vs[i].str)) == 0) ^ In file included from ../include/ipmitool/ipmi_sdr.h:44:0, from ../include/ipmitool/ipmi_sel.h:38, from ipmi_sel.c:47: ../include/ipmitool/ipmi_entity.h:45:2: warning: type of bit-field 'instance' is a GCC extension [-Wpedantic] uint8_t instance : 7; /* instance number */ ^ ../include/ipmitool/ipmi_entity.h:46:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical : 1; /* physical/logical */ ^ In file included from ../include/ipmitool/ipmi_sel.h:38:0, from ipmi_sel.c:47: ../include/ipmitool/ipmi_sdr.h:215:4: warning: type of bit-field 'assert_lnc_low' is a GCC extension [-Wpedantic] uint16_t assert_lnc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:216:4: warning: type of bit-field 'assert_lnc_high' is a GCC extension [-Wpedantic] uint16_t assert_lnc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:217:4: warning: type of bit-field 'assert_lcr_low' is a GCC extension [-Wpedantic] uint16_t assert_lcr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:218:4: warning: type of bit-field 'assert_lcr_high' is a GCC extension [-Wpedantic] uint16_t assert_lcr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:219:4: warning: type of bit-field 'assert_lnr_low' is a GCC extension [-Wpedantic] uint16_t assert_lnr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:220:4: warning: type of bit-field 'assert_lnr_high' is a GCC extension [-Wpedantic] uint16_t assert_lnr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:221:4: warning: type of bit-field 'assert_unc_low' is a GCC extension [-Wpedantic] uint16_t assert_unc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:222:4: warning: type of bit-field 'assert_unc_high' is a GCC extension [-Wpedantic] uint16_t assert_unc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:223:4: warning: type of bit-field 'assert_ucr_low' is a GCC extension [-Wpedantic] uint16_t assert_ucr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:224:4: warning: type of bit-field 'assert_ucr_high' is a GCC extension [-Wpedantic] uint16_t assert_ucr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:225:4: warning: type of bit-field 'assert_unr_low' is a GCC extension [-Wpedantic] uint16_t assert_unr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:226:4: warning: type of bit-field 'assert_unr_high' is a GCC extension [-Wpedantic] uint16_t assert_unr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:227:4: warning: type of bit-field 'status_lnc' is a GCC extension [-Wpedantic] uint16_t status_lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:228:4: warning: type of bit-field 'status_lcr' is a GCC extension [-Wpedantic] uint16_t status_lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:229:4: warning: type of bit-field 'status_lnr' is a GCC extension [-Wpedantic] uint16_t status_lnr:1; ^ helper.c: In function 'ipmi_start_daemon': helper.c:831:7: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^ helper.c:840:5: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(fd); ^ helper.c:841:5: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(fd); ^ ../include/ipmitool/ipmi_sdr.h:230:4: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:1; ^ ../include/ipmitool/ipmi_sdr.h:250:4: warning: type of bit-field 'deassert_lnc_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:251:4: warning: type of bit-field 'deassert_lnc_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:252:4: warning: type of bit-field 'deassert_lcr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:253:4: warning: type of bit-field 'deassert_lcr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:254:4: warning: type of bit-field 'deassert_lnr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:255:4: warning: type of bit-field 'deassert_lnr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:256:4: warning: type of bit-field 'deassert_unc_low' is a GCC extension [-Wpedantic] uint16_t deassert_unc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:257:4: warning: type of bit-field 'deassert_unc_high' is a GCC extension [-Wpedantic] uint16_t deassert_unc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:258:4: warning: type of bit-field 'deassert_ucr_low' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:259:4: warning: type of bit-field 'deassert_ucr_high' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:260:4: warning: type of bit-field 'deassert_unr_low' is a GCC extension [-Wpedantic] uint16_t deassert_unr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:261:4: warning: type of bit-field 'deassert_unr_high' is a GCC extension [-Wpedantic] uint16_t deassert_unr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:262:4: warning: type of bit-field 'status_unc' is a GCC extension [-Wpedantic] uint16_t status_unc:1; ^ ../include/ipmitool/ipmi_sdr.h:263:4: warning: type of bit-field 'status_ucr' is a GCC extension [-Wpedantic] uint16_t status_ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:264:4: warning: type of bit-field 'status_unr' is a GCC extension [-Wpedantic] uint16_t status_unr:1; ^ ../include/ipmitool/ipmi_sdr.h:265:4: warning: type of bit-field 'reserved_2' is a GCC extension [-Wpedantic] uint16_t reserved_2:1; ^ ../include/ipmitool/ipmi_sdr.h:280:6: warning: type of bit-field 'readable' is a GCC extension [-Wpedantic] uint16_t readable:8; ^ ../include/ipmitool/ipmi_sdr.h:281:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:282:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:283:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:284:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../include/ipmitool/ipmi_sdr.h:285:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:286:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_sdr.h:287:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:302:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:303:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:304:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:305:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../include/ipmitool/ipmi_sdr.h:306:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:307:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_sdr.h:308:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ In file included from ipmi_sdr.c:45:0: ../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../include/ipmitool/ipmi_sdr.h:309:6: warning: type of bit-field 'settable' is a GCC extension [-Wpedantic] uint16_t settable:8; ^ ../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ../include/ipmitool/ipmi_sdr.h:331:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:332:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:333:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ In file included from ../include/ipmitool/ipmi_sdr.h:44:0, from ipmi_sdr.c:48: ../include/ipmitool/ipmi_entity.h:45:2: warning: type of bit-field 'instance' is a GCC extension [-Wpedantic] uint8_t instance : 7; /* instance number */ ^ ../include/ipmitool/ipmi_entity.h:46:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical : 1; /* physical/logical */ ^ In file included from ipmi_sdr.c:48:0: ../include/ipmitool/ipmi_sdr.h:215:4: warning: type of bit-field 'assert_lnc_low' is a GCC extension [-Wpedantic] uint16_t assert_lnc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:216:4: warning: type of bit-field 'assert_lnc_high' is a GCC extension [-Wpedantic] uint16_t assert_lnc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:217:4: warning: type of bit-field 'assert_lcr_low' is a GCC extension [-Wpedantic] uint16_t assert_lcr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:218:4: warning: type of bit-field 'assert_lcr_high' is a GCC extension [-Wpedantic] uint16_t assert_lcr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:219:4: warning: type of bit-field 'assert_lnr_low' is a GCC extension [-Wpedantic] uint16_t assert_lnr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:220:4: warning: type of bit-field 'assert_lnr_high' is a GCC extension [-Wpedantic] uint16_t assert_lnr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:221:4: warning: type of bit-field 'assert_unc_low' is a GCC extension [-Wpedantic] uint16_t assert_unc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:222:4: warning: type of bit-field 'assert_unc_high' is a GCC extension [-Wpedantic] uint16_t assert_unc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:223:4: warning: type of bit-field 'assert_ucr_low' is a GCC extension [-Wpedantic] uint16_t assert_ucr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:224:4: warning: type of bit-field 'assert_ucr_high' is a GCC extension [-Wpedantic] uint16_t assert_ucr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:225:4: warning: type of bit-field 'assert_unr_low' is a GCC extension [-Wpedantic] uint16_t assert_unr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:226:4: warning: type of bit-field 'assert_unr_high' is a GCC extension [-Wpedantic] uint16_t assert_unr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:227:4: warning: type of bit-field 'status_lnc' is a GCC extension [-Wpedantic] uint16_t status_lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:228:4: warning: type of bit-field 'status_lcr' is a GCC extension [-Wpedantic] uint16_t status_lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:229:4: warning: type of bit-field 'status_lnr' is a GCC extension [-Wpedantic] uint16_t status_lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:230:4: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:1; ^ ../include/ipmitool/ipmi_sdr.h:250:4: warning: type of bit-field 'deassert_lnc_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:251:4: warning: type of bit-field 'deassert_lnc_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:252:4: warning: type of bit-field 'deassert_lcr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:253:4: warning: type of bit-field 'deassert_lcr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:254:4: warning: type of bit-field 'deassert_lnr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:255:4: warning: type of bit-field 'deassert_lnr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:256:4: warning: type of bit-field 'deassert_unc_low' is a GCC extension [-Wpedantic] uint16_t deassert_unc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:257:4: warning: type of bit-field 'deassert_unc_high' is a GCC extension [-Wpedantic] uint16_t deassert_unc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:258:4: warning: type of bit-field 'deassert_ucr_low' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:259:4: warning: type of bit-field 'deassert_ucr_high' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:260:4: warning: type of bit-field 'deassert_unr_low' is a GCC extension [-Wpedantic] uint16_t deassert_unr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:261:4: warning: type of bit-field 'deassert_unr_high' is a GCC extension [-Wpedantic] uint16_t deassert_unr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:262:4: warning: type of bit-field 'status_unc' is a GCC extension [-Wpedantic] uint16_t status_unc:1; ^ ../include/ipmitool/ipmi_sdr.h:263:4: warning: type of bit-field 'status_ucr' is a GCC extension [-Wpedantic] uint16_t status_ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:264:4: warning: type of bit-field 'status_unr' is a GCC extension [-Wpedantic] uint16_t status_unr:1; ^ ../include/ipmitool/ipmi_sdr.h:265:4: warning: type of bit-field 'reserved_2' is a GCC extension [-Wpedantic] uint16_t reserved_2:1; ^ ../include/ipmitool/ipmi_sdr.h:280:6: warning: type of bit-field 'readable' is a GCC extension [-Wpedantic] uint16_t readable:8; ^ ../include/ipmitool/ipmi_sdr.h:281:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:282:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:283:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:284:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../include/ipmitool/ipmi_sdr.h:285:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:286:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_sdr.h:287:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:302:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:303:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:304:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:305:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../include/ipmitool/ipmi_sdr.h:306:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:307:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_sdr.h:308:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:309:6: warning: type of bit-field 'settable' is a GCC extension [-Wpedantic] uint16_t settable:8; ^ ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ../include/ipmitool/ipmi_sdr.h:331:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:332:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:333:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../include/ipmitool/ipmi_sdr.h:352:4: warning: type of bit-field 'sensor_scan' is a GCC extension [-Wpedantic] uint8_t sensor_scan:1; ^ ../include/ipmitool/ipmi_sdr.h:353:4: warning: type of bit-field 'event_gen' is a GCC extension [-Wpedantic] uint8_t event_gen:1; ^ ../include/ipmitool/ipmi_sdr.h:354:4: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] uint8_t type:1; ^ ../include/ipmitool/ipmi_sdr.h:355:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:1; ^ ../include/ipmitool/ipmi_sdr.h:356:4: warning: type of bit-field 'thresholds' is a GCC extension [-Wpedantic] uint8_t thresholds:1; ^ ../include/ipmitool/ipmi_sdr.h:357:4: warning: type of bit-field 'events' is a GCC extension [-Wpedantic] uint8_t events:1; ^ ../include/ipmitool/ipmi_sdr.h:358:4: warning: type of bit-field 'scanning' is a GCC extension [-Wpedantic] uint8_t scanning:1; ^ ../include/ipmitool/ipmi_sdr.h:359:4: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:1; ^ ../include/ipmitool/ipmi_sdr.h:370:4: warning: type of bit-field 'event_msg' is a GCC extension [-Wpedantic] uint8_t event_msg:2; ^ ../include/ipmitool/ipmi_sdr.h:371:4: warning: type of bit-field 'threshold' is a GCC extension [-Wpedantic] uint8_t threshold:2; ^ ../include/ipmitool/ipmi_sdr.h:372:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:2; ^ ../include/ipmitool/ipmi_sdr.h:373:4: warning: type of bit-field 'rearm' is a GCC extension [-Wpedantic] uint8_t rearm:1; ^ ../include/ipmitool/ipmi_sdr.h:374:4: warning: type of bit-field 'ignore' is a GCC extension [-Wpedantic] uint8_t ignore:1; ^ ../include/ipmitool/ipmi_sdr.h:391:3: warning: type of bit-field 'pct' is a GCC extension [-Wpedantic] uint8_t pct:1; ^ ../include/ipmitool/ipmi_sdr.h:392:3: warning: type of bit-field 'modifier' is a GCC extension [-Wpedantic] uint8_t modifier:2; ^ ../include/ipmitool/ipmi_sdr.h:393:3: warning: type of bit-field 'rate' is a GCC extension [-Wpedantic] uint8_t rate:3; ^ ../include/ipmitool/ipmi_sdr.h:394:3: warning: type of bit-field 'analog' is a GCC extension [-Wpedantic] uint8_t analog:2; ^ ../include/ipmitool/ipmi_sdr.h:422:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../include/ipmitool/ipmi_sdr.h:423:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../include/ipmitool/ipmi_sdr.h:424:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:430:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../include/ipmitool/ipmi_sdr.h:431:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../include/ipmitool/ipmi_sdr.h:462:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:463:3: warning: type of bit-field 'fru_owner' is a GCC extension [-Wpedantic] uint8_t fru_owner:2; /* fru device owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:464:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../include/ipmitool/ipmi_sdr.h:480:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../include/ipmitool/ipmi_sdr.h:481:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../include/ipmitool/ipmi_sdr.h:482:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:488:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../include/ipmitool/ipmi_sdr.h:489:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../include/ipmitool/ipmi_sdr.h:534:3: warning: type of bit-field 'nominal_read' is a GCC extension [-Wpedantic] uint8_t nominal_read:1; /* nominal reading field specified */ ^ ../include/ipmitool/ipmi_sdr.h:535:3: warning: type of bit-field 'normal_max' is a GCC extension [-Wpedantic] uint8_t normal_max:1; /* normal max field specified */ ^ ../include/ipmitool/ipmi_sdr.h:536:3: warning: type of bit-field 'normal_min' is a GCC extension [-Wpedantic] uint8_t normal_min:1; /* normal min field specified */ ^ ../include/ipmitool/ipmi_sdr.h:537:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_sdr.h:581:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_sdr.h:582:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:4; ^ ../include/ipmitool/ipmi_sdr.h:589:2: warning: type of bit-field 'global_init' is a GCC extension [-Wpedantic] uint8_t global_init:4; ^ ../include/ipmitool/ipmi_sdr.h:590:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:1; ^ ../include/ipmitool/ipmi_sdr.h:591:2: warning: type of bit-field 'pwr_state_notif' is a GCC extension [-Wpedantic] uint8_t pwr_state_notif:3; ^ ../include/ipmitool/ipmi_sdr.h:613:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../include/ipmitool/ipmi_sdr.h:614:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_sdr.h:615:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:2; ^ ../include/ipmitool/ipmi_sdr.h:616:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical:1; ^ ../include/ipmitool/ipmi_sdr.h:622:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:4; ^ ../include/ipmitool/ipmi_sdr.h:623:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_sdr.h:648:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../include/ipmitool/ipmi_sdr.h:649:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_sdr.h:650:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:3; ^ ../include/ipmitool/ipmi_sdr.h:656:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:5; ^ ../include/ipmitool/ipmi_sdr.h:657:2: warning: type of bit-field 'addr_span' is a GCC extension [-Wpedantic] uint8_t addr_span:3; ^ ../include/ipmitool/ipmi_sdr.h:683:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_sdr.h:684:3: warning: type of bit-field 'isaccessable' is a GCC extension [-Wpedantic] uint8_t isaccessable:1; ^ ../include/ipmitool/ipmi_sdr.h:685:3: warning: type of bit-field 'islinked' is a GCC extension [-Wpedantic] uint8_t islinked:1; ^ ../include/ipmitool/ipmi_sdr.h:352:4: warning: type of bit-field 'sensor_scan' is a GCC extension [-Wpedantic] uint8_t sensor_scan:1; ^ ../include/ipmitool/ipmi_sdr.h:686:3: warning: type of bit-field 'isrange' is a GCC extension [-Wpedantic] uint8_t isrange:1; ^ ../include/ipmitool/ipmi_sdr.h:353:4: warning: type of bit-field 'event_gen' is a GCC extension [-Wpedantic] uint8_t event_gen:1; ^ ../include/ipmitool/ipmi_sdr.h:354:4: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] uint8_t type:1; ^ ../include/ipmitool/ipmi_sdr.h:355:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:1; ^ ../include/ipmitool/ipmi_sdr.h:730:2: warning: type of bit-field 'get_sdr_repository_allo_info_supported' is a GCC extension [-Wpedantic] uint8_t get_sdr_repository_allo_info_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:356:4: warning: type of bit-field 'thresholds' is a GCC extension [-Wpedantic] uint8_t thresholds:1; ^ ../include/ipmitool/ipmi_sdr.h:357:4: warning: type of bit-field 'events' is a GCC extension [-Wpedantic] uint8_t events:1; ^ ../include/ipmitool/ipmi_sdr.h:731:2: warning: type of bit-field 'reserve_sdr_repository_supported' is a GCC extension [-Wpedantic] uint8_t reserve_sdr_repository_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:358:4: warning: type of bit-field 'scanning' is a GCC extension [-Wpedantic] uint8_t scanning:1; ^ ../include/ipmitool/ipmi_sdr.h:359:4: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:1; ^ ../include/ipmitool/ipmi_sdr.h:732:2: warning: type of bit-field 'partial_add_sdr_supported' is a GCC extension [-Wpedantic] uint8_t partial_add_sdr_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:733:2: warning: type of bit-field 'delete_sdr_supported' is a GCC extension [-Wpedantic] uint8_t delete_sdr_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:370:4: warning: type of bit-field 'event_msg' is a GCC extension [-Wpedantic] uint8_t event_msg:2; ^ ../include/ipmitool/ipmi_sdr.h:371:4: warning: type of bit-field 'threshold' is a GCC extension [-Wpedantic] uint8_t threshold:2; ^ ../include/ipmitool/ipmi_sdr.h:734:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:1; ^ ../include/ipmitool/ipmi_sdr.h:372:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:2; ^ ../include/ipmitool/ipmi_sdr.h:735:2: warning: type of bit-field 'modal_update_support' is a GCC extension [-Wpedantic] uint8_t modal_update_support:2; ^ ../include/ipmitool/ipmi_sdr.h:373:4: warning: type of bit-field 'rearm' is a GCC extension [-Wpedantic] uint8_t rearm:1; ^ ../include/ipmitool/ipmi_sdr.h:374:4: warning: type of bit-field 'ignore' is a GCC extension [-Wpedantic] uint8_t ignore:1; ^ ../include/ipmitool/ipmi_sdr.h:736:2: warning: type of bit-field 'overflow_flag' is a GCC extension [-Wpedantic] uint8_t overflow_flag:1; ^ ../include/ipmitool/ipmi_sdr.h:391:3: warning: type of bit-field 'pct' is a GCC extension [-Wpedantic] uint8_t pct:1; ^ ../include/ipmitool/ipmi_sdr.h:392:3: warning: type of bit-field 'modifier' is a GCC extension [-Wpedantic] uint8_t modifier:2; ^ ../include/ipmitool/ipmi_sdr.h:393:3: warning: type of bit-field 'rate' is a GCC extension [-Wpedantic] uint8_t rate:3; ^ ../include/ipmitool/ipmi_sdr.h:394:3: warning: type of bit-field 'analog' is a GCC extension [-Wpedantic] uint8_t analog:2; ^ ../include/ipmitool/ipmi_sdr.h:422:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../include/ipmitool/ipmi_sdr.h:423:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../include/ipmitool/ipmi_sdr.h:424:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:430:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../include/ipmitool/ipmi_sdr.h:431:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../include/ipmitool/ipmi_sdr.h:462:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:463:3: warning: type of bit-field 'fru_owner' is a GCC extension [-Wpedantic] uint8_t fru_owner:2; /* fru device owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:464:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../include/ipmitool/ipmi_sdr.h:480:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../include/ipmitool/ipmi_sdr.h:481:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ In file included from ipmi_sdr.c:52:0: ../include/ipmitool/ipmi_sel.h:83:2: warning: type of bit-field 'event_type' is a GCC extension [-Wpedantic] uint8_t event_type : 7; ^ ../include/ipmitool/ipmi_sel.h:84:2: warning: type of bit-field 'event_dir' is a GCC extension [-Wpedantic] uint8_t event_dir : 1; ^ ../include/ipmitool/ipmi_sdr.h:482:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:488:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../include/ipmitool/ipmi_sdr.h:489:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../include/ipmitool/ipmi_sdr.h:534:3: warning: type of bit-field 'nominal_read' is a GCC extension [-Wpedantic] uint8_t nominal_read:1; /* nominal reading field specified */ ^ ../include/ipmitool/ipmi_sdr.h:535:3: warning: type of bit-field 'normal_max' is a GCC extension [-Wpedantic] uint8_t normal_max:1; /* normal max field specified */ ^ ../include/ipmitool/ipmi_sdr.h:536:3: warning: type of bit-field 'normal_min' is a GCC extension [-Wpedantic] uint8_t normal_min:1; /* normal min field specified */ ^ ../include/ipmitool/ipmi_sdr.h:537:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_sdr.h:581:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_sdr.h:582:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:4; ^ ../include/ipmitool/ipmi_sdr.h:589:2: warning: type of bit-field 'global_init' is a GCC extension [-Wpedantic] uint8_t global_init:4; ^ ../include/ipmitool/ipmi_sdr.h:590:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:1; ^ ../include/ipmitool/ipmi_sdr.h:591:2: warning: type of bit-field 'pwr_state_notif' is a GCC extension [-Wpedantic] uint8_t pwr_state_notif:3; ^ ../include/ipmitool/ipmi_sdr.h:613:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../include/ipmitool/ipmi_sdr.h:614:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_sdr.h:615:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:2; ^ ../include/ipmitool/ipmi_sdr.h:616:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical:1; ^ ../include/ipmitool/ipmi_sdr.h:622:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:4; ^ ../include/ipmitool/ipmi_sdr.h:623:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_sdr.h:648:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../include/ipmitool/ipmi_sdr.h:649:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_sdr.h:650:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:3; ^ ../include/ipmitool/ipmi_sdr.h:656:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:5; ^ ../include/ipmitool/ipmi_sdr.h:657:2: warning: type of bit-field 'addr_span' is a GCC extension [-Wpedantic] uint8_t addr_span:3; ^ ../include/ipmitool/ipmi_sdr.h:683:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_sdr.h:684:3: warning: type of bit-field 'isaccessable' is a GCC extension [-Wpedantic] uint8_t isaccessable:1; ^ ../include/ipmitool/ipmi_sdr.h:685:3: warning: type of bit-field 'islinked' is a GCC extension [-Wpedantic] uint8_t islinked:1; ^ ../include/ipmitool/ipmi_sdr.h:686:3: warning: type of bit-field 'isrange' is a GCC extension [-Wpedantic] uint8_t isrange:1; ^ ../include/ipmitool/ipmi_sdr.h:730:2: warning: type of bit-field 'get_sdr_repository_allo_info_supported' is a GCC extension [-Wpedantic] uint8_t get_sdr_repository_allo_info_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:731:2: warning: type of bit-field 'reserve_sdr_repository_supported' is a GCC extension [-Wpedantic] uint8_t reserve_sdr_repository_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:732:2: warning: type of bit-field 'partial_add_sdr_supported' is a GCC extension [-Wpedantic] uint8_t partial_add_sdr_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:733:2: warning: type of bit-field 'delete_sdr_supported' is a GCC extension [-Wpedantic] uint8_t delete_sdr_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:734:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:1; ^ ../include/ipmitool/ipmi_sdr.h:735:2: warning: type of bit-field 'modal_update_support' is a GCC extension [-Wpedantic] uint8_t modal_update_support:2; ^ ../include/ipmitool/ipmi_sdr.h:736:2: warning: type of bit-field 'overflow_flag' is a GCC extension [-Wpedantic] uint8_t overflow_flag:1; ^ ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_mc_locator': In file included from ipmi_sel.c:47:0: ../include/ipmitool/ipmi_sel.h:83:2: warning: type of bit-field 'event_type' is a GCC extension [-Wpedantic] uint8_t event_type : 7; ^ ../include/ipmitool/ipmi_sel.h:84:2: warning: type of bit-field 'event_dir' is a GCC extension [-Wpedantic] uint8_t event_dir : 1; ^ ipmi_sdr.c:2131:52: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_sdr_print_sensor_mc_locator(struct ipmi_intf *intf, ^ ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_generic_locator': ipmi_sdr.c:2227:57: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_sdr_print_sensor_generic_locator(struct ipmi_intf *intf, ^ ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_fru_locator': ipmi_sdr.c:2284:53: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_sdr_print_sensor_fru_locator(struct ipmi_intf *intf, ^ ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_entity_assoc': ipmi_sdr.c:2343:54: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_sdr_print_sensor_entity_assoc(struct ipmi_intf *intf, ^ ipmi_sdr.c:2344:40: warning: unused parameter 'assoc' [-Wunused-parameter] struct sdr_record_entity_assoc *assoc) ^ In file included from ipmi_sel.c:50:0: ../include/ipmitool/ipmi_fru.h:65:2: warning: type of bit-field 'access' is a GCC extension [-Wpedantic] uint8_t access:1; ^ ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ ../include/ipmitool/ipmi_fru.h:153:2: warning: type of bit-field 'capacity' is a GCC extension [-Wpedantic] uint16_t capacity:12; ^ ../include/ipmitool/ipmi_fru.h:154:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint16_t __reserved1:4; ^ ../include/ipmitool/ipmi_fru.h:174:2: warning: type of bit-field 'predictive_fail' is a GCC extension [-Wpedantic] uint8_t predictive_fail:1; ^ ../include/ipmitool/ipmi_fru.h:175:2: warning: type of bit-field 'pfc' is a GCC extension [-Wpedantic] uint8_t pfc:1; ^ ../include/ipmitool/ipmi_fru.h:176:2: warning: type of bit-field 'autoswitch' is a GCC extension [-Wpedantic] uint8_t autoswitch:1; ^ ../include/ipmitool/ipmi_fru.h:177:2: warning: type of bit-field 'hotswap' is a GCC extension [-Wpedantic] uint8_t hotswap:1; ^ ../include/ipmitool/ipmi_fru.h:178:2: warning: type of bit-field 'tach' is a GCC extension [-Wpedantic] uint8_t tach:1; ^ ../include/ipmitool/ipmi_fru.h:179:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:3; ^ ../include/ipmitool/ipmi_fru.h:186:2: warning: type of bit-field 'combined_voltage2' is a GCC extension [-Wpedantic] uint8_t combined_voltage2:4; ^ ../include/ipmitool/ipmi_fru.h:187:2: warning: type of bit-field 'combined_voltage1' is a GCC extension [-Wpedantic] uint8_t combined_voltage1:4; ^ ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_oem_intel': ../include/ipmitool/ipmi_fru.h:208:2: warning: type of bit-field 'output_number' is a GCC extension [-Wpedantic] uint8_t output_number:4; ^ ../include/ipmitool/ipmi_fru.h:209:2: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:3; ^ ../include/ipmitool/ipmi_fru.h:210:2: warning: type of bit-field 'standby' is a GCC extension [-Wpedantic] uint8_t standby:1; ^ ipmi_sdr.c:2358:51: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_sdr_print_sensor_oem_intel(struct ipmi_intf *intf, ^ ../include/ipmitool/ipmi_fru.h:231:2: warning: type of bit-field 'output_number' is a GCC extension [-Wpedantic] uint8_t output_number:4; ^ ../include/ipmitool/ipmi_fru.h:232:2: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:4; ^ ipmi_sdr.c: In function 'ipmi_sdr_print_name_from_rawentry': ../include/ipmitool/ipmi_fru.h:374:2: warning: type of bit-field 'asymetricMatch' is a GCC extension [-Wpedantic] unsigned char asymetricMatch:2; ^ ipmi_sdr.c:2502:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] id_string = record.full->id_string; ^ ../include/ipmitool/ipmi_fru.h:375:2: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] unsigned char reserved:6; ^ ../include/ipmitool/ipmi_fru.h:486:2: warning: type of bit-field 'remote_port' is a GCC extension [-Wpedantic] unsigned short remote_port:5; ^ ipmi_sdr.c:2508:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] id_string = record.compact->id_string; ^ ../include/ipmitool/ipmi_fru.h:487:2: warning: type of bit-field 'local_port' is a GCC extension [-Wpedantic] unsigned short local_port:5; ^ ../include/ipmitool/ipmi_fru.h:488:2: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] unsigned short reserved:6; ^ ../include/ipmitool/ipmi_fru.h:505:2: warning: type of bit-field 'resource_id' is a GCC extension [-Wpedantic] unsigned char resource_id :4; ^ ipmi_sdr.c:2514:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] id_string = record.eventonly->id_string; ^ ../include/ipmitool/ipmi_fru.h:506:2: warning: type of bit-field '' is a GCC extension [-Wpedantic] unsigned char /* reserved */ :3; ^ ../include/ipmitool/ipmi_fru.h:507:2: warning: type of bit-field 'record_type' is a GCC extension [-Wpedantic] unsigned char record_type :1; ^ ipmi_sdr.c:2520:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] id_string = record.mcloc->id_string; ^ ipmi_sdr.c:2478:53: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_sdr_print_name_from_rawentry(struct ipmi_intf *intf, uint16_t id, ^ ipmi_sel.c: In function 'ipmi_sel_oem_readval': ipmi_sel.c:87:2: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'int *' [-Wformat=] if (sscanf(str, "0x%x", &ret) != 1) { ^ ipmi_sdr.c: In function 'ipmi_sdr_end': ipmi_sel.c: In function 'ipmi_sel_oem_message': ipmi_sel.c:196:69: warning: unused parameter 'verbose' [-Wunused-parameter] static void ipmi_sel_oem_message(struct sel_event_record * evt, int verbose) ^ ipmi_sdr.c:3089:32: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_sdr_end(struct ipmi_intf *intf, struct ipmi_sdr_iterator *itr) ^ ipmi_sel.c: In function 'get_kontron_evt_desc': ipmi_sel.c:457:40: warning: unused parameter 'intf' [-Wunused-parameter] get_kontron_evt_desc(struct ipmi_intf *intf, struct sel_event_record * rec) ^ ipmi_sdr.c: In function 'ipmi_sdr_list_cache_fromfile': ipmi_sdr.c:3935:48: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_sdr_list_cache_fromfile(struct ipmi_intf *intf, const char *ifile) ^ In file included from ../include/ipmitool/ipmi.h:41:0, from ipmi_sdr.c:45: ipmi_sdr.c: In function 'ipmi_sdr_get_info': ../include/ipmitool/helper.h:118:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_sdr.c:4217:9: note: in expansion of macro '__min' __min(sizeof (struct get_sdr_repository_info_rsp), ^ ../include/ipmitool/helper.h:118:40: warning: signed and unsigned type in conditional expression [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_sdr.c:4217:9: note: in expansion of macro '__min' __min(sizeof (struct get_sdr_repository_info_rsp), ^ In file included from ipmi_sel.c:48:0: ipmi_sel.c: At top level: ../include/ipmitool/ipmi_sel_supermicro.h:37:17: warning: 'supermicro_x11' defined but not used [-Wunused-variable] static uint16_t supermicro_x11[] = { ^ ../include/ipmitool/ipmi_sel_supermicro.h:43:17: warning: 'supermicro_b11' defined but not used [-Wunused-variable] static uint16_t supermicro_b11[] = { ^ ../include/ipmitool/ipmi_sel_supermicro.h:47:17: warning: 'supermicro_b2' defined but not used [-Wunused-variable] static uint16_t supermicro_b2[] = { ^ ../include/ipmitool/ipmi_sel_supermicro.h:68:17: warning: 'supermicro_x9dal' defined but not used [-Wunused-variable] static uint16_t supermicro_x9dal[] = { ^ ../include/ipmitool/ipmi_sel_supermicro.h:72:17: warning: 'supermicro_x9db' defined but not used [-Wunused-variable] static uint16_t supermicro_x9db[] = { ^ ../include/ipmitool/ipmi_sel_supermicro.h:76:17: warning: 'supermicro_x9sb' defined but not used [-Wunused-variable] static uint16_t supermicro_x9sb[] = { ^ ../include/ipmitool/ipmi_sel_supermicro.h:99:17: warning: 'supermicro_b8' defined but not used [-Wunused-variable] static uint16_t supermicro_b8[] = { ^ ../include/ipmitool/ipmi_sel_supermicro.h:103:17: warning: 'supermicro_h8' defined but not used [-Wunused-variable] static uint16_t supermicro_h8[] = { ^ ../include/ipmitool/ipmi_sel_supermicro.h:110:17: warning: 'supermicro_p8' defined but not used [-Wunused-variable] static uint16_t supermicro_p8[] = { ^ ../include/ipmitool/ipmi_sel_supermicro.h:114:17: warning: 'supermicro_x8' defined but not used [-Wunused-variable] static uint16_t supermicro_x8[] = { ^ ipmi_sdr.c: In function 'ipmi_sdr_print_type': ../include/ipmitool/helper.h:130:25: warning: ISO C forbids braced-groups within expressions [-Wpedantic] # define __maxlen(a, b) ({ int x=strlen(a); int y=strlen(b); (x > y) ? x : y;}) ^ ipmi_sdr.c:4487:6: note: in expansion of macro '__maxlen' __maxlen(type, ^ ipmi_sdr.c: In function 'ipmi_sdr_print_entity': ../include/ipmitool/helper.h:130:25: warning: ISO C forbids braced-groups within expressions [-Wpedantic] # define __maxlen(a, b) ({ int x=strlen(a); int y=strlen(b); (x > y) ? x : y;}) ^ ipmi_sdr.c:4552:7: note: in expansion of macro '__maxlen' __maxlen(entitystr, entity_id_vals[i].str)) == 0) { ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_pef.lo ipmi_pef.c In file included from ipmi_pef.c:39:0: ../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ In file included from ipmi_pef.c:40:0: ../include/ipmitool/ipmi_channel.h:98:2: warning: type of bit-field 'enabled_auth_types' is a GCC extension [-Wpedantic] uint8_t enabled_auth_types : 6; /* IPMI v1.5 enabled auth types */ ^ ../include/ipmitool/ipmi_channel.h:99:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1 : 1; ^ ../include/ipmitool/ipmi_channel.h:100:2: warning: type of bit-field 'v20_data_available' is a GCC extension [-Wpedantic] uint8_t v20_data_available : 1; /* IPMI v2.0 data is available */ ^ ../include/ipmitool/ipmi_channel.h:111:2: warning: type of bit-field 'anon_login_enabled' is a GCC extension [-Wpedantic] uint8_t anon_login_enabled : 1; /* a null-named, null-pwd user exists */ ^ ../include/ipmitool/ipmi_channel.h:112:2: warning: type of bit-field 'null_usernames' is a GCC extension [-Wpedantic] uint8_t null_usernames : 1; /* one or more null usernames non-null pwds */ ^ ../include/ipmitool/ipmi_channel.h:113:2: warning: type of bit-field 'non_null_usernames' is a GCC extension [-Wpedantic] uint8_t non_null_usernames : 1; /* one or more non-null users exist */ ^ ../include/ipmitool/ipmi_channel.h:114:2: warning: type of bit-field 'user_level_auth' is a GCC extension [-Wpedantic] uint8_t user_level_auth : 1; /* user-level authentication status */ ^ ../include/ipmitool/ipmi_channel.h:115:2: warning: type of bit-field 'per_message_auth' is a GCC extension [-Wpedantic] uint8_t per_message_auth : 1; /* per-message authentication status */ ^ ../include/ipmitool/ipmi_channel.h:116:2: warning: type of bit-field 'kg_status' is a GCC extension [-Wpedantic] uint8_t kg_status : 1; /* two-key login status */ ^ ../include/ipmitool/ipmi_channel.h:117:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2 : 2; ^ ../include/ipmitool/ipmi_channel.h:124:2: warning: type of bit-field 'ipmiv15_support' is a GCC extension [-Wpedantic] uint8_t ipmiv15_support : 1; /* channel supports IPMI v1.5 connections */ ^ ../include/ipmitool/ipmi_channel.h:125:2: warning: type of bit-field 'ipmiv20_support' is a GCC extension [-Wpedantic] uint8_t ipmiv20_support : 1; /* channel supports IPMI v2.0 connections */ ^ ../include/ipmitool/ipmi_channel.h:126:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3 : 6; ^ ../include/ipmitool/ipmi_channel.h:155:2: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel :4; ^ ../include/ipmitool/ipmi_channel.h:156:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1 :4; ^ ../include/ipmitool/ipmi_channel.h:158:2: warning: type of bit-field 'operation' is a GCC extension [-Wpedantic] uint8_t operation :2; ^ ../include/ipmitool/ipmi_channel.h:159:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2 :6; ^ ../include/ipmitool/ipmi_channel.h:172:2: warning: type of bit-field 'lock_status' is a GCC extension [-Wpedantic] uint8_t lock_status :2; ^ ../include/ipmitool/ipmi_channel.h:173:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1 :6; ^ In file included from ../include/ipmitool/ipmi_sdr.h:44:0, from ../include/ipmitool/ipmi_sel.h:38, from ipmi_pef.c:44: ../include/ipmitool/ipmi_entity.h:45:2: warning: type of bit-field 'instance' is a GCC extension [-Wpedantic] uint8_t instance : 7; /* instance number */ ^ ../include/ipmitool/ipmi_entity.h:46:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical : 1; /* physical/logical */ ^ In file included from ../include/ipmitool/ipmi_sel.h:38:0, from ipmi_pef.c:44: ../include/ipmitool/ipmi_sdr.h:215:4: warning: type of bit-field 'assert_lnc_low' is a GCC extension [-Wpedantic] uint16_t assert_lnc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:216:4: warning: type of bit-field 'assert_lnc_high' is a GCC extension [-Wpedantic] uint16_t assert_lnc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:217:4: warning: type of bit-field 'assert_lcr_low' is a GCC extension [-Wpedantic] uint16_t assert_lcr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:218:4: warning: type of bit-field 'assert_lcr_high' is a GCC extension [-Wpedantic] uint16_t assert_lcr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:219:4: warning: type of bit-field 'assert_lnr_low' is a GCC extension [-Wpedantic] uint16_t assert_lnr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:220:4: warning: type of bit-field 'assert_lnr_high' is a GCC extension [-Wpedantic] uint16_t assert_lnr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:221:4: warning: type of bit-field 'assert_unc_low' is a GCC extension [-Wpedantic] uint16_t assert_unc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:222:4: warning: type of bit-field 'assert_unc_high' is a GCC extension [-Wpedantic] uint16_t assert_unc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:223:4: warning: type of bit-field 'assert_ucr_low' is a GCC extension [-Wpedantic] uint16_t assert_ucr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:224:4: warning: type of bit-field 'assert_ucr_high' is a GCC extension [-Wpedantic] uint16_t assert_ucr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:225:4: warning: type of bit-field 'assert_unr_low' is a GCC extension [-Wpedantic] uint16_t assert_unr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:226:4: warning: type of bit-field 'assert_unr_high' is a GCC extension [-Wpedantic] uint16_t assert_unr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:227:4: warning: type of bit-field 'status_lnc' is a GCC extension [-Wpedantic] uint16_t status_lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:228:4: warning: type of bit-field 'status_lcr' is a GCC extension [-Wpedantic] uint16_t status_lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:229:4: warning: type of bit-field 'status_lnr' is a GCC extension [-Wpedantic] uint16_t status_lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:230:4: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:1; ^ ../include/ipmitool/ipmi_sdr.h:250:4: warning: type of bit-field 'deassert_lnc_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:251:4: warning: type of bit-field 'deassert_lnc_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:252:4: warning: type of bit-field 'deassert_lcr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:253:4: warning: type of bit-field 'deassert_lcr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:254:4: warning: type of bit-field 'deassert_lnr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:255:4: warning: type of bit-field 'deassert_lnr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:256:4: warning: type of bit-field 'deassert_unc_low' is a GCC extension [-Wpedantic] uint16_t deassert_unc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:257:4: warning: type of bit-field 'deassert_unc_high' is a GCC extension [-Wpedantic] uint16_t deassert_unc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:258:4: warning: type of bit-field 'deassert_ucr_low' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:259:4: warning: type of bit-field 'deassert_ucr_high' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:260:4: warning: type of bit-field 'deassert_unr_low' is a GCC extension [-Wpedantic] uint16_t deassert_unr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:261:4: warning: type of bit-field 'deassert_unr_high' is a GCC extension [-Wpedantic] uint16_t deassert_unr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:262:4: warning: type of bit-field 'status_unc' is a GCC extension [-Wpedantic] uint16_t status_unc:1; ^ ../include/ipmitool/ipmi_sdr.h:263:4: warning: type of bit-field 'status_ucr' is a GCC extension [-Wpedantic] uint16_t status_ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:264:4: warning: type of bit-field 'status_unr' is a GCC extension [-Wpedantic] uint16_t status_unr:1; ^ ../include/ipmitool/ipmi_sdr.h:265:4: warning: type of bit-field 'reserved_2' is a GCC extension [-Wpedantic] uint16_t reserved_2:1; ^ ../include/ipmitool/ipmi_sdr.h:280:6: warning: type of bit-field 'readable' is a GCC extension [-Wpedantic] uint16_t readable:8; ^ ../include/ipmitool/ipmi_sdr.h:281:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:282:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:283:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:284:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../include/ipmitool/ipmi_sdr.h:285:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:286:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_sdr.h:287:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:302:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:303:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:304:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:305:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../include/ipmitool/ipmi_sdr.h:306:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:307:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_sdr.h:308:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:309:6: warning: type of bit-field 'settable' is a GCC extension [-Wpedantic] uint16_t settable:8; ^ ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ../include/ipmitool/ipmi_sdr.h:331:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:332:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:333:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../include/ipmitool/ipmi_sdr.h:352:4: warning: type of bit-field 'sensor_scan' is a GCC extension [-Wpedantic] uint8_t sensor_scan:1; ^ ../include/ipmitool/ipmi_sdr.h:353:4: warning: type of bit-field 'event_gen' is a GCC extension [-Wpedantic] uint8_t event_gen:1; ^ ../include/ipmitool/ipmi_sdr.h:354:4: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] uint8_t type:1; ^ ../include/ipmitool/ipmi_sdr.h:355:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:1; ^ ../include/ipmitool/ipmi_sdr.h:356:4: warning: type of bit-field 'thresholds' is a GCC extension [-Wpedantic] uint8_t thresholds:1; ^ ../include/ipmitool/ipmi_sdr.h:357:4: warning: type of bit-field 'events' is a GCC extension [-Wpedantic] uint8_t events:1; ^ ../include/ipmitool/ipmi_sdr.h:358:4: warning: type of bit-field 'scanning' is a GCC extension [-Wpedantic] uint8_t scanning:1; ^ ../include/ipmitool/ipmi_sdr.h:359:4: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:1; ^ ../include/ipmitool/ipmi_sdr.h:370:4: warning: type of bit-field 'event_msg' is a GCC extension [-Wpedantic] uint8_t event_msg:2; ^ ../include/ipmitool/ipmi_sdr.h:371:4: warning: type of bit-field 'threshold' is a GCC extension [-Wpedantic] uint8_t threshold:2; ^ ../include/ipmitool/ipmi_sdr.h:372:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:2; ^ ../include/ipmitool/ipmi_sdr.h:373:4: warning: type of bit-field 'rearm' is a GCC extension [-Wpedantic] uint8_t rearm:1; ^ ../include/ipmitool/ipmi_sdr.h:374:4: warning: type of bit-field 'ignore' is a GCC extension [-Wpedantic] uint8_t ignore:1; ^ ../include/ipmitool/ipmi_sdr.h:391:3: warning: type of bit-field 'pct' is a GCC extension [-Wpedantic] uint8_t pct:1; ^ ../include/ipmitool/ipmi_sdr.h:392:3: warning: type of bit-field 'modifier' is a GCC extension [-Wpedantic] uint8_t modifier:2; ^ ../include/ipmitool/ipmi_sdr.h:393:3: warning: type of bit-field 'rate' is a GCC extension [-Wpedantic] uint8_t rate:3; ^ ../include/ipmitool/ipmi_sdr.h:394:3: warning: type of bit-field 'analog' is a GCC extension [-Wpedantic] uint8_t analog:2; ^ ../include/ipmitool/ipmi_sdr.h:422:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../include/ipmitool/ipmi_sdr.h:423:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../include/ipmitool/ipmi_sdr.h:424:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:430:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../include/ipmitool/ipmi_sdr.h:431:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../include/ipmitool/ipmi_sdr.h:462:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:463:3: warning: type of bit-field 'fru_owner' is a GCC extension [-Wpedantic] uint8_t fru_owner:2; /* fru device owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:464:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../include/ipmitool/ipmi_sdr.h:480:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../include/ipmitool/ipmi_sdr.h:481:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../include/ipmitool/ipmi_sdr.h:482:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:488:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../include/ipmitool/ipmi_sdr.h:489:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../include/ipmitool/ipmi_sdr.h:534:3: warning: type of bit-field 'nominal_read' is a GCC extension [-Wpedantic] uint8_t nominal_read:1; /* nominal reading field specified */ ^ ../include/ipmitool/ipmi_sdr.h:535:3: warning: type of bit-field 'normal_max' is a GCC extension [-Wpedantic] uint8_t normal_max:1; /* normal max field specified */ ^ ../include/ipmitool/ipmi_sdr.h:536:3: warning: type of bit-field 'normal_min' is a GCC extension [-Wpedantic] uint8_t normal_min:1; /* normal min field specified */ ^ ../include/ipmitool/ipmi_sdr.h:537:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_sdr.h:581:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_sdr.h:582:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:4; ^ ../include/ipmitool/ipmi_sdr.h:589:2: warning: type of bit-field 'global_init' is a GCC extension [-Wpedantic] uint8_t global_init:4; ^ ../include/ipmitool/ipmi_sdr.h:590:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:1; ^ ../include/ipmitool/ipmi_sdr.h:591:2: warning: type of bit-field 'pwr_state_notif' is a GCC extension [-Wpedantic] uint8_t pwr_state_notif:3; ^ ../include/ipmitool/ipmi_sdr.h:613:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../include/ipmitool/ipmi_sdr.h:614:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_sdr.h:615:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:2; ^ ../include/ipmitool/ipmi_sdr.h:616:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical:1; ^ ../include/ipmitool/ipmi_sdr.h:622:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:4; ^ ../include/ipmitool/ipmi_sdr.h:623:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_sdr.h:648:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../include/ipmitool/ipmi_sdr.h:649:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_sdr.h:650:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:3; ^ ../include/ipmitool/ipmi_sdr.h:656:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:5; ^ ../include/ipmitool/ipmi_sdr.h:657:2: warning: type of bit-field 'addr_span' is a GCC extension [-Wpedantic] uint8_t addr_span:3; ^ ../include/ipmitool/ipmi_sdr.h:683:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_sdr.h:684:3: warning: type of bit-field 'isaccessable' is a GCC extension [-Wpedantic] uint8_t isaccessable:1; ^ ../include/ipmitool/ipmi_sdr.h:685:3: warning: type of bit-field 'islinked' is a GCC extension [-Wpedantic] uint8_t islinked:1; ^ ../include/ipmitool/ipmi_sdr.h:686:3: warning: type of bit-field 'isrange' is a GCC extension [-Wpedantic] uint8_t isrange:1; ^ ../include/ipmitool/ipmi_sdr.h:730:2: warning: type of bit-field 'get_sdr_repository_allo_info_supported' is a GCC extension [-Wpedantic] uint8_t get_sdr_repository_allo_info_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:731:2: warning: type of bit-field 'reserve_sdr_repository_supported' is a GCC extension [-Wpedantic] uint8_t reserve_sdr_repository_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:732:2: warning: type of bit-field 'partial_add_sdr_supported' is a GCC extension [-Wpedantic] uint8_t partial_add_sdr_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:733:2: warning: type of bit-field 'delete_sdr_supported' is a GCC extension [-Wpedantic] uint8_t delete_sdr_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:734:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:1; ^ ../include/ipmitool/ipmi_sdr.h:735:2: warning: type of bit-field 'modal_update_support' is a GCC extension [-Wpedantic] uint8_t modal_update_support:2; ^ ../include/ipmitool/ipmi_sdr.h:736:2: warning: type of bit-field 'overflow_flag' is a GCC extension [-Wpedantic] uint8_t overflow_flag:1; ^ In file included from ipmi_pef.c:44:0: ../include/ipmitool/ipmi_sel.h:83:2: warning: type of bit-field 'event_type' is a GCC extension [-Wpedantic] uint8_t event_type : 7; ^ ../include/ipmitool/ipmi_sel.h:84:2: warning: type of bit-field 'event_dir' is a GCC extension [-Wpedantic] uint8_t event_dir : 1; ^ ipmi_pef.c: In function 'ipmi_pef_bit_desc': ipmi_pef.c:103:4: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] sprintf(p, listitem[index], pmap->desc); ^ ipmi_pef.c: In function 'ipmi_pef_print_flags': ipmi_pef.c:134:4: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] printf(listitem[index], ipmi_pef_bit_desc(map, maskval)); ^ ipmi_pef.c: In function 'ipmi_pef_print_field': ipmi_pef.c:146:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] printf(fmt[0], KYWD_LENGTH, label, val); ^ ipmi_pef.c:148:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] printf(&fmt[1][2], val); /* skip field separator */ ^ ipmi_pef.c:150:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] printf(fmt[1], val); ^ ipmi_pef.c: In function 'ipmi_pef_print_oem_lan_dest': ipmi_pef.c:605:61: warning: unused parameter 'ch' [-Wunused-parameter] ipmi_pef_print_oem_lan_dest(struct ipmi_intf *intf, uint8_t ch, uint8_t dest) ^ ipmi_pef.c: In function 'ipmi_pef_print_dest': ipmi_pef.c:906:40: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_pef_print_dest(struct ipmi_intf * intf, uint8_t ch, uint8_t dest) ^ ipmi_pef.c:906:54: warning: unused parameter 'ch' [-Wunused-parameter] ipmi_pef_print_dest(struct ipmi_intf * intf, uint8_t ch, uint8_t dest) ^ ipmi_pef.c: In function 'ipmi_pef_print_event_info': ipmi_pef.c:952:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((t-1) >= PEF_B2S_GENERIC_ER_ENTRIES) { ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_lanp.lo ipmi_lanp.c In file included from ipmi_lanp.c:48:0: ../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ In file included from ipmi_lanp.c:55:0: ../include/ipmitool/ipmi_channel.h:98:2: warning: type of bit-field 'enabled_auth_types' is a GCC extension [-Wpedantic] uint8_t enabled_auth_types : 6; /* IPMI v1.5 enabled auth types */ ^ ../include/ipmitool/ipmi_channel.h:99:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1 : 1; ^ ../include/ipmitool/ipmi_channel.h:100:2: warning: type of bit-field 'v20_data_available' is a GCC extension [-Wpedantic] uint8_t v20_data_available : 1; /* IPMI v2.0 data is available */ ^ ../include/ipmitool/ipmi_channel.h:111:2: warning: type of bit-field 'anon_login_enabled' is a GCC extension [-Wpedantic] uint8_t anon_login_enabled : 1; /* a null-named, null-pwd user exists */ ^ ../include/ipmitool/ipmi_channel.h:112:2: warning: type of bit-field 'null_usernames' is a GCC extension [-Wpedantic] uint8_t null_usernames : 1; /* one or more null usernames non-null pwds */ ^ ../include/ipmitool/ipmi_channel.h:113:2: warning: type of bit-field 'non_null_usernames' is a GCC extension [-Wpedantic] uint8_t non_null_usernames : 1; /* one or more non-null users exist */ ^ ../include/ipmitool/ipmi_channel.h:114:2: warning: type of bit-field 'user_level_auth' is a GCC extension [-Wpedantic] uint8_t user_level_auth : 1; /* user-level authentication status */ ^ ../include/ipmitool/ipmi_channel.h:115:2: warning: type of bit-field 'per_message_auth' is a GCC extension [-Wpedantic] uint8_t per_message_auth : 1; /* per-message authentication status */ ^ ../include/ipmitool/ipmi_channel.h:116:2: warning: type of bit-field 'kg_status' is a GCC extension [-Wpedantic] uint8_t kg_status : 1; /* two-key login status */ ^ ../include/ipmitool/ipmi_channel.h:117:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2 : 2; ^ ../include/ipmitool/ipmi_channel.h:124:2: warning: type of bit-field 'ipmiv15_support' is a GCC extension [-Wpedantic] uint8_t ipmiv15_support : 1; /* channel supports IPMI v1.5 connections */ ^ ../include/ipmitool/ipmi_channel.h:125:2: warning: type of bit-field 'ipmiv20_support' is a GCC extension [-Wpedantic] uint8_t ipmiv20_support : 1; /* channel supports IPMI v2.0 connections */ ^ ../include/ipmitool/ipmi_channel.h:126:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3 : 6; ^ ../include/ipmitool/ipmi_channel.h:155:2: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel :4; ^ ../include/ipmitool/ipmi_channel.h:156:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1 :4; ^ ../include/ipmitool/ipmi_channel.h:158:2: warning: type of bit-field 'operation' is a GCC extension [-Wpedantic] uint8_t operation :2; ^ ../include/ipmitool/ipmi_channel.h:159:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2 :6; ^ ../include/ipmitool/ipmi_channel.h:172:2: warning: type of bit-field 'lock_status' is a GCC extension [-Wpedantic] uint8_t lock_status :2; ^ ../include/ipmitool/ipmi_channel.h:173:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1 :6; ^ In file included from ../include/ipmitool/ipmi.h:41:0, from ipmi_lanp.c:48: ipmi_lanp.c: In function 'ipmi_lan_alert_set': ../include/ipmitool/helper.h:118:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_lanp.c:1812:25: note: in expansion of macro '__min' memcpy(data, p->data, __min(p->data_len, sizeof(data))); ^ ../include/ipmitool/helper.h:118:40: warning: signed and unsigned type in conditional expression [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_lanp.c:1812:25: note: in expansion of macro '__min' memcpy(data, p->data, __min(p->data_len, sizeof(data))); ^ ../include/ipmitool/helper.h:118:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_lanp.c:1827:25: note: in expansion of macro '__min' memcpy(data, p->data, __min(p->data_len, sizeof(data))); ^ ../include/ipmitool/helper.h:118:40: warning: signed and unsigned type in conditional expression [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_lanp.c:1827:25: note: in expansion of macro '__min' memcpy(data, p->data, __min(p->data_len, sizeof(data))); ^ ../include/ipmitool/helper.h:118:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_lanp.c:1841:25: note: in expansion of macro '__min' memcpy(data, p->data, __min(p->data_len, sizeof(data))); ^ ../include/ipmitool/helper.h:118:40: warning: signed and unsigned type in conditional expression [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_lanp.c:1841:25: note: in expansion of macro '__min' memcpy(data, p->data, __min(p->data_len, sizeof(data))); ^ ../include/ipmitool/helper.h:118:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_lanp.c:1867:25: note: in expansion of macro '__min' memcpy(data, p->data, __min(p->data_len, sizeof(data))); ^ ../include/ipmitool/helper.h:118:40: warning: signed and unsigned type in conditional expression [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_lanp.c:1867:25: note: in expansion of macro '__min' memcpy(data, p->data, __min(p->data_len, sizeof(data))); ^ ../include/ipmitool/helper.h:118:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_lanp.c:1892:25: note: in expansion of macro '__min' memcpy(data, p->data, __min(p->data_len, sizeof(data))); ^ ../include/ipmitool/helper.h:118:40: warning: signed and unsigned type in conditional expression [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_lanp.c:1892:25: note: in expansion of macro '__min' memcpy(data, p->data, __min(p->data_len, sizeof(data))); ^ ../include/ipmitool/helper.h:118:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_lanp.c:1920:25: note: in expansion of macro '__min' memcpy(data, p->data, __min(p->data_len, sizeof(data))); ^ ../include/ipmitool/helper.h:118:40: warning: signed and unsigned type in conditional expression [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_lanp.c:1920:25: note: in expansion of macro '__min' memcpy(data, p->data, __min(p->data_len, sizeof(data))); ^ ../include/ipmitool/helper.h:118:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_lanp.c:1936:25: note: in expansion of macro '__min' memcpy(data, p->data, __min(p->data_len, sizeof(data))); ^ ../include/ipmitool/helper.h:118:40: warning: signed and unsigned type in conditional expression [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_lanp.c:1936:25: note: in expansion of macro '__min' memcpy(data, p->data, __min(p->data_len, sizeof(data))); ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_fru.lo ipmi_fru.c In file included from ipmi_fru.c:33:0: ../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ In file included from ../include/ipmitool/ipmi_sdr.h:44:0, from ../include/ipmitool/ipmi_fru.h:38, from ipmi_fru.c:37: ../include/ipmitool/ipmi_entity.h:45:2: warning: type of bit-field 'instance' is a GCC extension [-Wpedantic] uint8_t instance : 7; /* instance number */ ^ ../include/ipmitool/ipmi_entity.h:46:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical : 1; /* physical/logical */ ^ In file included from ../include/ipmitool/ipmi_fru.h:38:0, from ipmi_fru.c:37: ../include/ipmitool/ipmi_sdr.h:215:4: warning: type of bit-field 'assert_lnc_low' is a GCC extension [-Wpedantic] uint16_t assert_lnc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:216:4: warning: type of bit-field 'assert_lnc_high' is a GCC extension [-Wpedantic] uint16_t assert_lnc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:217:4: warning: type of bit-field 'assert_lcr_low' is a GCC extension [-Wpedantic] uint16_t assert_lcr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:218:4: warning: type of bit-field 'assert_lcr_high' is a GCC extension [-Wpedantic] uint16_t assert_lcr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:219:4: warning: type of bit-field 'assert_lnr_low' is a GCC extension [-Wpedantic] uint16_t assert_lnr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:220:4: warning: type of bit-field 'assert_lnr_high' is a GCC extension [-Wpedantic] uint16_t assert_lnr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:221:4: warning: type of bit-field 'assert_unc_low' is a GCC extension [-Wpedantic] uint16_t assert_unc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:222:4: warning: type of bit-field 'assert_unc_high' is a GCC extension [-Wpedantic] uint16_t assert_unc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:223:4: warning: type of bit-field 'assert_ucr_low' is a GCC extension [-Wpedantic] uint16_t assert_ucr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:224:4: warning: type of bit-field 'assert_ucr_high' is a GCC extension [-Wpedantic] uint16_t assert_ucr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:225:4: warning: type of bit-field 'assert_unr_low' is a GCC extension [-Wpedantic] uint16_t assert_unr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:226:4: warning: type of bit-field 'assert_unr_high' is a GCC extension [-Wpedantic] uint16_t assert_unr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:227:4: warning: type of bit-field 'status_lnc' is a GCC extension [-Wpedantic] uint16_t status_lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:228:4: warning: type of bit-field 'status_lcr' is a GCC extension [-Wpedantic] uint16_t status_lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:229:4: warning: type of bit-field 'status_lnr' is a GCC extension [-Wpedantic] uint16_t status_lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:230:4: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:1; ^ ../include/ipmitool/ipmi_sdr.h:250:4: warning: type of bit-field 'deassert_lnc_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:251:4: warning: type of bit-field 'deassert_lnc_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:252:4: warning: type of bit-field 'deassert_lcr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:253:4: warning: type of bit-field 'deassert_lcr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:254:4: warning: type of bit-field 'deassert_lnr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:255:4: warning: type of bit-field 'deassert_lnr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:256:4: warning: type of bit-field 'deassert_unc_low' is a GCC extension [-Wpedantic] uint16_t deassert_unc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:257:4: warning: type of bit-field 'deassert_unc_high' is a GCC extension [-Wpedantic] uint16_t deassert_unc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:258:4: warning: type of bit-field 'deassert_ucr_low' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:259:4: warning: type of bit-field 'deassert_ucr_high' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:260:4: warning: type of bit-field 'deassert_unr_low' is a GCC extension [-Wpedantic] uint16_t deassert_unr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:261:4: warning: type of bit-field 'deassert_unr_high' is a GCC extension [-Wpedantic] uint16_t deassert_unr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:262:4: warning: type of bit-field 'status_unc' is a GCC extension [-Wpedantic] uint16_t status_unc:1; ^ ../include/ipmitool/ipmi_sdr.h:263:4: warning: type of bit-field 'status_ucr' is a GCC extension [-Wpedantic] uint16_t status_ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:264:4: warning: type of bit-field 'status_unr' is a GCC extension [-Wpedantic] uint16_t status_unr:1; ^ ../include/ipmitool/ipmi_sdr.h:265:4: warning: type of bit-field 'reserved_2' is a GCC extension [-Wpedantic] uint16_t reserved_2:1; ^ ../include/ipmitool/ipmi_sdr.h:280:6: warning: type of bit-field 'readable' is a GCC extension [-Wpedantic] uint16_t readable:8; ^ ../include/ipmitool/ipmi_sdr.h:281:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:282:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:283:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:284:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../include/ipmitool/ipmi_sdr.h:285:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:286:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_sdr.h:287:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:302:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:303:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:304:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:305:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../include/ipmitool/ipmi_sdr.h:306:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:307:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_sdr.h:308:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:309:6: warning: type of bit-field 'settable' is a GCC extension [-Wpedantic] uint16_t settable:8; ^ ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ../include/ipmitool/ipmi_sdr.h:331:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:332:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:333:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../include/ipmitool/ipmi_sdr.h:352:4: warning: type of bit-field 'sensor_scan' is a GCC extension [-Wpedantic] uint8_t sensor_scan:1; ^ ../include/ipmitool/ipmi_sdr.h:353:4: warning: type of bit-field 'event_gen' is a GCC extension [-Wpedantic] uint8_t event_gen:1; ^ ../include/ipmitool/ipmi_sdr.h:354:4: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] uint8_t type:1; ^ ../include/ipmitool/ipmi_sdr.h:355:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:1; ^ ../include/ipmitool/ipmi_sdr.h:356:4: warning: type of bit-field 'thresholds' is a GCC extension [-Wpedantic] uint8_t thresholds:1; ^ ../include/ipmitool/ipmi_sdr.h:357:4: warning: type of bit-field 'events' is a GCC extension [-Wpedantic] uint8_t events:1; ^ ../include/ipmitool/ipmi_sdr.h:358:4: warning: type of bit-field 'scanning' is a GCC extension [-Wpedantic] uint8_t scanning:1; ^ ../include/ipmitool/ipmi_sdr.h:359:4: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:1; ^ ../include/ipmitool/ipmi_sdr.h:370:4: warning: type of bit-field 'event_msg' is a GCC extension [-Wpedantic] uint8_t event_msg:2; ^ ../include/ipmitool/ipmi_sdr.h:371:4: warning: type of bit-field 'threshold' is a GCC extension [-Wpedantic] uint8_t threshold:2; ^ ../include/ipmitool/ipmi_sdr.h:372:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:2; ^ ../include/ipmitool/ipmi_sdr.h:373:4: warning: type of bit-field 'rearm' is a GCC extension [-Wpedantic] uint8_t rearm:1; ^ ../include/ipmitool/ipmi_sdr.h:374:4: warning: type of bit-field 'ignore' is a GCC extension [-Wpedantic] uint8_t ignore:1; ^ ../include/ipmitool/ipmi_sdr.h:391:3: warning: type of bit-field 'pct' is a GCC extension [-Wpedantic] uint8_t pct:1; ^ ../include/ipmitool/ipmi_sdr.h:392:3: warning: type of bit-field 'modifier' is a GCC extension [-Wpedantic] uint8_t modifier:2; ^ ../include/ipmitool/ipmi_sdr.h:393:3: warning: type of bit-field 'rate' is a GCC extension [-Wpedantic] uint8_t rate:3; ^ ../include/ipmitool/ipmi_sdr.h:394:3: warning: type of bit-field 'analog' is a GCC extension [-Wpedantic] uint8_t analog:2; ^ ../include/ipmitool/ipmi_sdr.h:422:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../include/ipmitool/ipmi_sdr.h:423:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../include/ipmitool/ipmi_sdr.h:424:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:430:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../include/ipmitool/ipmi_sdr.h:431:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../include/ipmitool/ipmi_sdr.h:462:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:463:3: warning: type of bit-field 'fru_owner' is a GCC extension [-Wpedantic] uint8_t fru_owner:2; /* fru device owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:464:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../include/ipmitool/ipmi_sdr.h:480:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../include/ipmitool/ipmi_sdr.h:481:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../include/ipmitool/ipmi_sdr.h:482:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:488:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../include/ipmitool/ipmi_sdr.h:489:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../include/ipmitool/ipmi_sdr.h:534:3: warning: type of bit-field 'nominal_read' is a GCC extension [-Wpedantic] uint8_t nominal_read:1; /* nominal reading field specified */ ^ ../include/ipmitool/ipmi_sdr.h:535:3: warning: type of bit-field 'normal_max' is a GCC extension [-Wpedantic] uint8_t normal_max:1; /* normal max field specified */ ^ ../include/ipmitool/ipmi_sdr.h:536:3: warning: type of bit-field 'normal_min' is a GCC extension [-Wpedantic] uint8_t normal_min:1; /* normal min field specified */ ^ ../include/ipmitool/ipmi_sdr.h:537:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_sdr.h:581:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_sdr.h:582:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:4; ^ ../include/ipmitool/ipmi_sdr.h:589:2: warning: type of bit-field 'global_init' is a GCC extension [-Wpedantic] uint8_t global_init:4; ^ ../include/ipmitool/ipmi_sdr.h:590:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:1; ^ ../include/ipmitool/ipmi_sdr.h:591:2: warning: type of bit-field 'pwr_state_notif' is a GCC extension [-Wpedantic] uint8_t pwr_state_notif:3; ^ ../include/ipmitool/ipmi_sdr.h:613:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../include/ipmitool/ipmi_sdr.h:614:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_sdr.h:615:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:2; ^ ../include/ipmitool/ipmi_sdr.h:616:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical:1; ^ ../include/ipmitool/ipmi_sdr.h:622:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:4; ^ ../include/ipmitool/ipmi_sdr.h:623:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_sdr.h:648:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../include/ipmitool/ipmi_sdr.h:649:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_sdr.h:650:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:3; ^ ../include/ipmitool/ipmi_sdr.h:656:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:5; ^ ../include/ipmitool/ipmi_sdr.h:657:2: warning: type of bit-field 'addr_span' is a GCC extension [-Wpedantic] uint8_t addr_span:3; ^ ../include/ipmitool/ipmi_sdr.h:683:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_sdr.h:684:3: warning: type of bit-field 'isaccessable' is a GCC extension [-Wpedantic] uint8_t isaccessable:1; ^ ../include/ipmitool/ipmi_sdr.h:685:3: warning: type of bit-field 'islinked' is a GCC extension [-Wpedantic] uint8_t islinked:1; ^ ../include/ipmitool/ipmi_sdr.h:686:3: warning: type of bit-field 'isrange' is a GCC extension [-Wpedantic] uint8_t isrange:1; ^ ../include/ipmitool/ipmi_sdr.h:730:2: warning: type of bit-field 'get_sdr_repository_allo_info_supported' is a GCC extension [-Wpedantic] uint8_t get_sdr_repository_allo_info_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:731:2: warning: type of bit-field 'reserve_sdr_repository_supported' is a GCC extension [-Wpedantic] uint8_t reserve_sdr_repository_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:732:2: warning: type of bit-field 'partial_add_sdr_supported' is a GCC extension [-Wpedantic] uint8_t partial_add_sdr_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:733:2: warning: type of bit-field 'delete_sdr_supported' is a GCC extension [-Wpedantic] uint8_t delete_sdr_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:734:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:1; ^ ../include/ipmitool/ipmi_sdr.h:735:2: warning: type of bit-field 'modal_update_support' is a GCC extension [-Wpedantic] uint8_t modal_update_support:2; ^ ../include/ipmitool/ipmi_sdr.h:736:2: warning: type of bit-field 'overflow_flag' is a GCC extension [-Wpedantic] uint8_t overflow_flag:1; ^ In file included from ipmi_fru.c:37:0: ../include/ipmitool/ipmi_fru.h:65:2: warning: type of bit-field 'access' is a GCC extension [-Wpedantic] uint8_t access:1; ^ ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ ../include/ipmitool/ipmi_fru.h:153:2: warning: type of bit-field 'capacity' is a GCC extension [-Wpedantic] uint16_t capacity:12; ^ ../include/ipmitool/ipmi_fru.h:154:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint16_t __reserved1:4; ^ ../include/ipmitool/ipmi_fru.h:174:2: warning: type of bit-field 'predictive_fail' is a GCC extension [-Wpedantic] uint8_t predictive_fail:1; ^ ../include/ipmitool/ipmi_fru.h:175:2: warning: type of bit-field 'pfc' is a GCC extension [-Wpedantic] uint8_t pfc:1; ^ ../include/ipmitool/ipmi_fru.h:176:2: warning: type of bit-field 'autoswitch' is a GCC extension [-Wpedantic] uint8_t autoswitch:1; ^ ../include/ipmitool/ipmi_fru.h:177:2: warning: type of bit-field 'hotswap' is a GCC extension [-Wpedantic] uint8_t hotswap:1; ^ ../include/ipmitool/ipmi_fru.h:178:2: warning: type of bit-field 'tach' is a GCC extension [-Wpedantic] uint8_t tach:1; ^ ../include/ipmitool/ipmi_fru.h:179:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:3; ^ ../include/ipmitool/ipmi_fru.h:186:2: warning: type of bit-field 'combined_voltage2' is a GCC extension [-Wpedantic] uint8_t combined_voltage2:4; ^ ../include/ipmitool/ipmi_fru.h:187:2: warning: type of bit-field 'combined_voltage1' is a GCC extension [-Wpedantic] uint8_t combined_voltage1:4; ^ ../include/ipmitool/ipmi_fru.h:208:2: warning: type of bit-field 'output_number' is a GCC extension [-Wpedantic] uint8_t output_number:4; ^ ../include/ipmitool/ipmi_fru.h:209:2: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:3; ^ ../include/ipmitool/ipmi_fru.h:210:2: warning: type of bit-field 'standby' is a GCC extension [-Wpedantic] uint8_t standby:1; ^ ../include/ipmitool/ipmi_fru.h:231:2: warning: type of bit-field 'output_number' is a GCC extension [-Wpedantic] uint8_t output_number:4; ^ ../include/ipmitool/ipmi_fru.h:232:2: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:4; ^ ../include/ipmitool/ipmi_fru.h:374:2: warning: type of bit-field 'asymetricMatch' is a GCC extension [-Wpedantic] unsigned char asymetricMatch:2; ^ ../include/ipmitool/ipmi_fru.h:375:2: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] unsigned char reserved:6; ^ ../include/ipmitool/ipmi_fru.h:486:2: warning: type of bit-field 'remote_port' is a GCC extension [-Wpedantic] unsigned short remote_port:5; ^ ../include/ipmitool/ipmi_fru.h:487:2: warning: type of bit-field 'local_port' is a GCC extension [-Wpedantic] unsigned short local_port:5; ^ ../include/ipmitool/ipmi_fru.h:488:2: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] unsigned short reserved:6; ^ ../include/ipmitool/ipmi_fru.h:505:2: warning: type of bit-field 'resource_id' is a GCC extension [-Wpedantic] unsigned char resource_id :4; ^ ../include/ipmitool/ipmi_fru.h:506:2: warning: type of bit-field '' is a GCC extension [-Wpedantic] unsigned char /* reserved */ :3; ^ ../include/ipmitool/ipmi_fru.h:507:2: warning: type of bit-field 'record_type' is a GCC extension [-Wpedantic] unsigned char record_type :1; ^ ipmi_fru.c: In function 'write_fru_area': ipmi_fru.c:474:3: warning: implicit declaration of function 'ipmi_intf_get_max_request_data_size' [-Wimplicit-function-declaration] uint16_t max_rq_size = ipmi_intf_get_max_request_data_size(intf); ^ ipmi_fru.c: In function 'read_fru_area': ipmi_fru.c:649:3: warning: implicit declaration of function 'ipmi_intf_get_max_response_data_size' [-Wimplicit-function-declaration] uint16_t max_rs_size = ipmi_intf_get_max_response_data_size(intf) - 1; ^ ipmi_fru.c:717:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] || tmp > rsp->data_len - 1 ^ ipmi_fru.c: In function 'read_fru_area_section': ipmi_fru.c:829:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] || tmp > rsp->data_len - 1 ^ ipmi_fru.c: In function 'fru_area_print_chassis': ipmi_fru.c:1001:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i == j) { ^ ipmi_fru.c: In function 'fru_area_print_board': ipmi_fru.c:1126:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i == j) ^ ipmi_fru.c: In function 'fru_area_print_product': ipmi_fru.c:1261:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i == j) ^ ipmi_fru.c: In function 'ipmi_fru_query_new_value': ipmi_fru.c:1494:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for( i=0;i' is a GCC extension [-Wpedantic] unsigned char /* reserved */ :3; ^ ../include/ipmitool/ipmi_fru.h:507:2: warning: type of bit-field 'record_type' is a GCC extension [-Wpedantic] unsigned char record_type :1; ^ dimm_spd.c: In function 'ipmi_spd_print_fru': dimm_spd.c:1701:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] || len > rsp->data_len - 1 ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sensor.lo ipmi_sensor.c In file included from ipmi_sensor.c:36:0: ../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ In file included from ../include/ipmitool/ipmi_sdr.h:44:0, from ipmi_sensor.c:40: ../include/ipmitool/ipmi_entity.h:45:2: warning: type of bit-field 'instance' is a GCC extension [-Wpedantic] uint8_t instance : 7; /* instance number */ ^ ../include/ipmitool/ipmi_entity.h:46:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical : 1; /* physical/logical */ ^ In file included from ipmi_sensor.c:40:0: ../include/ipmitool/ipmi_sdr.h:215:4: warning: type of bit-field 'assert_lnc_low' is a GCC extension [-Wpedantic] uint16_t assert_lnc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:216:4: warning: type of bit-field 'assert_lnc_high' is a GCC extension [-Wpedantic] uint16_t assert_lnc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:217:4: warning: type of bit-field 'assert_lcr_low' is a GCC extension [-Wpedantic] uint16_t assert_lcr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:218:4: warning: type of bit-field 'assert_lcr_high' is a GCC extension [-Wpedantic] uint16_t assert_lcr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:219:4: warning: type of bit-field 'assert_lnr_low' is a GCC extension [-Wpedantic] uint16_t assert_lnr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:220:4: warning: type of bit-field 'assert_lnr_high' is a GCC extension [-Wpedantic] uint16_t assert_lnr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:221:4: warning: type of bit-field 'assert_unc_low' is a GCC extension [-Wpedantic] uint16_t assert_unc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:222:4: warning: type of bit-field 'assert_unc_high' is a GCC extension [-Wpedantic] uint16_t assert_unc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:223:4: warning: type of bit-field 'assert_ucr_low' is a GCC extension [-Wpedantic] uint16_t assert_ucr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:224:4: warning: type of bit-field 'assert_ucr_high' is a GCC extension [-Wpedantic] uint16_t assert_ucr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:225:4: warning: type of bit-field 'assert_unr_low' is a GCC extension [-Wpedantic] uint16_t assert_unr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:226:4: warning: type of bit-field 'assert_unr_high' is a GCC extension [-Wpedantic] uint16_t assert_unr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:227:4: warning: type of bit-field 'status_lnc' is a GCC extension [-Wpedantic] uint16_t status_lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:228:4: warning: type of bit-field 'status_lcr' is a GCC extension [-Wpedantic] uint16_t status_lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:229:4: warning: type of bit-field 'status_lnr' is a GCC extension [-Wpedantic] uint16_t status_lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:230:4: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:1; ^ ../include/ipmitool/ipmi_sdr.h:250:4: warning: type of bit-field 'deassert_lnc_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:251:4: warning: type of bit-field 'deassert_lnc_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:252:4: warning: type of bit-field 'deassert_lcr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:253:4: warning: type of bit-field 'deassert_lcr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:254:4: warning: type of bit-field 'deassert_lnr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:255:4: warning: type of bit-field 'deassert_lnr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:256:4: warning: type of bit-field 'deassert_unc_low' is a GCC extension [-Wpedantic] uint16_t deassert_unc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:257:4: warning: type of bit-field 'deassert_unc_high' is a GCC extension [-Wpedantic] uint16_t deassert_unc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:258:4: warning: type of bit-field 'deassert_ucr_low' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:259:4: warning: type of bit-field 'deassert_ucr_high' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:260:4: warning: type of bit-field 'deassert_unr_low' is a GCC extension [-Wpedantic] uint16_t deassert_unr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:261:4: warning: type of bit-field 'deassert_unr_high' is a GCC extension [-Wpedantic] uint16_t deassert_unr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:262:4: warning: type of bit-field 'status_unc' is a GCC extension [-Wpedantic] uint16_t status_unc:1; ^ ../include/ipmitool/ipmi_sdr.h:263:4: warning: type of bit-field 'status_ucr' is a GCC extension [-Wpedantic] uint16_t status_ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:264:4: warning: type of bit-field 'status_unr' is a GCC extension [-Wpedantic] uint16_t status_unr:1; ^ ../include/ipmitool/ipmi_sdr.h:265:4: warning: type of bit-field 'reserved_2' is a GCC extension [-Wpedantic] uint16_t reserved_2:1; ^ ../include/ipmitool/ipmi_sdr.h:280:6: warning: type of bit-field 'readable' is a GCC extension [-Wpedantic] uint16_t readable:8; ^ ../include/ipmitool/ipmi_sdr.h:281:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:282:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:283:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:284:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../include/ipmitool/ipmi_sdr.h:285:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:286:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_sdr.h:287:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:302:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:303:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:304:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:305:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../include/ipmitool/ipmi_sdr.h:306:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:307:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_sdr.h:308:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:309:6: warning: type of bit-field 'settable' is a GCC extension [-Wpedantic] uint16_t settable:8; ^ ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ../include/ipmitool/ipmi_sdr.h:331:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:332:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:333:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../include/ipmitool/ipmi_sdr.h:352:4: warning: type of bit-field 'sensor_scan' is a GCC extension [-Wpedantic] uint8_t sensor_scan:1; ^ ../include/ipmitool/ipmi_sdr.h:353:4: warning: type of bit-field 'event_gen' is a GCC extension [-Wpedantic] uint8_t event_gen:1; ^ ../include/ipmitool/ipmi_sdr.h:354:4: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] uint8_t type:1; ^ ../include/ipmitool/ipmi_sdr.h:355:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:1; ^ ../include/ipmitool/ipmi_sdr.h:356:4: warning: type of bit-field 'thresholds' is a GCC extension [-Wpedantic] uint8_t thresholds:1; ^ ../include/ipmitool/ipmi_sdr.h:357:4: warning: type of bit-field 'events' is a GCC extension [-Wpedantic] uint8_t events:1; ^ ../include/ipmitool/ipmi_sdr.h:358:4: warning: type of bit-field 'scanning' is a GCC extension [-Wpedantic] uint8_t scanning:1; ^ ../include/ipmitool/ipmi_sdr.h:359:4: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:1; ^ ../include/ipmitool/ipmi_sdr.h:370:4: warning: type of bit-field 'event_msg' is a GCC extension [-Wpedantic] uint8_t event_msg:2; ^ ../include/ipmitool/ipmi_sdr.h:371:4: warning: type of bit-field 'threshold' is a GCC extension [-Wpedantic] uint8_t threshold:2; ^ ../include/ipmitool/ipmi_sdr.h:372:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:2; ^ ../include/ipmitool/ipmi_sdr.h:373:4: warning: type of bit-field 'rearm' is a GCC extension [-Wpedantic] uint8_t rearm:1; ^ ../include/ipmitool/ipmi_sdr.h:374:4: warning: type of bit-field 'ignore' is a GCC extension [-Wpedantic] uint8_t ignore:1; ^ ../include/ipmitool/ipmi_sdr.h:391:3: warning: type of bit-field 'pct' is a GCC extension [-Wpedantic] uint8_t pct:1; ^ ../include/ipmitool/ipmi_sdr.h:392:3: warning: type of bit-field 'modifier' is a GCC extension [-Wpedantic] uint8_t modifier:2; ^ ../include/ipmitool/ipmi_sdr.h:393:3: warning: type of bit-field 'rate' is a GCC extension [-Wpedantic] uint8_t rate:3; ^ ../include/ipmitool/ipmi_sdr.h:394:3: warning: type of bit-field 'analog' is a GCC extension [-Wpedantic] uint8_t analog:2; ^ ../include/ipmitool/ipmi_sdr.h:422:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../include/ipmitool/ipmi_sdr.h:423:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../include/ipmitool/ipmi_sdr.h:424:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:430:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../include/ipmitool/ipmi_sdr.h:431:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../include/ipmitool/ipmi_sdr.h:462:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:463:3: warning: type of bit-field 'fru_owner' is a GCC extension [-Wpedantic] uint8_t fru_owner:2; /* fru device owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:464:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../include/ipmitool/ipmi_sdr.h:480:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../include/ipmitool/ipmi_sdr.h:481:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../include/ipmitool/ipmi_sdr.h:482:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:488:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../include/ipmitool/ipmi_sdr.h:489:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../include/ipmitool/ipmi_sdr.h:534:3: warning: type of bit-field 'nominal_read' is a GCC extension [-Wpedantic] uint8_t nominal_read:1; /* nominal reading field specified */ ^ ../include/ipmitool/ipmi_sdr.h:535:3: warning: type of bit-field 'normal_max' is a GCC extension [-Wpedantic] uint8_t normal_max:1; /* normal max field specified */ ^ ../include/ipmitool/ipmi_sdr.h:536:3: warning: type of bit-field 'normal_min' is a GCC extension [-Wpedantic] uint8_t normal_min:1; /* normal min field specified */ ^ ../include/ipmitool/ipmi_sdr.h:537:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_sdr.h:581:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_sdr.h:582:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:4; ^ ../include/ipmitool/ipmi_sdr.h:589:2: warning: type of bit-field 'global_init' is a GCC extension [-Wpedantic] uint8_t global_init:4; ^ ../include/ipmitool/ipmi_sdr.h:590:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:1; ^ ../include/ipmitool/ipmi_sdr.h:591:2: warning: type of bit-field 'pwr_state_notif' is a GCC extension [-Wpedantic] uint8_t pwr_state_notif:3; ^ ../include/ipmitool/ipmi_sdr.h:613:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../include/ipmitool/ipmi_sdr.h:614:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_sdr.h:615:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:2; ^ ../include/ipmitool/ipmi_sdr.h:616:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical:1; ^ ../include/ipmitool/ipmi_sdr.h:622:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:4; ^ ../include/ipmitool/ipmi_sdr.h:623:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_sdr.h:648:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../include/ipmitool/ipmi_sdr.h:649:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_sdr.h:650:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:3; ^ ../include/ipmitool/ipmi_sdr.h:656:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:5; ^ ../include/ipmitool/ipmi_sdr.h:657:2: warning: type of bit-field 'addr_span' is a GCC extension [-Wpedantic] uint8_t addr_span:3; ^ ../include/ipmitool/ipmi_sdr.h:683:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_sdr.h:684:3: warning: type of bit-field 'isaccessable' is a GCC extension [-Wpedantic] uint8_t isaccessable:1; ^ ../include/ipmitool/ipmi_sdr.h:685:3: warning: type of bit-field 'islinked' is a GCC extension [-Wpedantic] uint8_t islinked:1; ^ ../include/ipmitool/ipmi_sdr.h:686:3: warning: type of bit-field 'isrange' is a GCC extension [-Wpedantic] uint8_t isrange:1; ^ ../include/ipmitool/ipmi_sdr.h:730:2: warning: type of bit-field 'get_sdr_repository_allo_info_supported' is a GCC extension [-Wpedantic] uint8_t get_sdr_repository_allo_info_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:731:2: warning: type of bit-field 'reserve_sdr_repository_supported' is a GCC extension [-Wpedantic] uint8_t reserve_sdr_repository_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:732:2: warning: type of bit-field 'partial_add_sdr_supported' is a GCC extension [-Wpedantic] uint8_t partial_add_sdr_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:733:2: warning: type of bit-field 'delete_sdr_supported' is a GCC extension [-Wpedantic] uint8_t delete_sdr_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:734:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:1; ^ ../include/ipmitool/ipmi_sdr.h:735:2: warning: type of bit-field 'modal_update_support' is a GCC extension [-Wpedantic] uint8_t modal_update_support:2; ^ ../include/ipmitool/ipmi_sdr.h:736:2: warning: type of bit-field 'overflow_flag' is a GCC extension [-Wpedantic] uint8_t overflow_flag:1; ^ In file included from ipmi_sensor.c:41:0: ../include/ipmitool/ipmi_sel.h:83:2: warning: type of bit-field 'event_type' is a GCC extension [-Wpedantic] uint8_t event_type : 7; ^ ../include/ipmitool/ipmi_sel.h:84:2: warning: type of bit-field 'event_dir' is a GCC extension [-Wpedantic] uint8_t event_dir : 1; ^ ipmi_sensor.c: In function 'print_thresh_setting': ipmi_sensor.c:235:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] printf(na_fmt, "na"); ^ ipmi_sensor.c:239:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] printf(analog_fmt, sdr_convert_sensor_reading (full, setting)); ^ ipmi_sensor.c:241:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] printf(discrete_fmt, setting); ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_channel.lo ipmi_channel.c In file included from ipmi_channel.c:45:0: ../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ In file included from ipmi_channel.c:50:0: ../include/ipmitool/ipmi_channel.h:98:2: warning: type of bit-field 'enabled_auth_types' is a GCC extension [-Wpedantic] uint8_t enabled_auth_types : 6; /* IPMI v1.5 enabled auth types */ ^ ../include/ipmitool/ipmi_channel.h:99:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1 : 1; ^ ../include/ipmitool/ipmi_channel.h:100:2: warning: type of bit-field 'v20_data_available' is a GCC extension [-Wpedantic] uint8_t v20_data_available : 1; /* IPMI v2.0 data is available */ ^ ../include/ipmitool/ipmi_channel.h:111:2: warning: type of bit-field 'anon_login_enabled' is a GCC extension [-Wpedantic] uint8_t anon_login_enabled : 1; /* a null-named, null-pwd user exists */ ^ ../include/ipmitool/ipmi_channel.h:112:2: warning: type of bit-field 'null_usernames' is a GCC extension [-Wpedantic] uint8_t null_usernames : 1; /* one or more null usernames non-null pwds */ ^ ../include/ipmitool/ipmi_channel.h:113:2: warning: type of bit-field 'non_null_usernames' is a GCC extension [-Wpedantic] uint8_t non_null_usernames : 1; /* one or more non-null users exist */ ^ ../include/ipmitool/ipmi_channel.h:114:2: warning: type of bit-field 'user_level_auth' is a GCC extension [-Wpedantic] uint8_t user_level_auth : 1; /* user-level authentication status */ ^ ../include/ipmitool/ipmi_channel.h:115:2: warning: type of bit-field 'per_message_auth' is a GCC extension [-Wpedantic] uint8_t per_message_auth : 1; /* per-message authentication status */ ^ ../include/ipmitool/ipmi_channel.h:116:2: warning: type of bit-field 'kg_status' is a GCC extension [-Wpedantic] uint8_t kg_status : 1; /* two-key login status */ ^ ../include/ipmitool/ipmi_channel.h:117:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2 : 2; ^ ../include/ipmitool/ipmi_channel.h:124:2: warning: type of bit-field 'ipmiv15_support' is a GCC extension [-Wpedantic] uint8_t ipmiv15_support : 1; /* channel supports IPMI v1.5 connections */ ^ ../include/ipmitool/ipmi_channel.h:125:2: warning: type of bit-field 'ipmiv20_support' is a GCC extension [-Wpedantic] uint8_t ipmiv20_support : 1; /* channel supports IPMI v2.0 connections */ ^ ../include/ipmitool/ipmi_channel.h:126:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3 : 6; ^ ../include/ipmitool/ipmi_channel.h:155:2: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel :4; ^ ../include/ipmitool/ipmi_channel.h:156:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1 :4; ^ ../include/ipmitool/ipmi_channel.h:158:2: warning: type of bit-field 'operation' is a GCC extension [-Wpedantic] uint8_t operation :2; ^ ../include/ipmitool/ipmi_channel.h:159:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2 :6; ^ ../include/ipmitool/ipmi_channel.h:172:2: warning: type of bit-field 'lock_status' is a GCC extension [-Wpedantic] uint8_t lock_status :2; ^ ../include/ipmitool/ipmi_channel.h:173:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1 :6; ^ ipmi_channel.c: In function '_ipmi_get_channel_access': ipmi_channel.c:75:9: warning: missing braces around initializer [-Wmissing-braces] struct ipmi_rq req = {0}; ^ ipmi_channel.c:75:9: warning: (near initialization for 'req.msg') [-Wmissing-braces] ipmi_channel.c: In function '_ipmi_get_channel_info': ipmi_channel.c:118:9: warning: missing braces around initializer [-Wmissing-braces] struct ipmi_rq req = {0}; ^ ipmi_channel.c:118:9: warning: (near initialization for 'req.msg') [-Wmissing-braces] ipmi_channel.c: In function 'ipmi_set_channel_security_keys': ipmi_channel.c:870:3: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(kgkey, key, IPMI_KG_BUFFER_SIZE-1); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdlib.h:24, from ipmi_channel.c:33: /usr/include/bits/string3.h:117:1: note: expected 'char * restrict' but argument is of type 'uint8_t *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_event.lo ipmi_event.c In file included from ipmi_event.c:46:0: ../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ In file included from ../include/ipmitool/ipmi_sdr.h:44:0, from ../include/ipmitool/ipmi_sel.h:38, from ipmi_event.c:50: ../include/ipmitool/ipmi_entity.h:45:2: warning: type of bit-field 'instance' is a GCC extension [-Wpedantic] uint8_t instance : 7; /* instance number */ ^ ../include/ipmitool/ipmi_entity.h:46:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical : 1; /* physical/logical */ ^ In file included from ../include/ipmitool/ipmi_sel.h:38:0, from ipmi_event.c:50: ../include/ipmitool/ipmi_sdr.h:215:4: warning: type of bit-field 'assert_lnc_low' is a GCC extension [-Wpedantic] uint16_t assert_lnc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:216:4: warning: type of bit-field 'assert_lnc_high' is a GCC extension [-Wpedantic] uint16_t assert_lnc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:217:4: warning: type of bit-field 'assert_lcr_low' is a GCC extension [-Wpedantic] uint16_t assert_lcr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:218:4: warning: type of bit-field 'assert_lcr_high' is a GCC extension [-Wpedantic] uint16_t assert_lcr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:219:4: warning: type of bit-field 'assert_lnr_low' is a GCC extension [-Wpedantic] uint16_t assert_lnr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:220:4: warning: type of bit-field 'assert_lnr_high' is a GCC extension [-Wpedantic] uint16_t assert_lnr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:221:4: warning: type of bit-field 'assert_unc_low' is a GCC extension [-Wpedantic] uint16_t assert_unc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:222:4: warning: type of bit-field 'assert_unc_high' is a GCC extension [-Wpedantic] uint16_t assert_unc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:223:4: warning: type of bit-field 'assert_ucr_low' is a GCC extension [-Wpedantic] uint16_t assert_ucr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:224:4: warning: type of bit-field 'assert_ucr_high' is a GCC extension [-Wpedantic] uint16_t assert_ucr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:225:4: warning: type of bit-field 'assert_unr_low' is a GCC extension [-Wpedantic] uint16_t assert_unr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:226:4: warning: type of bit-field 'assert_unr_high' is a GCC extension [-Wpedantic] uint16_t assert_unr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:227:4: warning: type of bit-field 'status_lnc' is a GCC extension [-Wpedantic] uint16_t status_lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:228:4: warning: type of bit-field 'status_lcr' is a GCC extension [-Wpedantic] uint16_t status_lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:229:4: warning: type of bit-field 'status_lnr' is a GCC extension [-Wpedantic] uint16_t status_lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:230:4: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:1; ^ ../include/ipmitool/ipmi_sdr.h:250:4: warning: type of bit-field 'deassert_lnc_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:251:4: warning: type of bit-field 'deassert_lnc_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:252:4: warning: type of bit-field 'deassert_lcr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:253:4: warning: type of bit-field 'deassert_lcr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:254:4: warning: type of bit-field 'deassert_lnr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:255:4: warning: type of bit-field 'deassert_lnr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:256:4: warning: type of bit-field 'deassert_unc_low' is a GCC extension [-Wpedantic] uint16_t deassert_unc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:257:4: warning: type of bit-field 'deassert_unc_high' is a GCC extension [-Wpedantic] uint16_t deassert_unc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:258:4: warning: type of bit-field 'deassert_ucr_low' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:259:4: warning: type of bit-field 'deassert_ucr_high' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:260:4: warning: type of bit-field 'deassert_unr_low' is a GCC extension [-Wpedantic] uint16_t deassert_unr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:261:4: warning: type of bit-field 'deassert_unr_high' is a GCC extension [-Wpedantic] uint16_t deassert_unr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:262:4: warning: type of bit-field 'status_unc' is a GCC extension [-Wpedantic] uint16_t status_unc:1; ^ ../include/ipmitool/ipmi_sdr.h:263:4: warning: type of bit-field 'status_ucr' is a GCC extension [-Wpedantic] uint16_t status_ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:264:4: warning: type of bit-field 'status_unr' is a GCC extension [-Wpedantic] uint16_t status_unr:1; ^ ../include/ipmitool/ipmi_sdr.h:265:4: warning: type of bit-field 'reserved_2' is a GCC extension [-Wpedantic] uint16_t reserved_2:1; ^ ../include/ipmitool/ipmi_sdr.h:280:6: warning: type of bit-field 'readable' is a GCC extension [-Wpedantic] uint16_t readable:8; ^ ../include/ipmitool/ipmi_sdr.h:281:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:282:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:283:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:284:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../include/ipmitool/ipmi_sdr.h:285:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:286:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_sdr.h:287:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:302:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:303:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:304:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:305:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../include/ipmitool/ipmi_sdr.h:306:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:307:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_sdr.h:308:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:309:6: warning: type of bit-field 'settable' is a GCC extension [-Wpedantic] uint16_t settable:8; ^ ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ../include/ipmitool/ipmi_sdr.h:331:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:332:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:333:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../include/ipmitool/ipmi_sdr.h:352:4: warning: type of bit-field 'sensor_scan' is a GCC extension [-Wpedantic] uint8_t sensor_scan:1; ^ ../include/ipmitool/ipmi_sdr.h:353:4: warning: type of bit-field 'event_gen' is a GCC extension [-Wpedantic] uint8_t event_gen:1; ^ ../include/ipmitool/ipmi_sdr.h:354:4: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] uint8_t type:1; ^ ../include/ipmitool/ipmi_sdr.h:355:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:1; ^ ../include/ipmitool/ipmi_sdr.h:356:4: warning: type of bit-field 'thresholds' is a GCC extension [-Wpedantic] uint8_t thresholds:1; ^ ../include/ipmitool/ipmi_sdr.h:357:4: warning: type of bit-field 'events' is a GCC extension [-Wpedantic] uint8_t events:1; ^ ../include/ipmitool/ipmi_sdr.h:358:4: warning: type of bit-field 'scanning' is a GCC extension [-Wpedantic] uint8_t scanning:1; ^ ../include/ipmitool/ipmi_sdr.h:359:4: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:1; ^ ../include/ipmitool/ipmi_sdr.h:370:4: warning: type of bit-field 'event_msg' is a GCC extension [-Wpedantic] uint8_t event_msg:2; ^ ../include/ipmitool/ipmi_sdr.h:371:4: warning: type of bit-field 'threshold' is a GCC extension [-Wpedantic] uint8_t threshold:2; ^ ../include/ipmitool/ipmi_sdr.h:372:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:2; ^ ../include/ipmitool/ipmi_sdr.h:373:4: warning: type of bit-field 'rearm' is a GCC extension [-Wpedantic] uint8_t rearm:1; ^ ../include/ipmitool/ipmi_sdr.h:374:4: warning: type of bit-field 'ignore' is a GCC extension [-Wpedantic] uint8_t ignore:1; ^ ../include/ipmitool/ipmi_sdr.h:391:3: warning: type of bit-field 'pct' is a GCC extension [-Wpedantic] uint8_t pct:1; ^ ../include/ipmitool/ipmi_sdr.h:392:3: warning: type of bit-field 'modifier' is a GCC extension [-Wpedantic] uint8_t modifier:2; ^ ../include/ipmitool/ipmi_sdr.h:393:3: warning: type of bit-field 'rate' is a GCC extension [-Wpedantic] uint8_t rate:3; ^ ../include/ipmitool/ipmi_sdr.h:394:3: warning: type of bit-field 'analog' is a GCC extension [-Wpedantic] uint8_t analog:2; ^ ../include/ipmitool/ipmi_sdr.h:422:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../include/ipmitool/ipmi_sdr.h:423:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../include/ipmitool/ipmi_sdr.h:424:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:430:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../include/ipmitool/ipmi_sdr.h:431:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../include/ipmitool/ipmi_sdr.h:462:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:463:3: warning: type of bit-field 'fru_owner' is a GCC extension [-Wpedantic] uint8_t fru_owner:2; /* fru device owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:464:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../include/ipmitool/ipmi_sdr.h:480:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../include/ipmitool/ipmi_sdr.h:481:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../include/ipmitool/ipmi_sdr.h:482:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:488:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../include/ipmitool/ipmi_sdr.h:489:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../include/ipmitool/ipmi_sdr.h:534:3: warning: type of bit-field 'nominal_read' is a GCC extension [-Wpedantic] uint8_t nominal_read:1; /* nominal reading field specified */ ^ ../include/ipmitool/ipmi_sdr.h:535:3: warning: type of bit-field 'normal_max' is a GCC extension [-Wpedantic] uint8_t normal_max:1; /* normal max field specified */ ^ ../include/ipmitool/ipmi_sdr.h:536:3: warning: type of bit-field 'normal_min' is a GCC extension [-Wpedantic] uint8_t normal_min:1; /* normal min field specified */ ^ ../include/ipmitool/ipmi_sdr.h:537:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_sdr.h:581:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_sdr.h:582:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:4; ^ ../include/ipmitool/ipmi_sdr.h:589:2: warning: type of bit-field 'global_init' is a GCC extension [-Wpedantic] uint8_t global_init:4; ^ ../include/ipmitool/ipmi_sdr.h:590:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:1; ^ ../include/ipmitool/ipmi_sdr.h:591:2: warning: type of bit-field 'pwr_state_notif' is a GCC extension [-Wpedantic] uint8_t pwr_state_notif:3; ^ ../include/ipmitool/ipmi_sdr.h:613:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../include/ipmitool/ipmi_sdr.h:614:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_sdr.h:615:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:2; ^ ../include/ipmitool/ipmi_sdr.h:616:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical:1; ^ ../include/ipmitool/ipmi_sdr.h:622:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:4; ^ ../include/ipmitool/ipmi_sdr.h:623:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_sdr.h:648:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../include/ipmitool/ipmi_sdr.h:649:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_sdr.h:650:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:3; ^ ../include/ipmitool/ipmi_sdr.h:656:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:5; ^ ../include/ipmitool/ipmi_sdr.h:657:2: warning: type of bit-field 'addr_span' is a GCC extension [-Wpedantic] uint8_t addr_span:3; ^ ../include/ipmitool/ipmi_sdr.h:683:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_sdr.h:684:3: warning: type of bit-field 'isaccessable' is a GCC extension [-Wpedantic] uint8_t isaccessable:1; ^ ../include/ipmitool/ipmi_sdr.h:685:3: warning: type of bit-field 'islinked' is a GCC extension [-Wpedantic] uint8_t islinked:1; ^ ../include/ipmitool/ipmi_sdr.h:686:3: warning: type of bit-field 'isrange' is a GCC extension [-Wpedantic] uint8_t isrange:1; ^ ../include/ipmitool/ipmi_sdr.h:730:2: warning: type of bit-field 'get_sdr_repository_allo_info_supported' is a GCC extension [-Wpedantic] uint8_t get_sdr_repository_allo_info_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:731:2: warning: type of bit-field 'reserve_sdr_repository_supported' is a GCC extension [-Wpedantic] uint8_t reserve_sdr_repository_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:732:2: warning: type of bit-field 'partial_add_sdr_supported' is a GCC extension [-Wpedantic] uint8_t partial_add_sdr_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:733:2: warning: type of bit-field 'delete_sdr_supported' is a GCC extension [-Wpedantic] uint8_t delete_sdr_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:734:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:1; ^ ../include/ipmitool/ipmi_sdr.h:735:2: warning: type of bit-field 'modal_update_support' is a GCC extension [-Wpedantic] uint8_t modal_update_support:2; ^ ../include/ipmitool/ipmi_sdr.h:736:2: warning: type of bit-field 'overflow_flag' is a GCC extension [-Wpedantic] uint8_t overflow_flag:1; ^ In file included from ipmi_event.c:50:0: ../include/ipmitool/ipmi_sel.h:83:2: warning: type of bit-field 'event_type' is a GCC extension [-Wpedantic] uint8_t event_type : 7; ^ ../include/ipmitool/ipmi_sel.h:84:2: warning: type of bit-field 'event_dir' is a GCC extension [-Wpedantic] uint8_t event_dir : 1; ^ In file included from ipmi_event.c:52:0: ../include/ipmitool/ipmi_channel.h:98:2: warning: type of bit-field 'enabled_auth_types' is a GCC extension [-Wpedantic] uint8_t enabled_auth_types : 6; /* IPMI v1.5 enabled auth types */ ^ ../include/ipmitool/ipmi_channel.h:99:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1 : 1; ^ ../include/ipmitool/ipmi_channel.h:100:2: warning: type of bit-field 'v20_data_available' is a GCC extension [-Wpedantic] uint8_t v20_data_available : 1; /* IPMI v2.0 data is available */ ^ ../include/ipmitool/ipmi_channel.h:111:2: warning: type of bit-field 'anon_login_enabled' is a GCC extension [-Wpedantic] uint8_t anon_login_enabled : 1; /* a null-named, null-pwd user exists */ ^ ../include/ipmitool/ipmi_channel.h:112:2: warning: type of bit-field 'null_usernames' is a GCC extension [-Wpedantic] uint8_t null_usernames : 1; /* one or more null usernames non-null pwds */ ^ ../include/ipmitool/ipmi_channel.h:113:2: warning: type of bit-field 'non_null_usernames' is a GCC extension [-Wpedantic] uint8_t non_null_usernames : 1; /* one or more non-null users exist */ ^ ../include/ipmitool/ipmi_channel.h:114:2: warning: type of bit-field 'user_level_auth' is a GCC extension [-Wpedantic] uint8_t user_level_auth : 1; /* user-level authentication status */ ^ ../include/ipmitool/ipmi_channel.h:115:2: warning: type of bit-field 'per_message_auth' is a GCC extension [-Wpedantic] uint8_t per_message_auth : 1; /* per-message authentication status */ ^ ../include/ipmitool/ipmi_channel.h:116:2: warning: type of bit-field 'kg_status' is a GCC extension [-Wpedantic] uint8_t kg_status : 1; /* two-key login status */ ^ ../include/ipmitool/ipmi_channel.h:117:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2 : 2; ^ ../include/ipmitool/ipmi_channel.h:124:2: warning: type of bit-field 'ipmiv15_support' is a GCC extension [-Wpedantic] uint8_t ipmiv15_support : 1; /* channel supports IPMI v1.5 connections */ ^ ../include/ipmitool/ipmi_channel.h:125:2: warning: type of bit-field 'ipmiv20_support' is a GCC extension [-Wpedantic] uint8_t ipmiv20_support : 1; /* channel supports IPMI v2.0 connections */ ^ ../include/ipmitool/ipmi_channel.h:126:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3 : 6; ^ ../include/ipmitool/ipmi_channel.h:155:2: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel :4; ^ ../include/ipmitool/ipmi_channel.h:156:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1 :4; ^ ../include/ipmitool/ipmi_channel.h:158:2: warning: type of bit-field 'operation' is a GCC extension [-Wpedantic] uint8_t operation :2; ^ ../include/ipmitool/ipmi_channel.h:159:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2 :6; ^ ../include/ipmitool/ipmi_channel.h:172:2: warning: type of bit-field 'lock_status' is a GCC extension [-Wpedantic] uint8_t lock_status :2; ^ ../include/ipmitool/ipmi_channel.h:173:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1 :6; ^ In file included from ipmi_event.c:53:0: ../include/ipmitool/ipmi_event.h:55:2: warning: type of bit-field 'event_type' is a GCC extension [-Wpedantic] uint8_t event_type : 7; ^ ../include/ipmitool/ipmi_event.h:56:2: warning: type of bit-field 'event_dir' is a GCC extension [-Wpedantic] uint8_t event_dir : 1; ^ In file included from ../include/ipmitool/ipmi.h:41:0, from ipmi_event.c:46: ipmi_event.c: In function 'ipmi_event_find_offset': ../include/ipmitool/helper.h:130:25: warning: ISO C forbids braced-groups within expressions [-Wpedantic] # define __maxlen(a, b) ({ int x=strlen(a); int y=strlen(b); (x > y) ? x : y;}) ^ ipmi_event.c:221:33: note: in expansion of macro '__maxlen' strncasecmp(desc, evt->desc, __maxlen(desc, evt->desc)) == 0) { ^ ipmi_event.c: In function 'ipmi_event_fromsensor': ipmi_event.c:407:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (x = 0; x < sizeof(digi_on)/sizeof(*digi_on); x++) { ^ ipmi_event.c:414:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (x = 0; x < sizeof(digi_on)/sizeof(*digi_on); x++) { ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_session.lo ipmi_session.c In file included from ipmi_session.c:44:0: ../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ In file included from ipmi_session.c:49:0: ../include/ipmitool/ipmi_session.h:57:2: warning: type of bit-field 'session_slot_count' is a GCC extension [-Wpedantic] uint8_t session_slot_count : 6; /* 1-based */ ^ ../include/ipmitool/ipmi_session.h:58:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1 : 2; ^ ../include/ipmitool/ipmi_session.h:65:2: warning: type of bit-field 'active_session_count' is a GCC extension [-Wpedantic] uint8_t active_session_count : 6; /* 1-based */ ^ ../include/ipmitool/ipmi_session.h:66:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2 : 2; ^ ../include/ipmitool/ipmi_session.h:73:2: warning: type of bit-field 'user_id' is a GCC extension [-Wpedantic] uint8_t user_id : 6; ^ ../include/ipmitool/ipmi_session.h:74:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3 : 2; ^ ../include/ipmitool/ipmi_session.h:81:2: warning: type of bit-field 'privilege_level' is a GCC extension [-Wpedantic] uint8_t privilege_level : 4; ^ ../include/ipmitool/ipmi_session.h:82:2: warning: type of bit-field '__reserved4' is a GCC extension [-Wpedantic] uint8_t __reserved4 : 4; ^ ../include/ipmitool/ipmi_session.h:89:2: warning: type of bit-field 'channel_number' is a GCC extension [-Wpedantic] uint8_t channel_number : 4; ^ ../include/ipmitool/ipmi_session.h:90:2: warning: type of bit-field 'auxiliary_data' is a GCC extension [-Wpedantic] uint8_t auxiliary_data : 4; ^ ../include/ipmitool/ipmi_session.h:112:4: warning: type of bit-field 'destination_selector' is a GCC extension [-Wpedantic] uint8_t destination_selector : 4; ^ ../include/ipmitool/ipmi_session.h:113:4: warning: type of bit-field '__reserved5' is a GCC extension [-Wpedantic] uint8_t __reserved5 : 4; ^ In file included from ../include/ipmitool/ipmi.h:41:0, from ipmi_session.c:44: ipmi_session.c: In function 'ipmi_get_session_info': ../include/ipmitool/helper.h:118:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_session.c:313:11: note: in expansion of macro '__min' __min(rsp->data_len, sizeof(session_info))); ^ ../include/ipmitool/helper.h:118:40: warning: signed and unsigned type in conditional expression [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_session.c:313:11: note: in expansion of macro '__min' __min(rsp->data_len, sizeof(session_info))); ^ ../include/ipmitool/helper.h:118:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_session.c:315:23: note: in expansion of macro '__min' __min(rsp->data_len, sizeof(session_info))); ^ ../include/ipmitool/helper.h:118:40: warning: signed and unsigned type in conditional expression [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_session.c:315:23: note: in expansion of macro '__min' __min(rsp->data_len, sizeof(session_info))); ^ ../include/ipmitool/helper.h:118:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_session.c:347:11: note: in expansion of macro '__min' __min(rsp->data_len, sizeof(session_info))); ^ ../include/ipmitool/helper.h:118:40: warning: signed and unsigned type in conditional expression [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_session.c:347:11: note: in expansion of macro '__min' __min(rsp->data_len, sizeof(session_info))); ^ ../include/ipmitool/helper.h:118:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_session.c:349:23: note: in expansion of macro '__min' __min(rsp->data_len, sizeof(session_info))); ^ ../include/ipmitool/helper.h:118:40: warning: signed and unsigned type in conditional expression [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_session.c:349:23: note: in expansion of macro '__min' __min(rsp->data_len, sizeof(session_info))); ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_strings.lo ipmi_strings.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_user.lo ipmi_user.c In file included from ../include/ipmitool/ipmi_sensor.h:38:0, from ipmi_strings.c:36: ../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ In file included from ../include/ipmitool/ipmi_sdr.h:44:0, from ../include/ipmitool/ipmi_sensor.h:39, from ipmi_strings.c:36: ../include/ipmitool/ipmi_entity.h:45:2: warning: type of bit-field 'instance' is a GCC extension [-Wpedantic] uint8_t instance : 7; /* instance number */ ^ ../include/ipmitool/ipmi_entity.h:46:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical : 1; /* physical/logical */ ^ In file included from ../include/ipmitool/ipmi_sensor.h:39:0, from ipmi_strings.c:36: ../include/ipmitool/ipmi_sdr.h:215:4: warning: type of bit-field 'assert_lnc_low' is a GCC extension [-Wpedantic] uint16_t assert_lnc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:216:4: warning: type of bit-field 'assert_lnc_high' is a GCC extension [-Wpedantic] uint16_t assert_lnc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:217:4: warning: type of bit-field 'assert_lcr_low' is a GCC extension [-Wpedantic] uint16_t assert_lcr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:218:4: warning: type of bit-field 'assert_lcr_high' is a GCC extension [-Wpedantic] uint16_t assert_lcr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:219:4: warning: type of bit-field 'assert_lnr_low' is a GCC extension [-Wpedantic] uint16_t assert_lnr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:220:4: warning: type of bit-field 'assert_lnr_high' is a GCC extension [-Wpedantic] uint16_t assert_lnr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:221:4: warning: type of bit-field 'assert_unc_low' is a GCC extension [-Wpedantic] uint16_t assert_unc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:222:4: warning: type of bit-field 'assert_unc_high' is a GCC extension [-Wpedantic] uint16_t assert_unc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:223:4: warning: type of bit-field 'assert_ucr_low' is a GCC extension [-Wpedantic] uint16_t assert_ucr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:224:4: warning: type of bit-field 'assert_ucr_high' is a GCC extension [-Wpedantic] uint16_t assert_ucr_high:1; ^ In file included from ipmi_user.c:48:0: ../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ipmi_user.c: In function '_ipmi_get_user_access': ipmi_user.c:72:9: warning: missing braces around initializer [-Wmissing-braces] struct ipmi_rq req = {0}; ^ ipmi_user.c:72:9: warning: (near initialization for 'req.msg') [-Wmissing-braces] ipmi_user.c: In function '_ipmi_get_user_name': ipmi_user.c:114:9: warning: missing braces around initializer [-Wmissing-braces] struct ipmi_rq req = {0}; ^ ipmi_user.c:114:9: warning: (near initialization for 'req.msg') [-Wmissing-braces] ipmi_user.c: In function '_ipmi_set_user_access': ipmi_user.c:152:9: warning: missing braces around initializer [-Wmissing-braces] struct ipmi_rq req = {0}; ^ ipmi_user.c:152:9: warning: (near initialization for 'req.msg') [-Wmissing-braces] ipmi_user.c: In function '_ipmi_set_user_password': ipmi_user.c:198:9: warning: missing braces around initializer [-Wmissing-braces] struct ipmi_rq req = {0}; ^ ipmi_user.c:198:9: warning: (near initialization for 'req.msg') [-Wmissing-braces] ipmi_user.c:212:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (copy_len > (data_len - 2)) { ^ ../include/ipmitool/ipmi_sdr.h:225:4: warning: type of bit-field 'assert_unr_low' is a GCC extension [-Wpedantic] uint16_t assert_unr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:226:4: warning: type of bit-field 'assert_unr_high' is a GCC extension [-Wpedantic] uint16_t assert_unr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:227:4: warning: type of bit-field 'status_lnc' is a GCC extension [-Wpedantic] uint16_t status_lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:228:4: warning: type of bit-field 'status_lcr' is a GCC extension [-Wpedantic] uint16_t status_lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:229:4: warning: type of bit-field 'status_lnr' is a GCC extension [-Wpedantic] uint16_t status_lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:230:4: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:1; ^ ../include/ipmitool/ipmi_sdr.h:250:4: warning: type of bit-field 'deassert_lnc_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:251:4: warning: type of bit-field 'deassert_lnc_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:252:4: warning: type of bit-field 'deassert_lcr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:253:4: warning: type of bit-field 'deassert_lcr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:254:4: warning: type of bit-field 'deassert_lnr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:255:4: warning: type of bit-field 'deassert_lnr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:256:4: warning: type of bit-field 'deassert_unc_low' is a GCC extension [-Wpedantic] uint16_t deassert_unc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:257:4: warning: type of bit-field 'deassert_unc_high' is a GCC extension [-Wpedantic] uint16_t deassert_unc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:258:4: warning: type of bit-field 'deassert_ucr_low' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:259:4: warning: type of bit-field 'deassert_ucr_high' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:260:4: warning: type of bit-field 'deassert_unr_low' is a GCC extension [-Wpedantic] uint16_t deassert_unr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:261:4: warning: type of bit-field 'deassert_unr_high' is a GCC extension [-Wpedantic] uint16_t deassert_unr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:262:4: warning: type of bit-field 'status_unc' is a GCC extension [-Wpedantic] uint16_t status_unc:1; ^ ../include/ipmitool/ipmi_sdr.h:263:4: warning: type of bit-field 'status_ucr' is a GCC extension [-Wpedantic] uint16_t status_ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:264:4: warning: type of bit-field 'status_unr' is a GCC extension [-Wpedantic] uint16_t status_unr:1; ^ ../include/ipmitool/ipmi_sdr.h:265:4: warning: type of bit-field 'reserved_2' is a GCC extension [-Wpedantic] uint16_t reserved_2:1; ^ ../include/ipmitool/ipmi_sdr.h:280:6: warning: type of bit-field 'readable' is a GCC extension [-Wpedantic] uint16_t readable:8; ^ ../include/ipmitool/ipmi_sdr.h:281:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:282:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:283:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:284:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../include/ipmitool/ipmi_sdr.h:285:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:286:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_sdr.h:287:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:302:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:303:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:304:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:305:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../include/ipmitool/ipmi_sdr.h:306:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:307:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_sdr.h:308:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:309:6: warning: type of bit-field 'settable' is a GCC extension [-Wpedantic] uint16_t settable:8; ^ ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ../include/ipmitool/ipmi_sdr.h:331:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:332:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:333:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../include/ipmitool/ipmi_sdr.h:352:4: warning: type of bit-field 'sensor_scan' is a GCC extension [-Wpedantic] uint8_t sensor_scan:1; ^ ../include/ipmitool/ipmi_sdr.h:353:4: warning: type of bit-field 'event_gen' is a GCC extension [-Wpedantic] uint8_t event_gen:1; ^ ../include/ipmitool/ipmi_sdr.h:354:4: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] uint8_t type:1; ^ ../include/ipmitool/ipmi_sdr.h:355:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:1; ^ ../include/ipmitool/ipmi_sdr.h:356:4: warning: type of bit-field 'thresholds' is a GCC extension [-Wpedantic] uint8_t thresholds:1; ^ ../include/ipmitool/ipmi_sdr.h:357:4: warning: type of bit-field 'events' is a GCC extension [-Wpedantic] uint8_t events:1; ^ ../include/ipmitool/ipmi_sdr.h:358:4: warning: type of bit-field 'scanning' is a GCC extension [-Wpedantic] uint8_t scanning:1; ^ ../include/ipmitool/ipmi_sdr.h:359:4: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:1; ^ ../include/ipmitool/ipmi_sdr.h:370:4: warning: type of bit-field 'event_msg' is a GCC extension [-Wpedantic] uint8_t event_msg:2; ^ ../include/ipmitool/ipmi_sdr.h:371:4: warning: type of bit-field 'threshold' is a GCC extension [-Wpedantic] uint8_t threshold:2; ^ ../include/ipmitool/ipmi_sdr.h:372:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:2; ^ ../include/ipmitool/ipmi_sdr.h:373:4: warning: type of bit-field 'rearm' is a GCC extension [-Wpedantic] uint8_t rearm:1; ^ ../include/ipmitool/ipmi_sdr.h:374:4: warning: type of bit-field 'ignore' is a GCC extension [-Wpedantic] uint8_t ignore:1; ^ ../include/ipmitool/ipmi_sdr.h:391:3: warning: type of bit-field 'pct' is a GCC extension [-Wpedantic] uint8_t pct:1; ^ ../include/ipmitool/ipmi_sdr.h:392:3: warning: type of bit-field 'modifier' is a GCC extension [-Wpedantic] uint8_t modifier:2; ^ ../include/ipmitool/ipmi_sdr.h:393:3: warning: type of bit-field 'rate' is a GCC extension [-Wpedantic] uint8_t rate:3; ^ ../include/ipmitool/ipmi_sdr.h:394:3: warning: type of bit-field 'analog' is a GCC extension [-Wpedantic] uint8_t analog:2; ^ ../include/ipmitool/ipmi_sdr.h:422:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../include/ipmitool/ipmi_sdr.h:423:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../include/ipmitool/ipmi_sdr.h:424:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:430:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../include/ipmitool/ipmi_sdr.h:431:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../include/ipmitool/ipmi_sdr.h:462:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:463:3: warning: type of bit-field 'fru_owner' is a GCC extension [-Wpedantic] uint8_t fru_owner:2; /* fru device owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:464:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../include/ipmitool/ipmi_sdr.h:480:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../include/ipmitool/ipmi_sdr.h:481:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../include/ipmitool/ipmi_sdr.h:482:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:488:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../include/ipmitool/ipmi_sdr.h:489:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../include/ipmitool/ipmi_sdr.h:534:3: warning: type of bit-field 'nominal_read' is a GCC extension [-Wpedantic] uint8_t nominal_read:1; /* nominal reading field specified */ ^ ../include/ipmitool/ipmi_sdr.h:535:3: warning: type of bit-field 'normal_max' is a GCC extension [-Wpedantic] uint8_t normal_max:1; /* normal max field specified */ ^ ../include/ipmitool/ipmi_sdr.h:536:3: warning: type of bit-field 'normal_min' is a GCC extension [-Wpedantic] uint8_t normal_min:1; /* normal min field specified */ ^ ../include/ipmitool/ipmi_sdr.h:537:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_sdr.h:581:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_sdr.h:582:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:4; ^ ../include/ipmitool/ipmi_sdr.h:589:2: warning: type of bit-field 'global_init' is a GCC extension [-Wpedantic] uint8_t global_init:4; ^ ../include/ipmitool/ipmi_sdr.h:590:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:1; ^ ../include/ipmitool/ipmi_sdr.h:591:2: warning: type of bit-field 'pwr_state_notif' is a GCC extension [-Wpedantic] uint8_t pwr_state_notif:3; ^ ../include/ipmitool/ipmi_sdr.h:613:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../include/ipmitool/ipmi_sdr.h:614:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_sdr.h:615:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:2; ^ ../include/ipmitool/ipmi_sdr.h:616:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical:1; ^ ../include/ipmitool/ipmi_sdr.h:622:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:4; ^ ../include/ipmitool/ipmi_sdr.h:623:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_sdr.h:648:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../include/ipmitool/ipmi_sdr.h:649:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_sdr.h:650:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:3; ^ ../include/ipmitool/ipmi_sdr.h:656:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:5; ^ ../include/ipmitool/ipmi_sdr.h:657:2: warning: type of bit-field 'addr_span' is a GCC extension [-Wpedantic] uint8_t addr_span:3; ^ ../include/ipmitool/ipmi_sdr.h:683:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_sdr.h:684:3: warning: type of bit-field 'isaccessable' is a GCC extension [-Wpedantic] uint8_t isaccessable:1; ^ ../include/ipmitool/ipmi_sdr.h:685:3: warning: type of bit-field 'islinked' is a GCC extension [-Wpedantic] uint8_t islinked:1; ^ ../include/ipmitool/ipmi_sdr.h:686:3: warning: type of bit-field 'isrange' is a GCC extension [-Wpedantic] uint8_t isrange:1; ^ ../include/ipmitool/ipmi_sdr.h:730:2: warning: type of bit-field 'get_sdr_repository_allo_info_supported' is a GCC extension [-Wpedantic] uint8_t get_sdr_repository_allo_info_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:731:2: warning: type of bit-field 'reserve_sdr_repository_supported' is a GCC extension [-Wpedantic] uint8_t reserve_sdr_repository_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:732:2: warning: type of bit-field 'partial_add_sdr_supported' is a GCC extension [-Wpedantic] uint8_t partial_add_sdr_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:733:2: warning: type of bit-field 'delete_sdr_supported' is a GCC extension [-Wpedantic] uint8_t delete_sdr_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:734:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:1; ^ ../include/ipmitool/ipmi_sdr.h:735:2: warning: type of bit-field 'modal_update_support' is a GCC extension [-Wpedantic] uint8_t modal_update_support:2; ^ ../include/ipmitool/ipmi_sdr.h:736:2: warning: type of bit-field 'overflow_flag' is a GCC extension [-Wpedantic] uint8_t overflow_flag:1; ^ In file included from ipmi_strings.c:37:0: ../include/ipmitool/ipmi_sel.h:83:2: warning: type of bit-field 'event_type' is a GCC extension [-Wpedantic] uint8_t event_type : 7; ^ ../include/ipmitool/ipmi_sel.h:84:2: warning: type of bit-field 'event_dir' is a GCC extension [-Wpedantic] uint8_t event_dir : 1; ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_raw.lo ipmi_raw.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_oem.lo ipmi_oem.c In file included from ipmi_raw.c:37:0: ../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ipmi_raw.c: In function 'ipmi_raw_main': ipmi_raw.c:334:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] else if (argc > sizeof(data)) ^ In file included from ipmi_oem.c:33:0: ../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ In file included from ../include/ipmitool/ipmi_sdr.h:44:0, from ../include/ipmitool/ipmi_sel.h:38, from ipmi_oem.c:38: ../include/ipmitool/ipmi_entity.h:45:2: warning: type of bit-field 'instance' is a GCC extension [-Wpedantic] uint8_t instance : 7; /* instance number */ ^ ../include/ipmitool/ipmi_entity.h:46:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical : 1; /* physical/logical */ ^ In file included from ../include/ipmitool/ipmi_sel.h:38:0, from ipmi_oem.c:38: ../include/ipmitool/ipmi_sdr.h:215:4: warning: type of bit-field 'assert_lnc_low' is a GCC extension [-Wpedantic] uint16_t assert_lnc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:216:4: warning: type of bit-field 'assert_lnc_high' is a GCC extension [-Wpedantic] uint16_t assert_lnc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:217:4: warning: type of bit-field 'assert_lcr_low' is a GCC extension [-Wpedantic] uint16_t assert_lcr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:218:4: warning: type of bit-field 'assert_lcr_high' is a GCC extension [-Wpedantic] uint16_t assert_lcr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:219:4: warning: type of bit-field 'assert_lnr_low' is a GCC extension [-Wpedantic] uint16_t assert_lnr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:220:4: warning: type of bit-field 'assert_lnr_high' is a GCC extension [-Wpedantic] uint16_t assert_lnr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:221:4: warning: type of bit-field 'assert_unc_low' is a GCC extension [-Wpedantic] uint16_t assert_unc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:222:4: warning: type of bit-field 'assert_unc_high' is a GCC extension [-Wpedantic] uint16_t assert_unc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:223:4: warning: type of bit-field 'assert_ucr_low' is a GCC extension [-Wpedantic] uint16_t assert_ucr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:224:4: warning: type of bit-field 'assert_ucr_high' is a GCC extension [-Wpedantic] uint16_t assert_ucr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:225:4: warning: type of bit-field 'assert_unr_low' is a GCC extension [-Wpedantic] uint16_t assert_unr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:226:4: warning: type of bit-field 'assert_unr_high' is a GCC extension [-Wpedantic] uint16_t assert_unr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:227:4: warning: type of bit-field 'status_lnc' is a GCC extension [-Wpedantic] uint16_t status_lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:228:4: warning: type of bit-field 'status_lcr' is a GCC extension [-Wpedantic] uint16_t status_lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:229:4: warning: type of bit-field 'status_lnr' is a GCC extension [-Wpedantic] uint16_t status_lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:230:4: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:1; ^ ../include/ipmitool/ipmi_sdr.h:250:4: warning: type of bit-field 'deassert_lnc_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:251:4: warning: type of bit-field 'deassert_lnc_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:252:4: warning: type of bit-field 'deassert_lcr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:253:4: warning: type of bit-field 'deassert_lcr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:254:4: warning: type of bit-field 'deassert_lnr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:255:4: warning: type of bit-field 'deassert_lnr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:256:4: warning: type of bit-field 'deassert_unc_low' is a GCC extension [-Wpedantic] uint16_t deassert_unc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:257:4: warning: type of bit-field 'deassert_unc_high' is a GCC extension [-Wpedantic] uint16_t deassert_unc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:258:4: warning: type of bit-field 'deassert_ucr_low' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:259:4: warning: type of bit-field 'deassert_ucr_high' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:260:4: warning: type of bit-field 'deassert_unr_low' is a GCC extension [-Wpedantic] uint16_t deassert_unr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:261:4: warning: type of bit-field 'deassert_unr_high' is a GCC extension [-Wpedantic] uint16_t deassert_unr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:262:4: warning: type of bit-field 'status_unc' is a GCC extension [-Wpedantic] uint16_t status_unc:1; ^ ../include/ipmitool/ipmi_sdr.h:263:4: warning: type of bit-field 'status_ucr' is a GCC extension [-Wpedantic] uint16_t status_ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:264:4: warning: type of bit-field 'status_unr' is a GCC extension [-Wpedantic] uint16_t status_unr:1; ^ ../include/ipmitool/ipmi_sdr.h:265:4: warning: type of bit-field 'reserved_2' is a GCC extension [-Wpedantic] uint16_t reserved_2:1; ^ ../include/ipmitool/ipmi_sdr.h:280:6: warning: type of bit-field 'readable' is a GCC extension [-Wpedantic] uint16_t readable:8; ^ ../include/ipmitool/ipmi_sdr.h:281:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:282:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:283:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:284:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../include/ipmitool/ipmi_sdr.h:285:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:286:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_sdr.h:287:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:302:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:303:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:304:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:305:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../include/ipmitool/ipmi_sdr.h:306:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:307:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_sdr.h:308:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:309:6: warning: type of bit-field 'settable' is a GCC extension [-Wpedantic] uint16_t settable:8; ^ ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ../include/ipmitool/ipmi_sdr.h:331:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:332:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:333:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../include/ipmitool/ipmi_sdr.h:352:4: warning: type of bit-field 'sensor_scan' is a GCC extension [-Wpedantic] uint8_t sensor_scan:1; ^ ../include/ipmitool/ipmi_sdr.h:353:4: warning: type of bit-field 'event_gen' is a GCC extension [-Wpedantic] uint8_t event_gen:1; ^ ../include/ipmitool/ipmi_sdr.h:354:4: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] uint8_t type:1; ^ ../include/ipmitool/ipmi_sdr.h:355:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:1; ^ ../include/ipmitool/ipmi_sdr.h:356:4: warning: type of bit-field 'thresholds' is a GCC extension [-Wpedantic] uint8_t thresholds:1; ^ ../include/ipmitool/ipmi_sdr.h:357:4: warning: type of bit-field 'events' is a GCC extension [-Wpedantic] uint8_t events:1; ^ ../include/ipmitool/ipmi_sdr.h:358:4: warning: type of bit-field 'scanning' is a GCC extension [-Wpedantic] uint8_t scanning:1; ^ ../include/ipmitool/ipmi_sdr.h:359:4: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:1; ^ ../include/ipmitool/ipmi_sdr.h:370:4: warning: type of bit-field 'event_msg' is a GCC extension [-Wpedantic] uint8_t event_msg:2; ^ ../include/ipmitool/ipmi_sdr.h:371:4: warning: type of bit-field 'threshold' is a GCC extension [-Wpedantic] uint8_t threshold:2; ^ ../include/ipmitool/ipmi_sdr.h:372:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:2; ^ ../include/ipmitool/ipmi_sdr.h:373:4: warning: type of bit-field 'rearm' is a GCC extension [-Wpedantic] uint8_t rearm:1; ^ ../include/ipmitool/ipmi_sdr.h:374:4: warning: type of bit-field 'ignore' is a GCC extension [-Wpedantic] uint8_t ignore:1; ^ ../include/ipmitool/ipmi_sdr.h:391:3: warning: type of bit-field 'pct' is a GCC extension [-Wpedantic] uint8_t pct:1; ^ ../include/ipmitool/ipmi_sdr.h:392:3: warning: type of bit-field 'modifier' is a GCC extension [-Wpedantic] uint8_t modifier:2; ^ ../include/ipmitool/ipmi_sdr.h:393:3: warning: type of bit-field 'rate' is a GCC extension [-Wpedantic] uint8_t rate:3; ^ ../include/ipmitool/ipmi_sdr.h:394:3: warning: type of bit-field 'analog' is a GCC extension [-Wpedantic] uint8_t analog:2; ^ ../include/ipmitool/ipmi_sdr.h:422:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../include/ipmitool/ipmi_sdr.h:423:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../include/ipmitool/ipmi_sdr.h:424:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:430:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../include/ipmitool/ipmi_sdr.h:431:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../include/ipmitool/ipmi_sdr.h:462:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:463:3: warning: type of bit-field 'fru_owner' is a GCC extension [-Wpedantic] uint8_t fru_owner:2; /* fru device owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:464:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../include/ipmitool/ipmi_sdr.h:480:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../include/ipmitool/ipmi_sdr.h:481:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../include/ipmitool/ipmi_sdr.h:482:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:488:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../include/ipmitool/ipmi_sdr.h:489:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../include/ipmitool/ipmi_sdr.h:534:3: warning: type of bit-field 'nominal_read' is a GCC extension [-Wpedantic] uint8_t nominal_read:1; /* nominal reading field specified */ ^ ../include/ipmitool/ipmi_sdr.h:535:3: warning: type of bit-field 'normal_max' is a GCC extension [-Wpedantic] uint8_t normal_max:1; /* normal max field specified */ ^ ../include/ipmitool/ipmi_sdr.h:536:3: warning: type of bit-field 'normal_min' is a GCC extension [-Wpedantic] uint8_t normal_min:1; /* normal min field specified */ ^ ../include/ipmitool/ipmi_sdr.h:537:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_sdr.h:581:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_sdr.h:582:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:4; ^ ../include/ipmitool/ipmi_sdr.h:589:2: warning: type of bit-field 'global_init' is a GCC extension [-Wpedantic] uint8_t global_init:4; ^ ../include/ipmitool/ipmi_sdr.h:590:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:1; ^ ../include/ipmitool/ipmi_sdr.h:591:2: warning: type of bit-field 'pwr_state_notif' is a GCC extension [-Wpedantic] uint8_t pwr_state_notif:3; ^ ../include/ipmitool/ipmi_sdr.h:613:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../include/ipmitool/ipmi_sdr.h:614:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_sdr.h:615:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:2; ^ ../include/ipmitool/ipmi_sdr.h:616:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical:1; ^ ../include/ipmitool/ipmi_sdr.h:622:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:4; ^ ../include/ipmitool/ipmi_sdr.h:623:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_sdr.h:648:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../include/ipmitool/ipmi_sdr.h:649:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_sdr.h:650:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:3; ^ ../include/ipmitool/ipmi_sdr.h:656:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:5; ^ ../include/ipmitool/ipmi_sdr.h:657:2: warning: type of bit-field 'addr_span' is a GCC extension [-Wpedantic] uint8_t addr_span:3; ^ ../include/ipmitool/ipmi_sdr.h:683:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_sdr.h:684:3: warning: type of bit-field 'isaccessable' is a GCC extension [-Wpedantic] uint8_t isaccessable:1; ^ ../include/ipmitool/ipmi_sdr.h:685:3: warning: type of bit-field 'islinked' is a GCC extension [-Wpedantic] uint8_t islinked:1; ^ ../include/ipmitool/ipmi_sdr.h:686:3: warning: type of bit-field 'isrange' is a GCC extension [-Wpedantic] uint8_t isrange:1; ^ ../include/ipmitool/ipmi_sdr.h:730:2: warning: type of bit-field 'get_sdr_repository_allo_info_supported' is a GCC extension [-Wpedantic] uint8_t get_sdr_repository_allo_info_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:731:2: warning: type of bit-field 'reserve_sdr_repository_supported' is a GCC extension [-Wpedantic] uint8_t reserve_sdr_repository_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:732:2: warning: type of bit-field 'partial_add_sdr_supported' is a GCC extension [-Wpedantic] uint8_t partial_add_sdr_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:733:2: warning: type of bit-field 'delete_sdr_supported' is a GCC extension [-Wpedantic] uint8_t delete_sdr_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:734:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:1; ^ ../include/ipmitool/ipmi_sdr.h:735:2: warning: type of bit-field 'modal_update_support' is a GCC extension [-Wpedantic] uint8_t modal_update_support:2; ^ ../include/ipmitool/ipmi_sdr.h:736:2: warning: type of bit-field 'overflow_flag' is a GCC extension [-Wpedantic] uint8_t overflow_flag:1; ^ In file included from ipmi_oem.c:38:0: ../include/ipmitool/ipmi_sel.h:83:2: warning: type of bit-field 'event_type' is a GCC extension [-Wpedantic] uint8_t event_type : 7; ^ ../include/ipmitool/ipmi_sel.h:84:2: warning: type of bit-field 'event_dir' is a GCC extension [-Wpedantic] uint8_t event_dir : 1; ^ ipmi_oem.c: In function 'ipmi_oem_ibm': ipmi_oem.c:86:33: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_oem_ibm(struct ipmi_intf * intf) ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_isol.lo ipmi_isol.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sunoem.lo ipmi_sunoem.c In file included from ipmi_isol.c:50:0: ../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ipmi_isol.c: In function 'ipmi_isol_red_pill': ipmi_isol.c:618:6: warning: pointer targets in passing argument 2 of 'processiSolUserInput' differ in signedness [-Wpointer-sign] int rc = processiSolUserInput(intf, buffer, numRead); ^ ipmi_isol.c:457:1: note: expected 'uint8_t *' but argument is of type 'char *' processiSolUserInput(struct ipmi_intf * intf, ^ In file included from ipmi_sunoem.c:53:0: ../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_fwum.lo ipmi_fwum.c In file included from ../include/ipmitool/ipmi_sdr.h:44:0, from ../include/ipmitool/ipmi_sel.h:38, from ipmi_sunoem.c:57: ../include/ipmitool/ipmi_entity.h:45:2: warning: type of bit-field 'instance' is a GCC extension [-Wpedantic] uint8_t instance : 7; /* instance number */ ^ ../include/ipmitool/ipmi_entity.h:46:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical : 1; /* physical/logical */ ^ In file included from ../include/ipmitool/ipmi_sel.h:38:0, from ipmi_sunoem.c:57: ../include/ipmitool/ipmi_sdr.h:215:4: warning: type of bit-field 'assert_lnc_low' is a GCC extension [-Wpedantic] uint16_t assert_lnc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:216:4: warning: type of bit-field 'assert_lnc_high' is a GCC extension [-Wpedantic] uint16_t assert_lnc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:217:4: warning: type of bit-field 'assert_lcr_low' is a GCC extension [-Wpedantic] uint16_t assert_lcr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:218:4: warning: type of bit-field 'assert_lcr_high' is a GCC extension [-Wpedantic] uint16_t assert_lcr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:219:4: warning: type of bit-field 'assert_lnr_low' is a GCC extension [-Wpedantic] uint16_t assert_lnr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:220:4: warning: type of bit-field 'assert_lnr_high' is a GCC extension [-Wpedantic] uint16_t assert_lnr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:221:4: warning: type of bit-field 'assert_unc_low' is a GCC extension [-Wpedantic] uint16_t assert_unc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:222:4: warning: type of bit-field 'assert_unc_high' is a GCC extension [-Wpedantic] uint16_t assert_unc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:223:4: warning: type of bit-field 'assert_ucr_low' is a GCC extension [-Wpedantic] uint16_t assert_ucr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:224:4: warning: type of bit-field 'assert_ucr_high' is a GCC extension [-Wpedantic] uint16_t assert_ucr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:225:4: warning: type of bit-field 'assert_unr_low' is a GCC extension [-Wpedantic] uint16_t assert_unr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:226:4: warning: type of bit-field 'assert_unr_high' is a GCC extension [-Wpedantic] uint16_t assert_unr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:227:4: warning: type of bit-field 'status_lnc' is a GCC extension [-Wpedantic] uint16_t status_lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:228:4: warning: type of bit-field 'status_lcr' is a GCC extension [-Wpedantic] uint16_t status_lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:229:4: warning: type of bit-field 'status_lnr' is a GCC extension [-Wpedantic] uint16_t status_lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:230:4: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:1; ^ ../include/ipmitool/ipmi_sdr.h:250:4: warning: type of bit-field 'deassert_lnc_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:251:4: warning: type of bit-field 'deassert_lnc_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:252:4: warning: type of bit-field 'deassert_lcr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:253:4: warning: type of bit-field 'deassert_lcr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:254:4: warning: type of bit-field 'deassert_lnr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:255:4: warning: type of bit-field 'deassert_lnr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:256:4: warning: type of bit-field 'deassert_unc_low' is a GCC extension [-Wpedantic] uint16_t deassert_unc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:257:4: warning: type of bit-field 'deassert_unc_high' is a GCC extension [-Wpedantic] uint16_t deassert_unc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:258:4: warning: type of bit-field 'deassert_ucr_low' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:259:4: warning: type of bit-field 'deassert_ucr_high' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:260:4: warning: type of bit-field 'deassert_unr_low' is a GCC extension [-Wpedantic] uint16_t deassert_unr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:261:4: warning: type of bit-field 'deassert_unr_high' is a GCC extension [-Wpedantic] uint16_t deassert_unr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:262:4: warning: type of bit-field 'status_unc' is a GCC extension [-Wpedantic] uint16_t status_unc:1; ^ ../include/ipmitool/ipmi_sdr.h:263:4: warning: type of bit-field 'status_ucr' is a GCC extension [-Wpedantic] uint16_t status_ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:264:4: warning: type of bit-field 'status_unr' is a GCC extension [-Wpedantic] uint16_t status_unr:1; ^ ../include/ipmitool/ipmi_sdr.h:265:4: warning: type of bit-field 'reserved_2' is a GCC extension [-Wpedantic] uint16_t reserved_2:1; ^ ../include/ipmitool/ipmi_sdr.h:280:6: warning: type of bit-field 'readable' is a GCC extension [-Wpedantic] uint16_t readable:8; ^ ../include/ipmitool/ipmi_sdr.h:281:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:282:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:283:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:284:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../include/ipmitool/ipmi_sdr.h:285:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:286:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_sdr.h:287:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:302:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:303:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:304:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:305:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../include/ipmitool/ipmi_sdr.h:306:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:307:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_sdr.h:308:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:309:6: warning: type of bit-field 'settable' is a GCC extension [-Wpedantic] uint16_t settable:8; ^ ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ../include/ipmitool/ipmi_sdr.h:331:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:332:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:333:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../include/ipmitool/ipmi_sdr.h:352:4: warning: type of bit-field 'sensor_scan' is a GCC extension [-Wpedantic] uint8_t sensor_scan:1; ^ ../include/ipmitool/ipmi_sdr.h:353:4: warning: type of bit-field 'event_gen' is a GCC extension [-Wpedantic] uint8_t event_gen:1; ^ ../include/ipmitool/ipmi_sdr.h:354:4: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] uint8_t type:1; ^ ../include/ipmitool/ipmi_sdr.h:355:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:1; ^ ../include/ipmitool/ipmi_sdr.h:356:4: warning: type of bit-field 'thresholds' is a GCC extension [-Wpedantic] uint8_t thresholds:1; ^ ../include/ipmitool/ipmi_sdr.h:357:4: warning: type of bit-field 'events' is a GCC extension [-Wpedantic] uint8_t events:1; ^ ../include/ipmitool/ipmi_sdr.h:358:4: warning: type of bit-field 'scanning' is a GCC extension [-Wpedantic] uint8_t scanning:1; ^ ../include/ipmitool/ipmi_sdr.h:359:4: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:1; ^ ../include/ipmitool/ipmi_sdr.h:370:4: warning: type of bit-field 'event_msg' is a GCC extension [-Wpedantic] uint8_t event_msg:2; ^ ../include/ipmitool/ipmi_sdr.h:371:4: warning: type of bit-field 'threshold' is a GCC extension [-Wpedantic] uint8_t threshold:2; ^ ../include/ipmitool/ipmi_sdr.h:372:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:2; ^ ../include/ipmitool/ipmi_sdr.h:373:4: warning: type of bit-field 'rearm' is a GCC extension [-Wpedantic] uint8_t rearm:1; ^ ../include/ipmitool/ipmi_sdr.h:374:4: warning: type of bit-field 'ignore' is a GCC extension [-Wpedantic] uint8_t ignore:1; ^ ../include/ipmitool/ipmi_sdr.h:391:3: warning: type of bit-field 'pct' is a GCC extension [-Wpedantic] uint8_t pct:1; ^ ../include/ipmitool/ipmi_sdr.h:392:3: warning: type of bit-field 'modifier' is a GCC extension [-Wpedantic] uint8_t modifier:2; ^ ../include/ipmitool/ipmi_sdr.h:393:3: warning: type of bit-field 'rate' is a GCC extension [-Wpedantic] uint8_t rate:3; ^ ../include/ipmitool/ipmi_sdr.h:394:3: warning: type of bit-field 'analog' is a GCC extension [-Wpedantic] uint8_t analog:2; ^ ../include/ipmitool/ipmi_sdr.h:422:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../include/ipmitool/ipmi_sdr.h:423:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../include/ipmitool/ipmi_sdr.h:424:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:430:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../include/ipmitool/ipmi_sdr.h:431:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../include/ipmitool/ipmi_sdr.h:462:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:463:3: warning: type of bit-field 'fru_owner' is a GCC extension [-Wpedantic] uint8_t fru_owner:2; /* fru device owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:464:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../include/ipmitool/ipmi_sdr.h:480:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../include/ipmitool/ipmi_sdr.h:481:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../include/ipmitool/ipmi_sdr.h:482:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:488:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../include/ipmitool/ipmi_sdr.h:489:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../include/ipmitool/ipmi_sdr.h:534:3: warning: type of bit-field 'nominal_read' is a GCC extension [-Wpedantic] uint8_t nominal_read:1; /* nominal reading field specified */ ^ ../include/ipmitool/ipmi_sdr.h:535:3: warning: type of bit-field 'normal_max' is a GCC extension [-Wpedantic] uint8_t normal_max:1; /* normal max field specified */ ^ ../include/ipmitool/ipmi_sdr.h:536:3: warning: type of bit-field 'normal_min' is a GCC extension [-Wpedantic] uint8_t normal_min:1; /* normal min field specified */ ^ ../include/ipmitool/ipmi_sdr.h:537:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_sdr.h:581:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_sdr.h:582:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:4; ^ ../include/ipmitool/ipmi_sdr.h:589:2: warning: type of bit-field 'global_init' is a GCC extension [-Wpedantic] uint8_t global_init:4; ^ ../include/ipmitool/ipmi_sdr.h:590:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:1; ^ ../include/ipmitool/ipmi_sdr.h:591:2: warning: type of bit-field 'pwr_state_notif' is a GCC extension [-Wpedantic] uint8_t pwr_state_notif:3; ^ ../include/ipmitool/ipmi_sdr.h:613:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../include/ipmitool/ipmi_sdr.h:614:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_sdr.h:615:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:2; ^ ../include/ipmitool/ipmi_sdr.h:616:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical:1; ^ ../include/ipmitool/ipmi_sdr.h:622:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:4; ^ ../include/ipmitool/ipmi_sdr.h:623:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_sdr.h:648:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../include/ipmitool/ipmi_sdr.h:649:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_sdr.h:650:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:3; ^ ../include/ipmitool/ipmi_sdr.h:656:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:5; ^ ../include/ipmitool/ipmi_sdr.h:657:2: warning: type of bit-field 'addr_span' is a GCC extension [-Wpedantic] uint8_t addr_span:3; ^ ../include/ipmitool/ipmi_sdr.h:683:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_sdr.h:684:3: warning: type of bit-field 'isaccessable' is a GCC extension [-Wpedantic] uint8_t isaccessable:1; ^ ../include/ipmitool/ipmi_sdr.h:685:3: warning: type of bit-field 'islinked' is a GCC extension [-Wpedantic] uint8_t islinked:1; ^ ../include/ipmitool/ipmi_sdr.h:686:3: warning: type of bit-field 'isrange' is a GCC extension [-Wpedantic] uint8_t isrange:1; ^ ../include/ipmitool/ipmi_sdr.h:730:2: warning: type of bit-field 'get_sdr_repository_allo_info_supported' is a GCC extension [-Wpedantic] uint8_t get_sdr_repository_allo_info_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:731:2: warning: type of bit-field 'reserve_sdr_repository_supported' is a GCC extension [-Wpedantic] uint8_t reserve_sdr_repository_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:732:2: warning: type of bit-field 'partial_add_sdr_supported' is a GCC extension [-Wpedantic] uint8_t partial_add_sdr_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:733:2: warning: type of bit-field 'delete_sdr_supported' is a GCC extension [-Wpedantic] uint8_t delete_sdr_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:734:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:1; ^ ../include/ipmitool/ipmi_sdr.h:735:2: warning: type of bit-field 'modal_update_support' is a GCC extension [-Wpedantic] uint8_t modal_update_support:2; ^ ../include/ipmitool/ipmi_sdr.h:736:2: warning: type of bit-field 'overflow_flag' is a GCC extension [-Wpedantic] uint8_t overflow_flag:1; ^ In file included from ipmi_sunoem.c:57:0: ../include/ipmitool/ipmi_sel.h:83:2: warning: type of bit-field 'event_type' is a GCC extension [-Wpedantic] uint8_t event_type : 7; ^ ../include/ipmitool/ipmi_sel.h:84:2: warning: type of bit-field 'event_dir' is a GCC extension [-Wpedantic] uint8_t event_dir : 1; ^ In file included from ipmi_sunoem.c:60:0: ../include/ipmitool/ipmi_channel.h:98:2: warning: type of bit-field 'enabled_auth_types' is a GCC extension [-Wpedantic] uint8_t enabled_auth_types : 6; /* IPMI v1.5 enabled auth types */ ^ ../include/ipmitool/ipmi_channel.h:99:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1 : 1; ^ ../include/ipmitool/ipmi_channel.h:100:2: warning: type of bit-field 'v20_data_available' is a GCC extension [-Wpedantic] uint8_t v20_data_available : 1; /* IPMI v2.0 data is available */ ^ ../include/ipmitool/ipmi_channel.h:111:2: warning: type of bit-field 'anon_login_enabled' is a GCC extension [-Wpedantic] uint8_t anon_login_enabled : 1; /* a null-named, null-pwd user exists */ ^ ../include/ipmitool/ipmi_channel.h:112:2: warning: type of bit-field 'null_usernames' is a GCC extension [-Wpedantic] uint8_t null_usernames : 1; /* one or more null usernames non-null pwds */ ^ ../include/ipmitool/ipmi_channel.h:113:2: warning: type of bit-field 'non_null_usernames' is a GCC extension [-Wpedantic] uint8_t non_null_usernames : 1; /* one or more non-null users exist */ ^ ../include/ipmitool/ipmi_channel.h:114:2: warning: type of bit-field 'user_level_auth' is a GCC extension [-Wpedantic] uint8_t user_level_auth : 1; /* user-level authentication status */ ^ ../include/ipmitool/ipmi_channel.h:115:2: warning: type of bit-field 'per_message_auth' is a GCC extension [-Wpedantic] uint8_t per_message_auth : 1; /* per-message authentication status */ ^ ../include/ipmitool/ipmi_channel.h:116:2: warning: type of bit-field 'kg_status' is a GCC extension [-Wpedantic] uint8_t kg_status : 1; /* two-key login status */ ^ ../include/ipmitool/ipmi_channel.h:117:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2 : 2; ^ ../include/ipmitool/ipmi_channel.h:124:2: warning: type of bit-field 'ipmiv15_support' is a GCC extension [-Wpedantic] uint8_t ipmiv15_support : 1; /* channel supports IPMI v1.5 connections */ ^ ../include/ipmitool/ipmi_channel.h:125:2: warning: type of bit-field 'ipmiv20_support' is a GCC extension [-Wpedantic] uint8_t ipmiv20_support : 1; /* channel supports IPMI v2.0 connections */ ^ ../include/ipmitool/ipmi_channel.h:126:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3 : 6; ^ ../include/ipmitool/ipmi_channel.h:155:2: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel :4; ^ ../include/ipmitool/ipmi_channel.h:156:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1 :4; ^ ../include/ipmitool/ipmi_channel.h:158:2: warning: type of bit-field 'operation' is a GCC extension [-Wpedantic] uint8_t operation :2; ^ ../include/ipmitool/ipmi_channel.h:159:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2 :6; ^ ../include/ipmitool/ipmi_channel.h:172:2: warning: type of bit-field 'lock_status' is a GCC extension [-Wpedantic] uint8_t lock_status :2; ^ ../include/ipmitool/ipmi_channel.h:173:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1 :6; ^ ipmi_sunoem.c: In function 'ipmi_sunoem_echo': ipmi_sunoem.c:1440:6: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'unsigned int' [-Wformat=] sizeof(sunoem_echo_msg_t), echo_rsp->seq_num, resp_time); ^ ipmi_sunoem.c: In function 'ipmi_sunoem_getbehavior': ipmi_sunoem.c:2293:2: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(getbehavior_req.behavior_id, argv[0], SUNOEM_BEHAVIORID_SIZE - 1); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdlib.h:24, from ipmi_sunoem.c:34: /usr/include/bits/string3.h:117:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_picmg.lo ipmi_picmg.c In file included from ipmi_fwum.c:43:0: ../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ In file included from ipmi_fwum.c:44:0: ../include/ipmitool/ipmi_fwum.h:140:3: warning: type of bit-field 'mode' is a GCC extension [-Wpedantic] unsigned char mode:1; ^ ../include/ipmitool/ipmi_fwum.h:141:3: warning: type of bit-field 'seqAdd' is a GCC extension [-Wpedantic] unsigned char seqAdd:1; ^ ../include/ipmitool/ipmi_fwum.h:142:3: warning: type of bit-field 'res' is a GCC extension [-Wpedantic] unsigned char res : 6; ^ ipmi_fwum.c: In function 'KfwumSetupBuffersFromFile': ipmi_fwum.c:365:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] modulus, pFileHandle) == modulus) { ^ In file included from ../include/ipmitool/ipmi_intf.h:36:0, from ipmi_picmg.c:34: ../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ In file included from ipmi_picmg.c:35:0: ../include/ipmitool/ipmi_picmg.h:186:4: warning: type of bit-field 'lane0' is a GCC extension [-Wpedantic] unsigned short lane0 : 1; ^ ../include/ipmitool/ipmi_picmg.h:187:4: warning: type of bit-field 'lane1' is a GCC extension [-Wpedantic] unsigned short lane1 : 1; ^ ../include/ipmitool/ipmi_picmg.h:188:4: warning: type of bit-field 'lane2' is a GCC extension [-Wpedantic] unsigned short lane2 : 1; ^ ../include/ipmitool/ipmi_picmg.h:189:4: warning: type of bit-field 'lane3' is a GCC extension [-Wpedantic] unsigned short lane3 : 1; ^ ../include/ipmitool/ipmi_picmg.h:190:4: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] unsigned short type : 8; ^ ../include/ipmitool/ipmi_picmg.h:191:4: warning: type of bit-field 'type_ext' is a GCC extension [-Wpedantic] unsigned short type_ext : 4; ^ ../include/ipmitool/ipmi_picmg.h:192:4: warning: type of bit-field 'group_id' is a GCC extension [-Wpedantic] unsigned char group_id : 8; ^ In file included from ../include/ipmitool/ipmi_sdr.h:44:0, from ../include/ipmitool/ipmi_fru.h:38, from ipmi_picmg.c:36: ../include/ipmitool/ipmi_entity.h:45:2: warning: type of bit-field 'instance' is a GCC extension [-Wpedantic] uint8_t instance : 7; /* instance number */ ^ ../include/ipmitool/ipmi_entity.h:46:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical : 1; /* physical/logical */ ^ In file included from ../include/ipmitool/ipmi_fru.h:38:0, from ipmi_picmg.c:36: ../include/ipmitool/ipmi_sdr.h:215:4: warning: type of bit-field 'assert_lnc_low' is a GCC extension [-Wpedantic] uint16_t assert_lnc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:216:4: warning: type of bit-field 'assert_lnc_high' is a GCC extension [-Wpedantic] uint16_t assert_lnc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:217:4: warning: type of bit-field 'assert_lcr_low' is a GCC extension [-Wpedantic] uint16_t assert_lcr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:218:4: warning: type of bit-field 'assert_lcr_high' is a GCC extension [-Wpedantic] uint16_t assert_lcr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:219:4: warning: type of bit-field 'assert_lnr_low' is a GCC extension [-Wpedantic] uint16_t assert_lnr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:220:4: warning: type of bit-field 'assert_lnr_high' is a GCC extension [-Wpedantic] uint16_t assert_lnr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:221:4: warning: type of bit-field 'assert_unc_low' is a GCC extension [-Wpedantic] uint16_t assert_unc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:222:4: warning: type of bit-field 'assert_unc_high' is a GCC extension [-Wpedantic] uint16_t assert_unc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:223:4: warning: type of bit-field 'assert_ucr_low' is a GCC extension [-Wpedantic] uint16_t assert_ucr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:224:4: warning: type of bit-field 'assert_ucr_high' is a GCC extension [-Wpedantic] uint16_t assert_ucr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:225:4: warning: type of bit-field 'assert_unr_low' is a GCC extension [-Wpedantic] uint16_t assert_unr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:226:4: warning: type of bit-field 'assert_unr_high' is a GCC extension [-Wpedantic] uint16_t assert_unr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:227:4: warning: type of bit-field 'status_lnc' is a GCC extension [-Wpedantic] uint16_t status_lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:228:4: warning: type of bit-field 'status_lcr' is a GCC extension [-Wpedantic] uint16_t status_lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:229:4: warning: type of bit-field 'status_lnr' is a GCC extension [-Wpedantic] uint16_t status_lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:230:4: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:1; ^ ../include/ipmitool/ipmi_sdr.h:250:4: warning: type of bit-field 'deassert_lnc_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:251:4: warning: type of bit-field 'deassert_lnc_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:252:4: warning: type of bit-field 'deassert_lcr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:253:4: warning: type of bit-field 'deassert_lcr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:254:4: warning: type of bit-field 'deassert_lnr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:255:4: warning: type of bit-field 'deassert_lnr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:256:4: warning: type of bit-field 'deassert_unc_low' is a GCC extension [-Wpedantic] uint16_t deassert_unc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:257:4: warning: type of bit-field 'deassert_unc_high' is a GCC extension [-Wpedantic] uint16_t deassert_unc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:258:4: warning: type of bit-field 'deassert_ucr_low' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:259:4: warning: type of bit-field 'deassert_ucr_high' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:260:4: warning: type of bit-field 'deassert_unr_low' is a GCC extension [-Wpedantic] uint16_t deassert_unr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:261:4: warning: type of bit-field 'deassert_unr_high' is a GCC extension [-Wpedantic] uint16_t deassert_unr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:262:4: warning: type of bit-field 'status_unc' is a GCC extension [-Wpedantic] uint16_t status_unc:1; ^ ../include/ipmitool/ipmi_sdr.h:263:4: warning: type of bit-field 'status_ucr' is a GCC extension [-Wpedantic] uint16_t status_ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:264:4: warning: type of bit-field 'status_unr' is a GCC extension [-Wpedantic] uint16_t status_unr:1; ^ ../include/ipmitool/ipmi_sdr.h:265:4: warning: type of bit-field 'reserved_2' is a GCC extension [-Wpedantic] uint16_t reserved_2:1; ^ ../include/ipmitool/ipmi_sdr.h:280:6: warning: type of bit-field 'readable' is a GCC extension [-Wpedantic] uint16_t readable:8; ^ ../include/ipmitool/ipmi_sdr.h:281:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:282:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:283:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:284:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../include/ipmitool/ipmi_sdr.h:285:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:286:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_sdr.h:287:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:302:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:303:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:304:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:305:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../include/ipmitool/ipmi_sdr.h:306:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:307:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_sdr.h:308:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:309:6: warning: type of bit-field 'settable' is a GCC extension [-Wpedantic] uint16_t settable:8; ^ ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ../include/ipmitool/ipmi_sdr.h:331:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:332:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:333:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../include/ipmitool/ipmi_sdr.h:352:4: warning: type of bit-field 'sensor_scan' is a GCC extension [-Wpedantic] uint8_t sensor_scan:1; ^ ../include/ipmitool/ipmi_sdr.h:353:4: warning: type of bit-field 'event_gen' is a GCC extension [-Wpedantic] uint8_t event_gen:1; ^ ../include/ipmitool/ipmi_sdr.h:354:4: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] uint8_t type:1; ^ ../include/ipmitool/ipmi_sdr.h:355:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:1; ^ ../include/ipmitool/ipmi_sdr.h:356:4: warning: type of bit-field 'thresholds' is a GCC extension [-Wpedantic] uint8_t thresholds:1; ^ ../include/ipmitool/ipmi_sdr.h:357:4: warning: type of bit-field 'events' is a GCC extension [-Wpedantic] uint8_t events:1; ^ ../include/ipmitool/ipmi_sdr.h:358:4: warning: type of bit-field 'scanning' is a GCC extension [-Wpedantic] uint8_t scanning:1; ^ ../include/ipmitool/ipmi_sdr.h:359:4: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:1; ^ ../include/ipmitool/ipmi_sdr.h:370:4: warning: type of bit-field 'event_msg' is a GCC extension [-Wpedantic] uint8_t event_msg:2; ^ ../include/ipmitool/ipmi_sdr.h:371:4: warning: type of bit-field 'threshold' is a GCC extension [-Wpedantic] uint8_t threshold:2; ^ ../include/ipmitool/ipmi_sdr.h:372:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:2; ^ ../include/ipmitool/ipmi_sdr.h:373:4: warning: type of bit-field 'rearm' is a GCC extension [-Wpedantic] uint8_t rearm:1; ^ ../include/ipmitool/ipmi_sdr.h:374:4: warning: type of bit-field 'ignore' is a GCC extension [-Wpedantic] uint8_t ignore:1; ^ ../include/ipmitool/ipmi_sdr.h:391:3: warning: type of bit-field 'pct' is a GCC extension [-Wpedantic] uint8_t pct:1; ^ ../include/ipmitool/ipmi_sdr.h:392:3: warning: type of bit-field 'modifier' is a GCC extension [-Wpedantic] uint8_t modifier:2; ^ ../include/ipmitool/ipmi_sdr.h:393:3: warning: type of bit-field 'rate' is a GCC extension [-Wpedantic] uint8_t rate:3; ^ ../include/ipmitool/ipmi_sdr.h:394:3: warning: type of bit-field 'analog' is a GCC extension [-Wpedantic] uint8_t analog:2; ^ ../include/ipmitool/ipmi_sdr.h:422:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../include/ipmitool/ipmi_sdr.h:423:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../include/ipmitool/ipmi_sdr.h:424:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:430:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../include/ipmitool/ipmi_sdr.h:431:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../include/ipmitool/ipmi_sdr.h:462:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:463:3: warning: type of bit-field 'fru_owner' is a GCC extension [-Wpedantic] uint8_t fru_owner:2; /* fru device owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:464:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../include/ipmitool/ipmi_sdr.h:480:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../include/ipmitool/ipmi_sdr.h:481:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../include/ipmitool/ipmi_sdr.h:482:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:488:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../include/ipmitool/ipmi_sdr.h:489:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../include/ipmitool/ipmi_sdr.h:534:3: warning: type of bit-field 'nominal_read' is a GCC extension [-Wpedantic] uint8_t nominal_read:1; /* nominal reading field specified */ ^ ../include/ipmitool/ipmi_sdr.h:535:3: warning: type of bit-field 'normal_max' is a GCC extension [-Wpedantic] uint8_t normal_max:1; /* normal max field specified */ ^ ../include/ipmitool/ipmi_sdr.h:536:3: warning: type of bit-field 'normal_min' is a GCC extension [-Wpedantic] uint8_t normal_min:1; /* normal min field specified */ ^ ../include/ipmitool/ipmi_sdr.h:537:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_sdr.h:581:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_sdr.h:582:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:4; ^ ../include/ipmitool/ipmi_sdr.h:589:2: warning: type of bit-field 'global_init' is a GCC extension [-Wpedantic] uint8_t global_init:4; ^ ../include/ipmitool/ipmi_sdr.h:590:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:1; ^ ../include/ipmitool/ipmi_sdr.h:591:2: warning: type of bit-field 'pwr_state_notif' is a GCC extension [-Wpedantic] uint8_t pwr_state_notif:3; ^ ../include/ipmitool/ipmi_sdr.h:613:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../include/ipmitool/ipmi_sdr.h:614:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_sdr.h:615:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:2; ^ ../include/ipmitool/ipmi_sdr.h:616:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical:1; ^ ../include/ipmitool/ipmi_sdr.h:622:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:4; ^ ../include/ipmitool/ipmi_sdr.h:623:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_sdr.h:648:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../include/ipmitool/ipmi_sdr.h:649:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_sdr.h:650:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:3; ^ ../include/ipmitool/ipmi_sdr.h:656:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:5; ^ ../include/ipmitool/ipmi_sdr.h:657:2: warning: type of bit-field 'addr_span' is a GCC extension [-Wpedantic] uint8_t addr_span:3; ^ ../include/ipmitool/ipmi_sdr.h:683:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_sdr.h:684:3: warning: type of bit-field 'isaccessable' is a GCC extension [-Wpedantic] uint8_t isaccessable:1; ^ ../include/ipmitool/ipmi_sdr.h:685:3: warning: type of bit-field 'islinked' is a GCC extension [-Wpedantic] uint8_t islinked:1; ^ ../include/ipmitool/ipmi_sdr.h:686:3: warning: type of bit-field 'isrange' is a GCC extension [-Wpedantic] uint8_t isrange:1; ^ ../include/ipmitool/ipmi_sdr.h:730:2: warning: type of bit-field 'get_sdr_repository_allo_info_supported' is a GCC extension [-Wpedantic] uint8_t get_sdr_repository_allo_info_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:731:2: warning: type of bit-field 'reserve_sdr_repository_supported' is a GCC extension [-Wpedantic] uint8_t reserve_sdr_repository_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:732:2: warning: type of bit-field 'partial_add_sdr_supported' is a GCC extension [-Wpedantic] uint8_t partial_add_sdr_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:733:2: warning: type of bit-field 'delete_sdr_supported' is a GCC extension [-Wpedantic] uint8_t delete_sdr_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:734:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:1; ^ ../include/ipmitool/ipmi_sdr.h:735:2: warning: type of bit-field 'modal_update_support' is a GCC extension [-Wpedantic] uint8_t modal_update_support:2; ^ ../include/ipmitool/ipmi_sdr.h:736:2: warning: type of bit-field 'overflow_flag' is a GCC extension [-Wpedantic] uint8_t overflow_flag:1; ^ In file included from ipmi_picmg.c:36:0: ../include/ipmitool/ipmi_fru.h:65:2: warning: type of bit-field 'access' is a GCC extension [-Wpedantic] uint8_t access:1; ^ ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ ../include/ipmitool/ipmi_fru.h:153:2: warning: type of bit-field 'capacity' is a GCC extension [-Wpedantic] uint16_t capacity:12; ^ ../include/ipmitool/ipmi_fru.h:154:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint16_t __reserved1:4; ^ ../include/ipmitool/ipmi_fru.h:174:2: warning: type of bit-field 'predictive_fail' is a GCC extension [-Wpedantic] uint8_t predictive_fail:1; ^ ../include/ipmitool/ipmi_fru.h:175:2: warning: type of bit-field 'pfc' is a GCC extension [-Wpedantic] uint8_t pfc:1; ^ ../include/ipmitool/ipmi_fru.h:176:2: warning: type of bit-field 'autoswitch' is a GCC extension [-Wpedantic] uint8_t autoswitch:1; ^ ../include/ipmitool/ipmi_fru.h:177:2: warning: type of bit-field 'hotswap' is a GCC extension [-Wpedantic] uint8_t hotswap:1; ^ ../include/ipmitool/ipmi_fru.h:178:2: warning: type of bit-field 'tach' is a GCC extension [-Wpedantic] uint8_t tach:1; ^ ../include/ipmitool/ipmi_fru.h:179:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:3; ^ ../include/ipmitool/ipmi_fru.h:186:2: warning: type of bit-field 'combined_voltage2' is a GCC extension [-Wpedantic] uint8_t combined_voltage2:4; ^ ../include/ipmitool/ipmi_fru.h:187:2: warning: type of bit-field 'combined_voltage1' is a GCC extension [-Wpedantic] uint8_t combined_voltage1:4; ^ ../include/ipmitool/ipmi_fru.h:208:2: warning: type of bit-field 'output_number' is a GCC extension [-Wpedantic] uint8_t output_number:4; ^ ../include/ipmitool/ipmi_fru.h:209:2: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:3; ^ ../include/ipmitool/ipmi_fru.h:210:2: warning: type of bit-field 'standby' is a GCC extension [-Wpedantic] uint8_t standby:1; ^ ../include/ipmitool/ipmi_fru.h:231:2: warning: type of bit-field 'output_number' is a GCC extension [-Wpedantic] uint8_t output_number:4; ^ ../include/ipmitool/ipmi_fru.h:232:2: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:4; ^ ../include/ipmitool/ipmi_fru.h:374:2: warning: type of bit-field 'asymetricMatch' is a GCC extension [-Wpedantic] unsigned char asymetricMatch:2; ^ ../include/ipmitool/ipmi_fru.h:375:2: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] unsigned char reserved:6; ^ ../include/ipmitool/ipmi_fru.h:486:2: warning: type of bit-field 'remote_port' is a GCC extension [-Wpedantic] unsigned short remote_port:5; ^ ../include/ipmitool/ipmi_fru.h:487:2: warning: type of bit-field 'local_port' is a GCC extension [-Wpedantic] unsigned short local_port:5; ^ ../include/ipmitool/ipmi_fru.h:488:2: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] unsigned short reserved:6; ^ ../include/ipmitool/ipmi_fru.h:505:2: warning: type of bit-field 'resource_id' is a GCC extension [-Wpedantic] unsigned char resource_id :4; ^ ../include/ipmitool/ipmi_fru.h:506:2: warning: type of bit-field '' is a GCC extension [-Wpedantic] unsigned char /* reserved */ :3; ^ ../include/ipmitool/ipmi_fru.h:507:2: warning: type of bit-field 'record_type' is a GCC extension [-Wpedantic] unsigned char record_type :1; ^ ipmi_picmg.c: In function 'ipmi_picmg_fru_activation': ipmi_picmg.c:664:56: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_fru_activation(struct ipmi_intf * intf, int argc, char ** argv, unsigned char state) ^ ipmi_picmg.c: In function 'ipmi_picmg_fru_activation_policy_get': ipmi_picmg.c:698:67: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_fru_activation_policy_get(struct ipmi_intf * intf, int argc, char ** argv) ^ ipmi_picmg.c: In function 'ipmi_picmg_fru_activation_policy_set': ipmi_picmg.c:737:67: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_fru_activation_policy_set(struct ipmi_intf * intf, int argc, char ** argv) ^ ipmi_picmg.c: In function 'ipmi_picmg_get_led_properties': ipmi_picmg.c:1161:60: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_get_led_properties(struct ipmi_intf * intf, int argc, char ** argv) ^ ipmi_picmg.c: In function 'ipmi_picmg_get_led_capabilities': ipmi_picmg.c:1200:62: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_get_led_capabilities(struct ipmi_intf * intf, int argc, char ** argv) ^ ipmi_picmg.c: In function 'ipmi_picmg_get_led_state': ipmi_picmg.c:1250:55: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_get_led_state(struct ipmi_intf * intf, int argc, char ** argv) ^ ipmi_picmg.c: In function 'ipmi_picmg_set_led_state': ipmi_picmg.c:1337:55: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_set_led_state(struct ipmi_intf * intf, int argc, char ** argv) ^ ipmi_picmg.c: In function 'ipmi_picmg_get_power_level': ipmi_picmg.c:1413:57: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_get_power_level(struct ipmi_intf * intf, int argc, char ** argv) ^ ipmi_picmg.c: In function 'ipmi_picmg_set_power_level': ipmi_picmg.c:1464:57: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_set_power_level(struct ipmi_intf * intf, int argc, char ** argv) ^ ipmi_picmg.c: In function 'ipmi_picmg_fru_control': ipmi_picmg.c:1568:53: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_fru_control(struct ipmi_intf * intf, int argc, char ** argv) ^ ipmi_picmg.c: In function 'ipmi_picmg_clk_set': ipmi_picmg.c:1754:4: warning: pointer targets in passing argument 2 of 'is_clk_resid' differ in signedness [-Wpointer-sign] if (is_clk_resid(argv[6], &msg_data[10]) != 0) { ^ ipmi_picmg.c:328:1: note: expected 'int8_t *' but argument is of type 'unsigned char *' is_clk_resid(const char *argv_ptr, int8_t *clk_resid_ptr) ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_main.lo ipmi_main.c In file included from ipmi_main.c:53:0: ../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ In file included from ipmi_main.c:55:0: ../include/ipmitool/ipmi_session.h:57:2: warning: type of bit-field 'session_slot_count' is a GCC extension [-Wpedantic] uint8_t session_slot_count : 6; /* 1-based */ ^ ../include/ipmitool/ipmi_session.h:58:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1 : 2; ^ ../include/ipmitool/ipmi_session.h:65:2: warning: type of bit-field 'active_session_count' is a GCC extension [-Wpedantic] uint8_t active_session_count : 6; /* 1-based */ ^ ../include/ipmitool/ipmi_session.h:66:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2 : 2; ^ ../include/ipmitool/ipmi_session.h:73:2: warning: type of bit-field 'user_id' is a GCC extension [-Wpedantic] uint8_t user_id : 6; ^ ../include/ipmitool/ipmi_session.h:74:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3 : 2; ^ ../include/ipmitool/ipmi_session.h:81:2: warning: type of bit-field 'privilege_level' is a GCC extension [-Wpedantic] uint8_t privilege_level : 4; ^ ../include/ipmitool/ipmi_session.h:82:2: warning: type of bit-field '__reserved4' is a GCC extension [-Wpedantic] uint8_t __reserved4 : 4; ^ ../include/ipmitool/ipmi_session.h:89:2: warning: type of bit-field 'channel_number' is a GCC extension [-Wpedantic] uint8_t channel_number : 4; ^ ../include/ipmitool/ipmi_session.h:90:2: warning: type of bit-field 'auxiliary_data' is a GCC extension [-Wpedantic] uint8_t auxiliary_data : 4; ^ ../include/ipmitool/ipmi_session.h:112:4: warning: type of bit-field 'destination_selector' is a GCC extension [-Wpedantic] uint8_t destination_selector : 4; ^ ../include/ipmitool/ipmi_session.h:113:4: warning: type of bit-field '__reserved5' is a GCC extension [-Wpedantic] uint8_t __reserved5 : 4; ^ In file included from ../include/ipmitool/ipmi_sdr.h:44:0, from ipmi_main.c:56: ../include/ipmitool/ipmi_entity.h:45:2: warning: type of bit-field 'instance' is a GCC extension [-Wpedantic] uint8_t instance : 7; /* instance number */ ^ ../include/ipmitool/ipmi_entity.h:46:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical : 1; /* physical/logical */ ^ In file included from ipmi_main.c:56:0: ../include/ipmitool/ipmi_sdr.h:215:4: warning: type of bit-field 'assert_lnc_low' is a GCC extension [-Wpedantic] uint16_t assert_lnc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:216:4: warning: type of bit-field 'assert_lnc_high' is a GCC extension [-Wpedantic] uint16_t assert_lnc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:217:4: warning: type of bit-field 'assert_lcr_low' is a GCC extension [-Wpedantic] uint16_t assert_lcr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:218:4: warning: type of bit-field 'assert_lcr_high' is a GCC extension [-Wpedantic] uint16_t assert_lcr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:219:4: warning: type of bit-field 'assert_lnr_low' is a GCC extension [-Wpedantic] uint16_t assert_lnr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:220:4: warning: type of bit-field 'assert_lnr_high' is a GCC extension [-Wpedantic] uint16_t assert_lnr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:221:4: warning: type of bit-field 'assert_unc_low' is a GCC extension [-Wpedantic] uint16_t assert_unc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:222:4: warning: type of bit-field 'assert_unc_high' is a GCC extension [-Wpedantic] uint16_t assert_unc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:223:4: warning: type of bit-field 'assert_ucr_low' is a GCC extension [-Wpedantic] uint16_t assert_ucr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:224:4: warning: type of bit-field 'assert_ucr_high' is a GCC extension [-Wpedantic] uint16_t assert_ucr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:225:4: warning: type of bit-field 'assert_unr_low' is a GCC extension [-Wpedantic] uint16_t assert_unr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:226:4: warning: type of bit-field 'assert_unr_high' is a GCC extension [-Wpedantic] uint16_t assert_unr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:227:4: warning: type of bit-field 'status_lnc' is a GCC extension [-Wpedantic] uint16_t status_lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:228:4: warning: type of bit-field 'status_lcr' is a GCC extension [-Wpedantic] uint16_t status_lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:229:4: warning: type of bit-field 'status_lnr' is a GCC extension [-Wpedantic] uint16_t status_lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:230:4: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:1; ^ ../include/ipmitool/ipmi_sdr.h:250:4: warning: type of bit-field 'deassert_lnc_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:251:4: warning: type of bit-field 'deassert_lnc_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:252:4: warning: type of bit-field 'deassert_lcr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:253:4: warning: type of bit-field 'deassert_lcr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:254:4: warning: type of bit-field 'deassert_lnr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:255:4: warning: type of bit-field 'deassert_lnr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:256:4: warning: type of bit-field 'deassert_unc_low' is a GCC extension [-Wpedantic] uint16_t deassert_unc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:257:4: warning: type of bit-field 'deassert_unc_high' is a GCC extension [-Wpedantic] uint16_t deassert_unc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:258:4: warning: type of bit-field 'deassert_ucr_low' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:259:4: warning: type of bit-field 'deassert_ucr_high' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:260:4: warning: type of bit-field 'deassert_unr_low' is a GCC extension [-Wpedantic] uint16_t deassert_unr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:261:4: warning: type of bit-field 'deassert_unr_high' is a GCC extension [-Wpedantic] uint16_t deassert_unr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:262:4: warning: type of bit-field 'status_unc' is a GCC extension [-Wpedantic] uint16_t status_unc:1; ^ ../include/ipmitool/ipmi_sdr.h:263:4: warning: type of bit-field 'status_ucr' is a GCC extension [-Wpedantic] uint16_t status_ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:264:4: warning: type of bit-field 'status_unr' is a GCC extension [-Wpedantic] uint16_t status_unr:1; ^ ../include/ipmitool/ipmi_sdr.h:265:4: warning: type of bit-field 'reserved_2' is a GCC extension [-Wpedantic] uint16_t reserved_2:1; ^ ../include/ipmitool/ipmi_sdr.h:280:6: warning: type of bit-field 'readable' is a GCC extension [-Wpedantic] uint16_t readable:8; ^ ../include/ipmitool/ipmi_sdr.h:281:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:282:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:283:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:284:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../include/ipmitool/ipmi_sdr.h:285:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:286:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_sdr.h:287:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:302:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:303:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:304:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:305:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../include/ipmitool/ipmi_sdr.h:306:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:307:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_sdr.h:308:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:309:6: warning: type of bit-field 'settable' is a GCC extension [-Wpedantic] uint16_t settable:8; ^ ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ../include/ipmitool/ipmi_sdr.h:331:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:332:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:333:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../include/ipmitool/ipmi_sdr.h:352:4: warning: type of bit-field 'sensor_scan' is a GCC extension [-Wpedantic] uint8_t sensor_scan:1; ^ ../include/ipmitool/ipmi_sdr.h:353:4: warning: type of bit-field 'event_gen' is a GCC extension [-Wpedantic] uint8_t event_gen:1; ^ ../include/ipmitool/ipmi_sdr.h:354:4: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] uint8_t type:1; ^ ../include/ipmitool/ipmi_sdr.h:355:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:1; ^ ../include/ipmitool/ipmi_sdr.h:356:4: warning: type of bit-field 'thresholds' is a GCC extension [-Wpedantic] uint8_t thresholds:1; ^ ../include/ipmitool/ipmi_sdr.h:357:4: warning: type of bit-field 'events' is a GCC extension [-Wpedantic] uint8_t events:1; ^ ../include/ipmitool/ipmi_sdr.h:358:4: warning: type of bit-field 'scanning' is a GCC extension [-Wpedantic] uint8_t scanning:1; ^ ../include/ipmitool/ipmi_sdr.h:359:4: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:1; ^ ../include/ipmitool/ipmi_sdr.h:370:4: warning: type of bit-field 'event_msg' is a GCC extension [-Wpedantic] uint8_t event_msg:2; ^ ../include/ipmitool/ipmi_sdr.h:371:4: warning: type of bit-field 'threshold' is a GCC extension [-Wpedantic] uint8_t threshold:2; ^ ../include/ipmitool/ipmi_sdr.h:372:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:2; ^ ../include/ipmitool/ipmi_sdr.h:373:4: warning: type of bit-field 'rearm' is a GCC extension [-Wpedantic] uint8_t rearm:1; ^ ../include/ipmitool/ipmi_sdr.h:374:4: warning: type of bit-field 'ignore' is a GCC extension [-Wpedantic] uint8_t ignore:1; ^ ../include/ipmitool/ipmi_sdr.h:391:3: warning: type of bit-field 'pct' is a GCC extension [-Wpedantic] uint8_t pct:1; ^ ../include/ipmitool/ipmi_sdr.h:392:3: warning: type of bit-field 'modifier' is a GCC extension [-Wpedantic] uint8_t modifier:2; ^ ../include/ipmitool/ipmi_sdr.h:393:3: warning: type of bit-field 'rate' is a GCC extension [-Wpedantic] uint8_t rate:3; ^ ../include/ipmitool/ipmi_sdr.h:394:3: warning: type of bit-field 'analog' is a GCC extension [-Wpedantic] uint8_t analog:2; ^ ../include/ipmitool/ipmi_sdr.h:422:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../include/ipmitool/ipmi_sdr.h:423:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../include/ipmitool/ipmi_sdr.h:424:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:430:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../include/ipmitool/ipmi_sdr.h:431:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../include/ipmitool/ipmi_sdr.h:462:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:463:3: warning: type of bit-field 'fru_owner' is a GCC extension [-Wpedantic] uint8_t fru_owner:2; /* fru device owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:464:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../include/ipmitool/ipmi_sdr.h:480:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../include/ipmitool/ipmi_sdr.h:481:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../include/ipmitool/ipmi_sdr.h:482:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:488:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../include/ipmitool/ipmi_sdr.h:489:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../include/ipmitool/ipmi_sdr.h:534:3: warning: type of bit-field 'nominal_read' is a GCC extension [-Wpedantic] uint8_t nominal_read:1; /* nominal reading field specified */ ^ ../include/ipmitool/ipmi_sdr.h:535:3: warning: type of bit-field 'normal_max' is a GCC extension [-Wpedantic] uint8_t normal_max:1; /* normal max field specified */ ^ ../include/ipmitool/ipmi_sdr.h:536:3: warning: type of bit-field 'normal_min' is a GCC extension [-Wpedantic] uint8_t normal_min:1; /* normal min field specified */ ^ ../include/ipmitool/ipmi_sdr.h:537:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_sdr.h:581:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_sdr.h:582:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:4; ^ ../include/ipmitool/ipmi_sdr.h:589:2: warning: type of bit-field 'global_init' is a GCC extension [-Wpedantic] uint8_t global_init:4; ^ ../include/ipmitool/ipmi_sdr.h:590:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:1; ^ ../include/ipmitool/ipmi_sdr.h:591:2: warning: type of bit-field 'pwr_state_notif' is a GCC extension [-Wpedantic] uint8_t pwr_state_notif:3; ^ ../include/ipmitool/ipmi_sdr.h:613:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../include/ipmitool/ipmi_sdr.h:614:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_sdr.h:615:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:2; ^ ../include/ipmitool/ipmi_sdr.h:616:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical:1; ^ ../include/ipmitool/ipmi_sdr.h:622:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:4; ^ ../include/ipmitool/ipmi_sdr.h:623:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_sdr.h:648:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../include/ipmitool/ipmi_sdr.h:649:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_sdr.h:650:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:3; ^ ../include/ipmitool/ipmi_sdr.h:656:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:5; ^ ../include/ipmitool/ipmi_sdr.h:657:2: warning: type of bit-field 'addr_span' is a GCC extension [-Wpedantic] uint8_t addr_span:3; ^ ../include/ipmitool/ipmi_sdr.h:683:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_sdr.h:684:3: warning: type of bit-field 'isaccessable' is a GCC extension [-Wpedantic] uint8_t isaccessable:1; ^ ../include/ipmitool/ipmi_sdr.h:685:3: warning: type of bit-field 'islinked' is a GCC extension [-Wpedantic] uint8_t islinked:1; ^ ../include/ipmitool/ipmi_sdr.h:686:3: warning: type of bit-field 'isrange' is a GCC extension [-Wpedantic] uint8_t isrange:1; ^ ../include/ipmitool/ipmi_sdr.h:730:2: warning: type of bit-field 'get_sdr_repository_allo_info_supported' is a GCC extension [-Wpedantic] uint8_t get_sdr_repository_allo_info_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:731:2: warning: type of bit-field 'reserve_sdr_repository_supported' is a GCC extension [-Wpedantic] uint8_t reserve_sdr_repository_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:732:2: warning: type of bit-field 'partial_add_sdr_supported' is a GCC extension [-Wpedantic] uint8_t partial_add_sdr_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:733:2: warning: type of bit-field 'delete_sdr_supported' is a GCC extension [-Wpedantic] uint8_t delete_sdr_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:734:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:1; ^ ../include/ipmitool/ipmi_sdr.h:735:2: warning: type of bit-field 'modal_update_support' is a GCC extension [-Wpedantic] uint8_t modal_update_support:2; ^ ../include/ipmitool/ipmi_sdr.h:736:2: warning: type of bit-field 'overflow_flag' is a GCC extension [-Wpedantic] uint8_t overflow_flag:1; ^ In file included from ipmi_main.c:58:0: ../include/ipmitool/ipmi_sel.h:83:2: warning: type of bit-field 'event_type' is a GCC extension [-Wpedantic] uint8_t event_type : 7; ^ ../include/ipmitool/ipmi_sel.h:84:2: warning: type of bit-field 'event_dir' is a GCC extension [-Wpedantic] uint8_t event_dir : 1; ^ In file included from ipmi_main.c:59:0: ../include/ipmitool/ipmi_fru.h:65:2: warning: type of bit-field 'access' is a GCC extension [-Wpedantic] uint8_t access:1; ^ ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ ../include/ipmitool/ipmi_fru.h:153:2: warning: type of bit-field 'capacity' is a GCC extension [-Wpedantic] uint16_t capacity:12; ^ ../include/ipmitool/ipmi_fru.h:154:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint16_t __reserved1:4; ^ ../include/ipmitool/ipmi_fru.h:174:2: warning: type of bit-field 'predictive_fail' is a GCC extension [-Wpedantic] uint8_t predictive_fail:1; ^ ../include/ipmitool/ipmi_fru.h:175:2: warning: type of bit-field 'pfc' is a GCC extension [-Wpedantic] uint8_t pfc:1; ^ ../include/ipmitool/ipmi_fru.h:176:2: warning: type of bit-field 'autoswitch' is a GCC extension [-Wpedantic] uint8_t autoswitch:1; ^ ../include/ipmitool/ipmi_fru.h:177:2: warning: type of bit-field 'hotswap' is a GCC extension [-Wpedantic] uint8_t hotswap:1; ^ ../include/ipmitool/ipmi_fru.h:178:2: warning: type of bit-field 'tach' is a GCC extension [-Wpedantic] uint8_t tach:1; ^ ../include/ipmitool/ipmi_fru.h:179:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:3; ^ ../include/ipmitool/ipmi_fru.h:186:2: warning: type of bit-field 'combined_voltage2' is a GCC extension [-Wpedantic] uint8_t combined_voltage2:4; ^ ../include/ipmitool/ipmi_fru.h:187:2: warning: type of bit-field 'combined_voltage1' is a GCC extension [-Wpedantic] uint8_t combined_voltage1:4; ^ ../include/ipmitool/ipmi_fru.h:208:2: warning: type of bit-field 'output_number' is a GCC extension [-Wpedantic] uint8_t output_number:4; ^ ../include/ipmitool/ipmi_fru.h:209:2: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:3; ^ ../include/ipmitool/ipmi_fru.h:210:2: warning: type of bit-field 'standby' is a GCC extension [-Wpedantic] uint8_t standby:1; ^ ../include/ipmitool/ipmi_fru.h:231:2: warning: type of bit-field 'output_number' is a GCC extension [-Wpedantic] uint8_t output_number:4; ^ ../include/ipmitool/ipmi_fru.h:232:2: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:4; ^ ../include/ipmitool/ipmi_fru.h:374:2: warning: type of bit-field 'asymetricMatch' is a GCC extension [-Wpedantic] unsigned char asymetricMatch:2; ^ ../include/ipmitool/ipmi_fru.h:375:2: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] unsigned char reserved:6; ^ ../include/ipmitool/ipmi_fru.h:486:2: warning: type of bit-field 'remote_port' is a GCC extension [-Wpedantic] unsigned short remote_port:5; ^ ../include/ipmitool/ipmi_fru.h:487:2: warning: type of bit-field 'local_port' is a GCC extension [-Wpedantic] unsigned short local_port:5; ^ ../include/ipmitool/ipmi_fru.h:488:2: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] unsigned short reserved:6; ^ ../include/ipmitool/ipmi_fru.h:505:2: warning: type of bit-field 'resource_id' is a GCC extension [-Wpedantic] unsigned char resource_id :4; ^ ../include/ipmitool/ipmi_fru.h:506:2: warning: type of bit-field '' is a GCC extension [-Wpedantic] unsigned char /* reserved */ :3; ^ ../include/ipmitool/ipmi_fru.h:507:2: warning: type of bit-field 'record_type' is a GCC extension [-Wpedantic] unsigned char record_type :1; ^ In file included from ipmi_main.c:67:0: ../include/ipmitool/ipmi_channel.h:98:2: warning: type of bit-field 'enabled_auth_types' is a GCC extension [-Wpedantic] uint8_t enabled_auth_types : 6; /* IPMI v1.5 enabled auth types */ ^ ../include/ipmitool/ipmi_channel.h:99:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1 : 1; ^ ../include/ipmitool/ipmi_channel.h:100:2: warning: type of bit-field 'v20_data_available' is a GCC extension [-Wpedantic] uint8_t v20_data_available : 1; /* IPMI v2.0 data is available */ ^ ../include/ipmitool/ipmi_channel.h:111:2: warning: type of bit-field 'anon_login_enabled' is a GCC extension [-Wpedantic] uint8_t anon_login_enabled : 1; /* a null-named, null-pwd user exists */ ^ ../include/ipmitool/ipmi_channel.h:112:2: warning: type of bit-field 'null_usernames' is a GCC extension [-Wpedantic] uint8_t null_usernames : 1; /* one or more null usernames non-null pwds */ ^ ../include/ipmitool/ipmi_channel.h:113:2: warning: type of bit-field 'non_null_usernames' is a GCC extension [-Wpedantic] uint8_t non_null_usernames : 1; /* one or more non-null users exist */ ^ ../include/ipmitool/ipmi_channel.h:114:2: warning: type of bit-field 'user_level_auth' is a GCC extension [-Wpedantic] uint8_t user_level_auth : 1; /* user-level authentication status */ ^ ../include/ipmitool/ipmi_channel.h:115:2: warning: type of bit-field 'per_message_auth' is a GCC extension [-Wpedantic] uint8_t per_message_auth : 1; /* per-message authentication status */ ^ ../include/ipmitool/ipmi_channel.h:116:2: warning: type of bit-field 'kg_status' is a GCC extension [-Wpedantic] uint8_t kg_status : 1; /* two-key login status */ ^ ../include/ipmitool/ipmi_channel.h:117:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2 : 2; ^ ../include/ipmitool/ipmi_channel.h:124:2: warning: type of bit-field 'ipmiv15_support' is a GCC extension [-Wpedantic] uint8_t ipmiv15_support : 1; /* channel supports IPMI v1.5 connections */ ^ ../include/ipmitool/ipmi_channel.h:125:2: warning: type of bit-field 'ipmiv20_support' is a GCC extension [-Wpedantic] uint8_t ipmiv20_support : 1; /* channel supports IPMI v2.0 connections */ ^ ../include/ipmitool/ipmi_channel.h:126:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3 : 6; ^ ../include/ipmitool/ipmi_channel.h:155:2: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel :4; ^ ../include/ipmitool/ipmi_channel.h:156:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1 :4; ^ ../include/ipmitool/ipmi_channel.h:158:2: warning: type of bit-field 'operation' is a GCC extension [-Wpedantic] uint8_t operation :2; ^ ../include/ipmitool/ipmi_channel.h:159:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2 :6; ^ ../include/ipmitool/ipmi_channel.h:172:2: warning: type of bit-field 'lock_status' is a GCC extension [-Wpedantic] uint8_t lock_status :2; ^ ../include/ipmitool/ipmi_channel.h:173:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1 :6; ^ In file included from ipmi_main.c:69:0: ../include/ipmitool/ipmi_event.h:55:2: warning: type of bit-field 'event_type' is a GCC extension [-Wpedantic] uint8_t event_type : 7; ^ ../include/ipmitool/ipmi_event.h:56:2: warning: type of bit-field 'event_dir' is a GCC extension [-Wpedantic] uint8_t event_dir : 1; ^ In file included from ipmi_main.c:75:0: ../include/ipmitool/ipmi_picmg.h:186:4: warning: type of bit-field 'lane0' is a GCC extension [-Wpedantic] unsigned short lane0 : 1; ^ ../include/ipmitool/ipmi_picmg.h:187:4: warning: type of bit-field 'lane1' is a GCC extension [-Wpedantic] unsigned short lane1 : 1; ^ ../include/ipmitool/ipmi_picmg.h:188:4: warning: type of bit-field 'lane2' is a GCC extension [-Wpedantic] unsigned short lane2 : 1; ^ ../include/ipmitool/ipmi_picmg.h:189:4: warning: type of bit-field 'lane3' is a GCC extension [-Wpedantic] unsigned short lane3 : 1; ^ ../include/ipmitool/ipmi_picmg.h:190:4: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] unsigned short type : 8; ^ ../include/ipmitool/ipmi_picmg.h:191:4: warning: type of bit-field 'type_ext' is a GCC extension [-Wpedantic] unsigned short type_ext : 4; ^ ../include/ipmitool/ipmi_picmg.h:192:4: warning: type of bit-field 'group_id' is a GCC extension [-Wpedantic] unsigned char group_id : 8; ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_tsol.lo ipmi_tsol.c In file included from ipmi_tsol.c:65:0: ../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ipmi_tsol.c: In function 'ipmi_tsol_command': ipmi_tsol.c:88:2: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'unsigned int *' [-Wformat=] if (sscanf(recvip, "%d.%d.%d.%d", &ip1, &ip2, &ip3, &ip4) != 4) { ^ ipmi_tsol.c:88:2: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'unsigned int *' [-Wformat=] ipmi_tsol.c:88:2: warning: format '%d' expects argument of type 'int *', but argument 5 has type 'unsigned int *' [-Wformat=] ipmi_tsol.c:88:2: warning: format '%d' expects argument of type 'int *', but argument 6 has type 'unsigned int *' [-Wformat=] ipmi_tsol.c: In function 'ipmi_tsol_main': ipmi_tsol.c:540:54: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((fds[0].revents & POLLIN) && (sizeof(out_buff) > out_buff_fill)) { ^ ipmi_tsol.c:543:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((sizeof(out_buff) - out_buff_fill + 4) < buff_size) { ^ ipmi_tsol.c:561:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((fds[1].revents & POLLIN) && (sizeof(in_buff) > in_buff_fill)) { ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_firewall.lo ipmi_firewall.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_kontronoem.lo ipmi_kontronoem.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_hpmfwupg.lo ipmi_hpmfwupg.c In file included from ipmi_firewall.c:42:0: ../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ In file included from ipmi_kontronoem.c:45:0: ../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ In file included from ../include/ipmitool/ipmi_sdr.h:44:0, from ../include/ipmitool/ipmi_fru.h:38, from ipmi_kontronoem.c:47: ../include/ipmitool/ipmi_entity.h:45:2: warning: type of bit-field 'instance' is a GCC extension [-Wpedantic] uint8_t instance : 7; /* instance number */ ^ ../include/ipmitool/ipmi_entity.h:46:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical : 1; /* physical/logical */ ^ In file included from ../include/ipmitool/ipmi_fru.h:38:0, from ipmi_kontronoem.c:47: ../include/ipmitool/ipmi_sdr.h:215:4: warning: type of bit-field 'assert_lnc_low' is a GCC extension [-Wpedantic] uint16_t assert_lnc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:216:4: warning: type of bit-field 'assert_lnc_high' is a GCC extension [-Wpedantic] uint16_t assert_lnc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:217:4: warning: type of bit-field 'assert_lcr_low' is a GCC extension [-Wpedantic] uint16_t assert_lcr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:218:4: warning: type of bit-field 'assert_lcr_high' is a GCC extension [-Wpedantic] uint16_t assert_lcr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:219:4: warning: type of bit-field 'assert_lnr_low' is a GCC extension [-Wpedantic] uint16_t assert_lnr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:220:4: warning: type of bit-field 'assert_lnr_high' is a GCC extension [-Wpedantic] uint16_t assert_lnr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:221:4: warning: type of bit-field 'assert_unc_low' is a GCC extension [-Wpedantic] uint16_t assert_unc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:222:4: warning: type of bit-field 'assert_unc_high' is a GCC extension [-Wpedantic] uint16_t assert_unc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:223:4: warning: type of bit-field 'assert_ucr_low' is a GCC extension [-Wpedantic] uint16_t assert_ucr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:224:4: warning: type of bit-field 'assert_ucr_high' is a GCC extension [-Wpedantic] uint16_t assert_ucr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:225:4: warning: type of bit-field 'assert_unr_low' is a GCC extension [-Wpedantic] uint16_t assert_unr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:226:4: warning: type of bit-field 'assert_unr_high' is a GCC extension [-Wpedantic] uint16_t assert_unr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:227:4: warning: type of bit-field 'status_lnc' is a GCC extension [-Wpedantic] uint16_t status_lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:228:4: warning: type of bit-field 'status_lcr' is a GCC extension [-Wpedantic] uint16_t status_lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:229:4: warning: type of bit-field 'status_lnr' is a GCC extension [-Wpedantic] uint16_t status_lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:230:4: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:1; ^ ../include/ipmitool/ipmi_sdr.h:250:4: warning: type of bit-field 'deassert_lnc_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:251:4: warning: type of bit-field 'deassert_lnc_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:252:4: warning: type of bit-field 'deassert_lcr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:253:4: warning: type of bit-field 'deassert_lcr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:254:4: warning: type of bit-field 'deassert_lnr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:255:4: warning: type of bit-field 'deassert_lnr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:256:4: warning: type of bit-field 'deassert_unc_low' is a GCC extension [-Wpedantic] uint16_t deassert_unc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:257:4: warning: type of bit-field 'deassert_unc_high' is a GCC extension [-Wpedantic] uint16_t deassert_unc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:258:4: warning: type of bit-field 'deassert_ucr_low' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:259:4: warning: type of bit-field 'deassert_ucr_high' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:260:4: warning: type of bit-field 'deassert_unr_low' is a GCC extension [-Wpedantic] uint16_t deassert_unr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:261:4: warning: type of bit-field 'deassert_unr_high' is a GCC extension [-Wpedantic] uint16_t deassert_unr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:262:4: warning: type of bit-field 'status_unc' is a GCC extension [-Wpedantic] uint16_t status_unc:1; ^ ../include/ipmitool/ipmi_sdr.h:263:4: warning: type of bit-field 'status_ucr' is a GCC extension [-Wpedantic] uint16_t status_ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:264:4: warning: type of bit-field 'status_unr' is a GCC extension [-Wpedantic] uint16_t status_unr:1; ^ ../include/ipmitool/ipmi_sdr.h:265:4: warning: type of bit-field 'reserved_2' is a GCC extension [-Wpedantic] uint16_t reserved_2:1; ^ ../include/ipmitool/ipmi_sdr.h:280:6: warning: type of bit-field 'readable' is a GCC extension [-Wpedantic] uint16_t readable:8; ^ ../include/ipmitool/ipmi_sdr.h:281:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:282:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:283:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:284:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../include/ipmitool/ipmi_sdr.h:285:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:286:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_sdr.h:287:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:302:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:303:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:304:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:305:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../include/ipmitool/ipmi_sdr.h:306:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:307:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_sdr.h:308:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:309:6: warning: type of bit-field 'settable' is a GCC extension [-Wpedantic] uint16_t settable:8; ^ ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ../include/ipmitool/ipmi_sdr.h:331:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:332:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:333:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../include/ipmitool/ipmi_sdr.h:352:4: warning: type of bit-field 'sensor_scan' is a GCC extension [-Wpedantic] uint8_t sensor_scan:1; ^ ../include/ipmitool/ipmi_sdr.h:353:4: warning: type of bit-field 'event_gen' is a GCC extension [-Wpedantic] uint8_t event_gen:1; ^ ../include/ipmitool/ipmi_sdr.h:354:4: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] uint8_t type:1; ^ ../include/ipmitool/ipmi_sdr.h:355:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:1; ^ ../include/ipmitool/ipmi_sdr.h:356:4: warning: type of bit-field 'thresholds' is a GCC extension [-Wpedantic] uint8_t thresholds:1; ^ ../include/ipmitool/ipmi_sdr.h:357:4: warning: type of bit-field 'events' is a GCC extension [-Wpedantic] uint8_t events:1; ^ ../include/ipmitool/ipmi_sdr.h:358:4: warning: type of bit-field 'scanning' is a GCC extension [-Wpedantic] uint8_t scanning:1; ^ ../include/ipmitool/ipmi_sdr.h:359:4: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:1; ^ ../include/ipmitool/ipmi_sdr.h:370:4: warning: type of bit-field 'event_msg' is a GCC extension [-Wpedantic] uint8_t event_msg:2; ^ ../include/ipmitool/ipmi_sdr.h:371:4: warning: type of bit-field 'threshold' is a GCC extension [-Wpedantic] uint8_t threshold:2; ^ ../include/ipmitool/ipmi_sdr.h:372:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:2; ^ ../include/ipmitool/ipmi_sdr.h:373:4: warning: type of bit-field 'rearm' is a GCC extension [-Wpedantic] uint8_t rearm:1; ^ ../include/ipmitool/ipmi_sdr.h:374:4: warning: type of bit-field 'ignore' is a GCC extension [-Wpedantic] uint8_t ignore:1; ^ ../include/ipmitool/ipmi_sdr.h:391:3: warning: type of bit-field 'pct' is a GCC extension [-Wpedantic] uint8_t pct:1; ^ ../include/ipmitool/ipmi_sdr.h:392:3: warning: type of bit-field 'modifier' is a GCC extension [-Wpedantic] uint8_t modifier:2; ^ ../include/ipmitool/ipmi_sdr.h:393:3: warning: type of bit-field 'rate' is a GCC extension [-Wpedantic] uint8_t rate:3; ^ ../include/ipmitool/ipmi_sdr.h:394:3: warning: type of bit-field 'analog' is a GCC extension [-Wpedantic] uint8_t analog:2; ^ ../include/ipmitool/ipmi_sdr.h:422:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../include/ipmitool/ipmi_sdr.h:423:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../include/ipmitool/ipmi_sdr.h:424:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:430:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../include/ipmitool/ipmi_sdr.h:431:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../include/ipmitool/ipmi_sdr.h:462:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:463:3: warning: type of bit-field 'fru_owner' is a GCC extension [-Wpedantic] uint8_t fru_owner:2; /* fru device owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:464:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../include/ipmitool/ipmi_sdr.h:480:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../include/ipmitool/ipmi_sdr.h:481:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../include/ipmitool/ipmi_sdr.h:482:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:488:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../include/ipmitool/ipmi_sdr.h:489:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../include/ipmitool/ipmi_sdr.h:534:3: warning: type of bit-field 'nominal_read' is a GCC extension [-Wpedantic] uint8_t nominal_read:1; /* nominal reading field specified */ ^ ../include/ipmitool/ipmi_sdr.h:535:3: warning: type of bit-field 'normal_max' is a GCC extension [-Wpedantic] uint8_t normal_max:1; /* normal max field specified */ ^ ../include/ipmitool/ipmi_sdr.h:536:3: warning: type of bit-field 'normal_min' is a GCC extension [-Wpedantic] uint8_t normal_min:1; /* normal min field specified */ ^ ../include/ipmitool/ipmi_sdr.h:537:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_sdr.h:581:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_sdr.h:582:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:4; ^ ../include/ipmitool/ipmi_sdr.h:589:2: warning: type of bit-field 'global_init' is a GCC extension [-Wpedantic] uint8_t global_init:4; ^ ../include/ipmitool/ipmi_sdr.h:590:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:1; ^ ../include/ipmitool/ipmi_sdr.h:591:2: warning: type of bit-field 'pwr_state_notif' is a GCC extension [-Wpedantic] uint8_t pwr_state_notif:3; ^ ../include/ipmitool/ipmi_sdr.h:613:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../include/ipmitool/ipmi_sdr.h:614:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_sdr.h:615:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:2; ^ In file included from ../include/ipmitool/ipmi_intf.h:36:0, from ipmi_hpmfwupg.c:38: ../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ In file included from ipmi_hpmfwupg.c:40:0: ../include/ipmitool/ipmi_hpmfwupg.h:130:4: warning: type of bit-field 'component0' is a GCC extension [-Wpedantic] unsigned char component0 : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:131:4: warning: type of bit-field 'component1' is a GCC extension [-Wpedantic] unsigned char component1 : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:132:4: warning: type of bit-field 'component2' is a GCC extension [-Wpedantic] unsigned char component2 : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:133:4: warning: type of bit-field 'component3' is a GCC extension [-Wpedantic] unsigned char component3 : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:134:4: warning: type of bit-field 'component4' is a GCC extension [-Wpedantic] unsigned char component4 : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:135:4: warning: type of bit-field 'component5' is a GCC extension [-Wpedantic] unsigned char component5 : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:136:4: warning: type of bit-field 'component6' is a GCC extension [-Wpedantic] unsigned char component6 : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:137:4: warning: type of bit-field 'component7' is a GCC extension [-Wpedantic] unsigned char component7 : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:184:4: warning: type of bit-field 'ipmcSelftestCap' is a GCC extension [-Wpedantic] unsigned char ipmcSelftestCap : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:185:4: warning: type of bit-field 'autRollback' is a GCC extension [-Wpedantic] unsigned char autRollback : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:186:4: warning: type of bit-field 'manualRollback' is a GCC extension [-Wpedantic] unsigned char manualRollback : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:187:4: warning: type of bit-field 'servAffectDuringUpg' is a GCC extension [-Wpedantic] unsigned char servAffectDuringUpg : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:188:4: warning: type of bit-field 'deferActivation' is a GCC extension [-Wpedantic] unsigned char deferActivation : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:189:4: warning: type of bit-field 'ipmcDegradedDurinUpg' is a GCC extension [-Wpedantic] unsigned char ipmcDegradedDurinUpg: 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:190:4: warning: type of bit-field 'autRollbackOverride' is a GCC extension [-Wpedantic] unsigned char autRollbackOverride : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:191:4: warning: type of bit-field 'fwUpgUndesirable' is a GCC extension [-Wpedantic] unsigned char fwUpgUndesirable : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:255:4: warning: type of bit-field 'rollbackBackup' is a GCC extension [-Wpedantic] unsigned char rollbackBackup : 2; ^ ../include/ipmitool/ipmi_hpmfwupg.h:256:4: warning: type of bit-field 'preparationSupport' is a GCC extension [-Wpedantic] unsigned char preparationSupport : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:257:4: warning: type of bit-field 'comparisonSupport' is a GCC extension [-Wpedantic] unsigned char comparisonSupport : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:258:4: warning: type of bit-field 'deferredActivation' is a GCC extension [-Wpedantic] unsigned char deferredActivation : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:259:4: warning: type of bit-field 'payloadColdReset' is a GCC extension [-Wpedantic] unsigned char payloadColdReset : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:260:4: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] unsigned char reserved : 2; ^ ../include/ipmitool/ipmi_hpmfwupg.h:700:4: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] unsigned char reserved : 4; ^ ../include/ipmitool/ipmi_hpmfwupg.h:701:4: warning: type of bit-field 'servAffected' is a GCC extension [-Wpedantic] unsigned char servAffected : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:702:4: warning: type of bit-field 'manRollback' is a GCC extension [-Wpedantic] unsigned char manRollback : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:703:4: warning: type of bit-field 'autRollback' is a GCC extension [-Wpedantic] unsigned char autRollback : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:704:4: warning: type of bit-field 'imageSelfTest' is a GCC extension [-Wpedantic] unsigned char imageSelfTest : 1; ^ ../include/ipmitool/ipmi_sdr.h:616:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical:1; ^ ../include/ipmitool/ipmi_sdr.h:622:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:4; ^ ../include/ipmitool/ipmi_sdr.h:623:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_sdr.h:648:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../include/ipmitool/ipmi_sdr.h:649:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_sdr.h:650:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:3; ^ ../include/ipmitool/ipmi_sdr.h:656:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:5; ^ ../include/ipmitool/ipmi_sdr.h:657:2: warning: type of bit-field 'addr_span' is a GCC extension [-Wpedantic] uint8_t addr_span:3; ^ ../include/ipmitool/ipmi_sdr.h:683:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_sdr.h:684:3: warning: type of bit-field 'isaccessable' is a GCC extension [-Wpedantic] uint8_t isaccessable:1; ^ ../include/ipmitool/ipmi_sdr.h:685:3: warning: type of bit-field 'islinked' is a GCC extension [-Wpedantic] uint8_t islinked:1; ^ ../include/ipmitool/ipmi_sdr.h:686:3: warning: type of bit-field 'isrange' is a GCC extension [-Wpedantic] uint8_t isrange:1; ^ ../include/ipmitool/ipmi_sdr.h:730:2: warning: type of bit-field 'get_sdr_repository_allo_info_supported' is a GCC extension [-Wpedantic] uint8_t get_sdr_repository_allo_info_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:731:2: warning: type of bit-field 'reserve_sdr_repository_supported' is a GCC extension [-Wpedantic] uint8_t reserve_sdr_repository_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:732:2: warning: type of bit-field 'partial_add_sdr_supported' is a GCC extension [-Wpedantic] uint8_t partial_add_sdr_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:733:2: warning: type of bit-field 'delete_sdr_supported' is a GCC extension [-Wpedantic] uint8_t delete_sdr_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:734:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:1; ^ ../include/ipmitool/ipmi_sdr.h:735:2: warning: type of bit-field 'modal_update_support' is a GCC extension [-Wpedantic] uint8_t modal_update_support:2; ^ ../include/ipmitool/ipmi_sdr.h:736:2: warning: type of bit-field 'overflow_flag' is a GCC extension [-Wpedantic] uint8_t overflow_flag:1; ^ In file included from ipmi_kontronoem.c:47:0: ../include/ipmitool/ipmi_fru.h:65:2: warning: type of bit-field 'access' is a GCC extension [-Wpedantic] uint8_t access:1; ^ ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ ../include/ipmitool/ipmi_fru.h:153:2: warning: type of bit-field 'capacity' is a GCC extension [-Wpedantic] uint16_t capacity:12; ^ ../include/ipmitool/ipmi_fru.h:154:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint16_t __reserved1:4; ^ ../include/ipmitool/ipmi_fru.h:174:2: warning: type of bit-field 'predictive_fail' is a GCC extension [-Wpedantic] uint8_t predictive_fail:1; ^ ../include/ipmitool/ipmi_fru.h:175:2: warning: type of bit-field 'pfc' is a GCC extension [-Wpedantic] uint8_t pfc:1; ^ ../include/ipmitool/ipmi_fru.h:176:2: warning: type of bit-field 'autoswitch' is a GCC extension [-Wpedantic] uint8_t autoswitch:1; ^ ../include/ipmitool/ipmi_fru.h:177:2: warning: type of bit-field 'hotswap' is a GCC extension [-Wpedantic] uint8_t hotswap:1; ^ ../include/ipmitool/ipmi_fru.h:178:2: warning: type of bit-field 'tach' is a GCC extension [-Wpedantic] uint8_t tach:1; ^ ../include/ipmitool/ipmi_fru.h:179:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:3; ^ ../include/ipmitool/ipmi_fru.h:186:2: warning: type of bit-field 'combined_voltage2' is a GCC extension [-Wpedantic] uint8_t combined_voltage2:4; ^ ../include/ipmitool/ipmi_fru.h:187:2: warning: type of bit-field 'combined_voltage1' is a GCC extension [-Wpedantic] uint8_t combined_voltage1:4; ^ ../include/ipmitool/ipmi_fru.h:208:2: warning: type of bit-field 'output_number' is a GCC extension [-Wpedantic] uint8_t output_number:4; ^ ../include/ipmitool/ipmi_fru.h:209:2: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:3; ^ ../include/ipmitool/ipmi_fru.h:210:2: warning: type of bit-field 'standby' is a GCC extension [-Wpedantic] uint8_t standby:1; ^ ../include/ipmitool/ipmi_fru.h:231:2: warning: type of bit-field 'output_number' is a GCC extension [-Wpedantic] uint8_t output_number:4; ^ ../include/ipmitool/ipmi_fru.h:232:2: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:4; ^ ipmi_hpmfwupg.c: In function 'HpmfwupgPreUpgradeCheck': ipmi_hpmfwupg.c:837:43: warning: unused parameter 'intf' [-Wunused-parameter] HpmfwupgPreUpgradeCheck(struct ipmi_intf *intf, ^ ipmi_hpmfwupg.c: In function 'HpmfwupgGetBufferFromFile': ipmi_hpmfwupg.c:1420:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ret != pFwupgCtx->imageSize) { ^ ../include/ipmitool/ipmi_fru.h:374:2: warning: type of bit-field 'asymetricMatch' is a GCC extension [-Wpedantic] unsigned char asymetricMatch:2; ^ ../include/ipmitool/ipmi_fru.h:375:2: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] unsigned char reserved:6; ^ ../include/ipmitool/ipmi_fru.h:486:2: warning: type of bit-field 'remote_port' is a GCC extension [-Wpedantic] unsigned short remote_port:5; ^ ../include/ipmitool/ipmi_fru.h:487:2: warning: type of bit-field 'local_port' is a GCC extension [-Wpedantic] unsigned short local_port:5; ^ ../include/ipmitool/ipmi_fru.h:488:2: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] unsigned short reserved:6; ^ ../include/ipmitool/ipmi_fru.h:505:2: warning: type of bit-field 'resource_id' is a GCC extension [-Wpedantic] unsigned char resource_id :4; ^ ../include/ipmitool/ipmi_fru.h:506:2: warning: type of bit-field '' is a GCC extension [-Wpedantic] unsigned char /* reserved */ :3; ^ ../include/ipmitool/ipmi_fru.h:507:2: warning: type of bit-field 'record_type' is a GCC extension [-Wpedantic] unsigned char record_type :1; ^ ipmi_hpmfwupg.c: In function 'HpmfwupgCalculateChecksum': ipmi_hpmfwupg.c:2342:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (dataIdx = 0; dataIdx < length; dataIdx++) { ^ ipmi_kontronoem.c: In function 'ipmi_kontron_nextboot_set': ipmi_kontronoem.c:659:55: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_kontron_nextboot_set(struct ipmi_intf *intf, int argc, char **argv) ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sdradd.lo ipmi_sdradd.c In file included from ipmi_sdradd.c:46:0: ../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ In file included from ../include/ipmitool/ipmi_sdr.h:44:0, from ipmi_sdradd.c:51: ../include/ipmitool/ipmi_entity.h:45:2: warning: type of bit-field 'instance' is a GCC extension [-Wpedantic] uint8_t instance : 7; /* instance number */ ^ ../include/ipmitool/ipmi_entity.h:46:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical : 1; /* physical/logical */ ^ In file included from ipmi_sdradd.c:51:0: ../include/ipmitool/ipmi_sdr.h:215:4: warning: type of bit-field 'assert_lnc_low' is a GCC extension [-Wpedantic] uint16_t assert_lnc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:216:4: warning: type of bit-field 'assert_lnc_high' is a GCC extension [-Wpedantic] uint16_t assert_lnc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:217:4: warning: type of bit-field 'assert_lcr_low' is a GCC extension [-Wpedantic] uint16_t assert_lcr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:218:4: warning: type of bit-field 'assert_lcr_high' is a GCC extension [-Wpedantic] uint16_t assert_lcr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:219:4: warning: type of bit-field 'assert_lnr_low' is a GCC extension [-Wpedantic] uint16_t assert_lnr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:220:4: warning: type of bit-field 'assert_lnr_high' is a GCC extension [-Wpedantic] uint16_t assert_lnr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:221:4: warning: type of bit-field 'assert_unc_low' is a GCC extension [-Wpedantic] uint16_t assert_unc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:222:4: warning: type of bit-field 'assert_unc_high' is a GCC extension [-Wpedantic] uint16_t assert_unc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:223:4: warning: type of bit-field 'assert_ucr_low' is a GCC extension [-Wpedantic] uint16_t assert_ucr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:224:4: warning: type of bit-field 'assert_ucr_high' is a GCC extension [-Wpedantic] uint16_t assert_ucr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:225:4: warning: type of bit-field 'assert_unr_low' is a GCC extension [-Wpedantic] uint16_t assert_unr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:226:4: warning: type of bit-field 'assert_unr_high' is a GCC extension [-Wpedantic] uint16_t assert_unr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:227:4: warning: type of bit-field 'status_lnc' is a GCC extension [-Wpedantic] uint16_t status_lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:228:4: warning: type of bit-field 'status_lcr' is a GCC extension [-Wpedantic] uint16_t status_lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:229:4: warning: type of bit-field 'status_lnr' is a GCC extension [-Wpedantic] uint16_t status_lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:230:4: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:1; ^ ../include/ipmitool/ipmi_sdr.h:250:4: warning: type of bit-field 'deassert_lnc_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:251:4: warning: type of bit-field 'deassert_lnc_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:252:4: warning: type of bit-field 'deassert_lcr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:253:4: warning: type of bit-field 'deassert_lcr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:254:4: warning: type of bit-field 'deassert_lnr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:255:4: warning: type of bit-field 'deassert_lnr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:256:4: warning: type of bit-field 'deassert_unc_low' is a GCC extension [-Wpedantic] uint16_t deassert_unc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:257:4: warning: type of bit-field 'deassert_unc_high' is a GCC extension [-Wpedantic] uint16_t deassert_unc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:258:4: warning: type of bit-field 'deassert_ucr_low' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:259:4: warning: type of bit-field 'deassert_ucr_high' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:260:4: warning: type of bit-field 'deassert_unr_low' is a GCC extension [-Wpedantic] uint16_t deassert_unr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:261:4: warning: type of bit-field 'deassert_unr_high' is a GCC extension [-Wpedantic] uint16_t deassert_unr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:262:4: warning: type of bit-field 'status_unc' is a GCC extension [-Wpedantic] uint16_t status_unc:1; ^ ../include/ipmitool/ipmi_sdr.h:263:4: warning: type of bit-field 'status_ucr' is a GCC extension [-Wpedantic] uint16_t status_ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:264:4: warning: type of bit-field 'status_unr' is a GCC extension [-Wpedantic] uint16_t status_unr:1; ^ ../include/ipmitool/ipmi_sdr.h:265:4: warning: type of bit-field 'reserved_2' is a GCC extension [-Wpedantic] uint16_t reserved_2:1; ^ ../include/ipmitool/ipmi_sdr.h:280:6: warning: type of bit-field 'readable' is a GCC extension [-Wpedantic] uint16_t readable:8; ^ ../include/ipmitool/ipmi_sdr.h:281:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:282:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:283:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:284:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../include/ipmitool/ipmi_sdr.h:285:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:286:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_sdr.h:287:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:302:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:303:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:304:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:305:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../include/ipmitool/ipmi_sdr.h:306:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:307:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_sdr.h:308:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:309:6: warning: type of bit-field 'settable' is a GCC extension [-Wpedantic] uint16_t settable:8; ^ ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ../include/ipmitool/ipmi_sdr.h:331:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:332:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:333:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../include/ipmitool/ipmi_sdr.h:352:4: warning: type of bit-field 'sensor_scan' is a GCC extension [-Wpedantic] uint8_t sensor_scan:1; ^ ../include/ipmitool/ipmi_sdr.h:353:4: warning: type of bit-field 'event_gen' is a GCC extension [-Wpedantic] uint8_t event_gen:1; ^ ../include/ipmitool/ipmi_sdr.h:354:4: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] uint8_t type:1; ^ ../include/ipmitool/ipmi_sdr.h:355:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:1; ^ ../include/ipmitool/ipmi_sdr.h:356:4: warning: type of bit-field 'thresholds' is a GCC extension [-Wpedantic] uint8_t thresholds:1; ^ ../include/ipmitool/ipmi_sdr.h:357:4: warning: type of bit-field 'events' is a GCC extension [-Wpedantic] uint8_t events:1; ^ ../include/ipmitool/ipmi_sdr.h:358:4: warning: type of bit-field 'scanning' is a GCC extension [-Wpedantic] uint8_t scanning:1; ^ ../include/ipmitool/ipmi_sdr.h:359:4: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:1; ^ ../include/ipmitool/ipmi_sdr.h:370:4: warning: type of bit-field 'event_msg' is a GCC extension [-Wpedantic] uint8_t event_msg:2; ^ ../include/ipmitool/ipmi_sdr.h:371:4: warning: type of bit-field 'threshold' is a GCC extension [-Wpedantic] uint8_t threshold:2; ^ ../include/ipmitool/ipmi_sdr.h:372:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:2; ^ ../include/ipmitool/ipmi_sdr.h:373:4: warning: type of bit-field 'rearm' is a GCC extension [-Wpedantic] uint8_t rearm:1; ^ ../include/ipmitool/ipmi_sdr.h:374:4: warning: type of bit-field 'ignore' is a GCC extension [-Wpedantic] uint8_t ignore:1; ^ ../include/ipmitool/ipmi_sdr.h:391:3: warning: type of bit-field 'pct' is a GCC extension [-Wpedantic] uint8_t pct:1; ^ ../include/ipmitool/ipmi_sdr.h:392:3: warning: type of bit-field 'modifier' is a GCC extension [-Wpedantic] uint8_t modifier:2; ^ ../include/ipmitool/ipmi_sdr.h:393:3: warning: type of bit-field 'rate' is a GCC extension [-Wpedantic] uint8_t rate:3; ^ ../include/ipmitool/ipmi_sdr.h:394:3: warning: type of bit-field 'analog' is a GCC extension [-Wpedantic] uint8_t analog:2; ^ ../include/ipmitool/ipmi_sdr.h:422:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../include/ipmitool/ipmi_sdr.h:423:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../include/ipmitool/ipmi_sdr.h:424:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:430:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../include/ipmitool/ipmi_sdr.h:431:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../include/ipmitool/ipmi_sdr.h:462:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:463:3: warning: type of bit-field 'fru_owner' is a GCC extension [-Wpedantic] uint8_t fru_owner:2; /* fru device owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:464:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../include/ipmitool/ipmi_sdr.h:480:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../include/ipmitool/ipmi_sdr.h:481:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../include/ipmitool/ipmi_sdr.h:482:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:488:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../include/ipmitool/ipmi_sdr.h:489:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../include/ipmitool/ipmi_sdr.h:534:3: warning: type of bit-field 'nominal_read' is a GCC extension [-Wpedantic] uint8_t nominal_read:1; /* nominal reading field specified */ ^ ../include/ipmitool/ipmi_sdr.h:535:3: warning: type of bit-field 'normal_max' is a GCC extension [-Wpedantic] uint8_t normal_max:1; /* normal max field specified */ ^ ../include/ipmitool/ipmi_sdr.h:536:3: warning: type of bit-field 'normal_min' is a GCC extension [-Wpedantic] uint8_t normal_min:1; /* normal min field specified */ ^ ../include/ipmitool/ipmi_sdr.h:537:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_sdr.h:581:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_sdr.h:582:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:4; ^ ../include/ipmitool/ipmi_sdr.h:589:2: warning: type of bit-field 'global_init' is a GCC extension [-Wpedantic] uint8_t global_init:4; ^ ../include/ipmitool/ipmi_sdr.h:590:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:1; ^ ../include/ipmitool/ipmi_sdr.h:591:2: warning: type of bit-field 'pwr_state_notif' is a GCC extension [-Wpedantic] uint8_t pwr_state_notif:3; ^ ../include/ipmitool/ipmi_sdr.h:613:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../include/ipmitool/ipmi_sdr.h:614:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_sdr.h:615:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:2; ^ ../include/ipmitool/ipmi_sdr.h:616:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical:1; ^ ../include/ipmitool/ipmi_sdr.h:622:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:4; ^ ../include/ipmitool/ipmi_sdr.h:623:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_sdr.h:648:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../include/ipmitool/ipmi_sdr.h:649:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_sdr.h:650:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:3; ^ ../include/ipmitool/ipmi_sdr.h:656:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:5; ^ ../include/ipmitool/ipmi_sdr.h:657:2: warning: type of bit-field 'addr_span' is a GCC extension [-Wpedantic] uint8_t addr_span:3; ^ ../include/ipmitool/ipmi_sdr.h:683:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_sdr.h:684:3: warning: type of bit-field 'isaccessable' is a GCC extension [-Wpedantic] uint8_t isaccessable:1; ^ ../include/ipmitool/ipmi_sdr.h:685:3: warning: type of bit-field 'islinked' is a GCC extension [-Wpedantic] uint8_t islinked:1; ^ ../include/ipmitool/ipmi_sdr.h:686:3: warning: type of bit-field 'isrange' is a GCC extension [-Wpedantic] uint8_t isrange:1; ^ ../include/ipmitool/ipmi_sdr.h:730:2: warning: type of bit-field 'get_sdr_repository_allo_info_supported' is a GCC extension [-Wpedantic] uint8_t get_sdr_repository_allo_info_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:731:2: warning: type of bit-field 'reserve_sdr_repository_supported' is a GCC extension [-Wpedantic] uint8_t reserve_sdr_repository_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:732:2: warning: type of bit-field 'partial_add_sdr_supported' is a GCC extension [-Wpedantic] uint8_t partial_add_sdr_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:733:2: warning: type of bit-field 'delete_sdr_supported' is a GCC extension [-Wpedantic] uint8_t delete_sdr_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:734:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:1; ^ ../include/ipmitool/ipmi_sdr.h:735:2: warning: type of bit-field 'modal_update_support' is a GCC extension [-Wpedantic] uint8_t modal_update_support:2; ^ ../include/ipmitool/ipmi_sdr.h:736:2: warning: type of bit-field 'overflow_flag' is a GCC extension [-Wpedantic] uint8_t overflow_flag:1; ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_ekanalyzer.lo ipmi_ekanalyzer.c In file included from ../include/ipmitool/ipmi_ekanalyzer.h:40:0, from ipmi_ekanalyzer.c:36: ../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ In file included from ../include/ipmitool/ipmi_sdr.h:44:0, from ../include/ipmitool/ipmi_fru.h:38, from ../include/ipmitool/ipmi_ekanalyzer.h:41, from ipmi_ekanalyzer.c:36: ../include/ipmitool/ipmi_entity.h:45:2: warning: type of bit-field 'instance' is a GCC extension [-Wpedantic] uint8_t instance : 7; /* instance number */ ^ ../include/ipmitool/ipmi_entity.h:46:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical : 1; /* physical/logical */ ^ In file included from ../include/ipmitool/ipmi_fru.h:38:0, from ../include/ipmitool/ipmi_ekanalyzer.h:41, from ipmi_ekanalyzer.c:36: ../include/ipmitool/ipmi_sdr.h:215:4: warning: type of bit-field 'assert_lnc_low' is a GCC extension [-Wpedantic] uint16_t assert_lnc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:216:4: warning: type of bit-field 'assert_lnc_high' is a GCC extension [-Wpedantic] uint16_t assert_lnc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:217:4: warning: type of bit-field 'assert_lcr_low' is a GCC extension [-Wpedantic] uint16_t assert_lcr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:218:4: warning: type of bit-field 'assert_lcr_high' is a GCC extension [-Wpedantic] uint16_t assert_lcr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:219:4: warning: type of bit-field 'assert_lnr_low' is a GCC extension [-Wpedantic] uint16_t assert_lnr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:220:4: warning: type of bit-field 'assert_lnr_high' is a GCC extension [-Wpedantic] uint16_t assert_lnr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:221:4: warning: type of bit-field 'assert_unc_low' is a GCC extension [-Wpedantic] uint16_t assert_unc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:222:4: warning: type of bit-field 'assert_unc_high' is a GCC extension [-Wpedantic] uint16_t assert_unc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:223:4: warning: type of bit-field 'assert_ucr_low' is a GCC extension [-Wpedantic] uint16_t assert_ucr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:224:4: warning: type of bit-field 'assert_ucr_high' is a GCC extension [-Wpedantic] uint16_t assert_ucr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:225:4: warning: type of bit-field 'assert_unr_low' is a GCC extension [-Wpedantic] uint16_t assert_unr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:226:4: warning: type of bit-field 'assert_unr_high' is a GCC extension [-Wpedantic] uint16_t assert_unr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:227:4: warning: type of bit-field 'status_lnc' is a GCC extension [-Wpedantic] uint16_t status_lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:228:4: warning: type of bit-field 'status_lcr' is a GCC extension [-Wpedantic] uint16_t status_lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:229:4: warning: type of bit-field 'status_lnr' is a GCC extension [-Wpedantic] uint16_t status_lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:230:4: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:1; ^ ../include/ipmitool/ipmi_sdr.h:250:4: warning: type of bit-field 'deassert_lnc_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:251:4: warning: type of bit-field 'deassert_lnc_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:252:4: warning: type of bit-field 'deassert_lcr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:253:4: warning: type of bit-field 'deassert_lcr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:254:4: warning: type of bit-field 'deassert_lnr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:255:4: warning: type of bit-field 'deassert_lnr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:256:4: warning: type of bit-field 'deassert_unc_low' is a GCC extension [-Wpedantic] uint16_t deassert_unc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:257:4: warning: type of bit-field 'deassert_unc_high' is a GCC extension [-Wpedantic] uint16_t deassert_unc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:258:4: warning: type of bit-field 'deassert_ucr_low' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:259:4: warning: type of bit-field 'deassert_ucr_high' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:260:4: warning: type of bit-field 'deassert_unr_low' is a GCC extension [-Wpedantic] uint16_t deassert_unr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:261:4: warning: type of bit-field 'deassert_unr_high' is a GCC extension [-Wpedantic] uint16_t deassert_unr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:262:4: warning: type of bit-field 'status_unc' is a GCC extension [-Wpedantic] uint16_t status_unc:1; ^ ../include/ipmitool/ipmi_sdr.h:263:4: warning: type of bit-field 'status_ucr' is a GCC extension [-Wpedantic] uint16_t status_ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:264:4: warning: type of bit-field 'status_unr' is a GCC extension [-Wpedantic] uint16_t status_unr:1; ^ ../include/ipmitool/ipmi_sdr.h:265:4: warning: type of bit-field 'reserved_2' is a GCC extension [-Wpedantic] uint16_t reserved_2:1; ^ ../include/ipmitool/ipmi_sdr.h:280:6: warning: type of bit-field 'readable' is a GCC extension [-Wpedantic] uint16_t readable:8; ^ ../include/ipmitool/ipmi_sdr.h:281:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:282:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:283:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:284:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../include/ipmitool/ipmi_sdr.h:285:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:286:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_sdr.h:287:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:302:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:303:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:304:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:305:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../include/ipmitool/ipmi_sdr.h:306:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:307:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_sdr.h:308:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:309:6: warning: type of bit-field 'settable' is a GCC extension [-Wpedantic] uint16_t settable:8; ^ ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ../include/ipmitool/ipmi_sdr.h:331:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:332:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:333:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../include/ipmitool/ipmi_sdr.h:352:4: warning: type of bit-field 'sensor_scan' is a GCC extension [-Wpedantic] uint8_t sensor_scan:1; ^ ../include/ipmitool/ipmi_sdr.h:353:4: warning: type of bit-field 'event_gen' is a GCC extension [-Wpedantic] uint8_t event_gen:1; ^ ../include/ipmitool/ipmi_sdr.h:354:4: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] uint8_t type:1; ^ ../include/ipmitool/ipmi_sdr.h:355:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:1; ^ ../include/ipmitool/ipmi_sdr.h:356:4: warning: type of bit-field 'thresholds' is a GCC extension [-Wpedantic] uint8_t thresholds:1; ^ ../include/ipmitool/ipmi_sdr.h:357:4: warning: type of bit-field 'events' is a GCC extension [-Wpedantic] uint8_t events:1; ^ ../include/ipmitool/ipmi_sdr.h:358:4: warning: type of bit-field 'scanning' is a GCC extension [-Wpedantic] uint8_t scanning:1; ^ ../include/ipmitool/ipmi_sdr.h:359:4: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:1; ^ ../include/ipmitool/ipmi_sdr.h:370:4: warning: type of bit-field 'event_msg' is a GCC extension [-Wpedantic] uint8_t event_msg:2; ^ ../include/ipmitool/ipmi_sdr.h:371:4: warning: type of bit-field 'threshold' is a GCC extension [-Wpedantic] uint8_t threshold:2; ^ ../include/ipmitool/ipmi_sdr.h:372:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:2; ^ ../include/ipmitool/ipmi_sdr.h:373:4: warning: type of bit-field 'rearm' is a GCC extension [-Wpedantic] uint8_t rearm:1; ^ ../include/ipmitool/ipmi_sdr.h:374:4: warning: type of bit-field 'ignore' is a GCC extension [-Wpedantic] uint8_t ignore:1; ^ ../include/ipmitool/ipmi_sdr.h:391:3: warning: type of bit-field 'pct' is a GCC extension [-Wpedantic] uint8_t pct:1; ^ ../include/ipmitool/ipmi_sdr.h:392:3: warning: type of bit-field 'modifier' is a GCC extension [-Wpedantic] uint8_t modifier:2; ^ ../include/ipmitool/ipmi_sdr.h:393:3: warning: type of bit-field 'rate' is a GCC extension [-Wpedantic] uint8_t rate:3; ^ ../include/ipmitool/ipmi_sdr.h:394:3: warning: type of bit-field 'analog' is a GCC extension [-Wpedantic] uint8_t analog:2; ^ ../include/ipmitool/ipmi_sdr.h:422:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../include/ipmitool/ipmi_sdr.h:423:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../include/ipmitool/ipmi_sdr.h:424:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:430:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../include/ipmitool/ipmi_sdr.h:431:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../include/ipmitool/ipmi_sdr.h:462:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:463:3: warning: type of bit-field 'fru_owner' is a GCC extension [-Wpedantic] uint8_t fru_owner:2; /* fru device owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:464:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../include/ipmitool/ipmi_sdr.h:480:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../include/ipmitool/ipmi_sdr.h:481:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../include/ipmitool/ipmi_sdr.h:482:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:488:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../include/ipmitool/ipmi_sdr.h:489:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../include/ipmitool/ipmi_sdr.h:534:3: warning: type of bit-field 'nominal_read' is a GCC extension [-Wpedantic] uint8_t nominal_read:1; /* nominal reading field specified */ ^ ../include/ipmitool/ipmi_sdr.h:535:3: warning: type of bit-field 'normal_max' is a GCC extension [-Wpedantic] uint8_t normal_max:1; /* normal max field specified */ ^ ../include/ipmitool/ipmi_sdr.h:536:3: warning: type of bit-field 'normal_min' is a GCC extension [-Wpedantic] uint8_t normal_min:1; /* normal min field specified */ ^ ../include/ipmitool/ipmi_sdr.h:537:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_sdr.h:581:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_sdr.h:582:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:4; ^ ../include/ipmitool/ipmi_sdr.h:589:2: warning: type of bit-field 'global_init' is a GCC extension [-Wpedantic] uint8_t global_init:4; ^ ../include/ipmitool/ipmi_sdr.h:590:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:1; ^ ../include/ipmitool/ipmi_sdr.h:591:2: warning: type of bit-field 'pwr_state_notif' is a GCC extension [-Wpedantic] uint8_t pwr_state_notif:3; ^ ../include/ipmitool/ipmi_sdr.h:613:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../include/ipmitool/ipmi_sdr.h:614:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_sdr.h:615:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:2; ^ ../include/ipmitool/ipmi_sdr.h:616:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical:1; ^ ../include/ipmitool/ipmi_sdr.h:622:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:4; ^ ../include/ipmitool/ipmi_sdr.h:623:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_sdr.h:648:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../include/ipmitool/ipmi_sdr.h:649:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_sdr.h:650:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:3; ^ ../include/ipmitool/ipmi_sdr.h:656:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:5; ^ ../include/ipmitool/ipmi_sdr.h:657:2: warning: type of bit-field 'addr_span' is a GCC extension [-Wpedantic] uint8_t addr_span:3; ^ ../include/ipmitool/ipmi_sdr.h:683:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_sdr.h:684:3: warning: type of bit-field 'isaccessable' is a GCC extension [-Wpedantic] uint8_t isaccessable:1; ^ ../include/ipmitool/ipmi_sdr.h:685:3: warning: type of bit-field 'islinked' is a GCC extension [-Wpedantic] uint8_t islinked:1; ^ ../include/ipmitool/ipmi_sdr.h:686:3: warning: type of bit-field 'isrange' is a GCC extension [-Wpedantic] uint8_t isrange:1; ^ ../include/ipmitool/ipmi_sdr.h:730:2: warning: type of bit-field 'get_sdr_repository_allo_info_supported' is a GCC extension [-Wpedantic] uint8_t get_sdr_repository_allo_info_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:731:2: warning: type of bit-field 'reserve_sdr_repository_supported' is a GCC extension [-Wpedantic] uint8_t reserve_sdr_repository_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:732:2: warning: type of bit-field 'partial_add_sdr_supported' is a GCC extension [-Wpedantic] uint8_t partial_add_sdr_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:733:2: warning: type of bit-field 'delete_sdr_supported' is a GCC extension [-Wpedantic] uint8_t delete_sdr_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:734:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:1; ^ ../include/ipmitool/ipmi_sdr.h:735:2: warning: type of bit-field 'modal_update_support' is a GCC extension [-Wpedantic] uint8_t modal_update_support:2; ^ ../include/ipmitool/ipmi_sdr.h:736:2: warning: type of bit-field 'overflow_flag' is a GCC extension [-Wpedantic] uint8_t overflow_flag:1; ^ In file included from ../include/ipmitool/ipmi_ekanalyzer.h:41:0, from ipmi_ekanalyzer.c:36: ../include/ipmitool/ipmi_fru.h:65:2: warning: type of bit-field 'access' is a GCC extension [-Wpedantic] uint8_t access:1; ^ ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ ../include/ipmitool/ipmi_fru.h:153:2: warning: type of bit-field 'capacity' is a GCC extension [-Wpedantic] uint16_t capacity:12; ^ ../include/ipmitool/ipmi_fru.h:154:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint16_t __reserved1:4; ^ ../include/ipmitool/ipmi_fru.h:174:2: warning: type of bit-field 'predictive_fail' is a GCC extension [-Wpedantic] uint8_t predictive_fail:1; ^ ../include/ipmitool/ipmi_fru.h:175:2: warning: type of bit-field 'pfc' is a GCC extension [-Wpedantic] uint8_t pfc:1; ^ ../include/ipmitool/ipmi_fru.h:176:2: warning: type of bit-field 'autoswitch' is a GCC extension [-Wpedantic] uint8_t autoswitch:1; ^ ../include/ipmitool/ipmi_fru.h:177:2: warning: type of bit-field 'hotswap' is a GCC extension [-Wpedantic] uint8_t hotswap:1; ^ ../include/ipmitool/ipmi_fru.h:178:2: warning: type of bit-field 'tach' is a GCC extension [-Wpedantic] uint8_t tach:1; ^ ../include/ipmitool/ipmi_fru.h:179:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:3; ^ ../include/ipmitool/ipmi_fru.h:186:2: warning: type of bit-field 'combined_voltage2' is a GCC extension [-Wpedantic] uint8_t combined_voltage2:4; ^ ../include/ipmitool/ipmi_fru.h:187:2: warning: type of bit-field 'combined_voltage1' is a GCC extension [-Wpedantic] uint8_t combined_voltage1:4; ^ ../include/ipmitool/ipmi_fru.h:208:2: warning: type of bit-field 'output_number' is a GCC extension [-Wpedantic] uint8_t output_number:4; ^ ../include/ipmitool/ipmi_fru.h:209:2: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:3; ^ ../include/ipmitool/ipmi_fru.h:210:2: warning: type of bit-field 'standby' is a GCC extension [-Wpedantic] uint8_t standby:1; ^ ../include/ipmitool/ipmi_fru.h:231:2: warning: type of bit-field 'output_number' is a GCC extension [-Wpedantic] uint8_t output_number:4; ^ ../include/ipmitool/ipmi_fru.h:232:2: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:4; ^ ../include/ipmitool/ipmi_fru.h:374:2: warning: type of bit-field 'asymetricMatch' is a GCC extension [-Wpedantic] unsigned char asymetricMatch:2; ^ ../include/ipmitool/ipmi_fru.h:375:2: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] unsigned char reserved:6; ^ ../include/ipmitool/ipmi_fru.h:486:2: warning: type of bit-field 'remote_port' is a GCC extension [-Wpedantic] unsigned short remote_port:5; ^ ../include/ipmitool/ipmi_fru.h:487:2: warning: type of bit-field 'local_port' is a GCC extension [-Wpedantic] unsigned short local_port:5; ^ ../include/ipmitool/ipmi_fru.h:488:2: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] unsigned short reserved:6; ^ ../include/ipmitool/ipmi_fru.h:505:2: warning: type of bit-field 'resource_id' is a GCC extension [-Wpedantic] unsigned char resource_id :4; ^ ../include/ipmitool/ipmi_fru.h:506:2: warning: type of bit-field '' is a GCC extension [-Wpedantic] unsigned char /* reserved */ :3; ^ ../include/ipmitool/ipmi_fru.h:507:2: warning: type of bit-field 'record_type' is a GCC extension [-Wpedantic] unsigned char record_type :1; ^ ipmi_ekanalyzer.c: In function 'ipmi_ekanalyzer_main': ipmi_ekanalyzer.c:483:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (type_offset = 0; type_offset < (argc-1); type_offset++ ) { ^ ipmi_ekanalyzer.c:457:40: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_ekanalyzer_main(struct ipmi_intf *intf, int argc, char **argv) ^ ipmi_ekanalyzer.c: In function 'ipmi_ek_matching_process': ipmi_ekanalyzer.c:1241:38: warning: unused parameter 'list_last' [-Wunused-parameter] struct ipmi_ek_multi_header ** list_last, char * opt, ^ ipmi_ekanalyzer.c: In function 'ipmi_ek_display_record': ipmi_ekanalyzer.c:2939:32: warning: unused parameter 'list_last' [-Wunused-parameter] struct ipmi_ek_multi_header *list_last) ^ ipmi_ekanalyzer.c: In function 'ipmi_ek_display_board_p2p_record': ipmi_ekanalyzer.c:3371:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < sizeof(struct fru_picmgext_guid); j++) { ^ ipmi_ekanalyzer.c: At top level: ipmi_ekanalyzer.c:3316:1: warning: 'ipmi_ek_display_shelf_fan_geography_record' defined but not used [-Wunused-function] ipmi_ek_display_shelf_fan_geography_record(struct ipmi_ek_multi_header *record) ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_gendev.lo ipmi_gendev.c In file included from ipmi_gendev.c:41:0: ../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ In file included from ../include/ipmitool/ipmi_sdr.h:44:0, from ipmi_gendev.c:44: ../include/ipmitool/ipmi_entity.h:45:2: warning: type of bit-field 'instance' is a GCC extension [-Wpedantic] uint8_t instance : 7; /* instance number */ ^ ../include/ipmitool/ipmi_entity.h:46:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical : 1; /* physical/logical */ ^ In file included from ipmi_gendev.c:44:0: ../include/ipmitool/ipmi_sdr.h:215:4: warning: type of bit-field 'assert_lnc_low' is a GCC extension [-Wpedantic] uint16_t assert_lnc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:216:4: warning: type of bit-field 'assert_lnc_high' is a GCC extension [-Wpedantic] uint16_t assert_lnc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:217:4: warning: type of bit-field 'assert_lcr_low' is a GCC extension [-Wpedantic] uint16_t assert_lcr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:218:4: warning: type of bit-field 'assert_lcr_high' is a GCC extension [-Wpedantic] uint16_t assert_lcr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:219:4: warning: type of bit-field 'assert_lnr_low' is a GCC extension [-Wpedantic] uint16_t assert_lnr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:220:4: warning: type of bit-field 'assert_lnr_high' is a GCC extension [-Wpedantic] uint16_t assert_lnr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:221:4: warning: type of bit-field 'assert_unc_low' is a GCC extension [-Wpedantic] uint16_t assert_unc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:222:4: warning: type of bit-field 'assert_unc_high' is a GCC extension [-Wpedantic] uint16_t assert_unc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:223:4: warning: type of bit-field 'assert_ucr_low' is a GCC extension [-Wpedantic] uint16_t assert_ucr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:224:4: warning: type of bit-field 'assert_ucr_high' is a GCC extension [-Wpedantic] uint16_t assert_ucr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:225:4: warning: type of bit-field 'assert_unr_low' is a GCC extension [-Wpedantic] uint16_t assert_unr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:226:4: warning: type of bit-field 'assert_unr_high' is a GCC extension [-Wpedantic] uint16_t assert_unr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:227:4: warning: type of bit-field 'status_lnc' is a GCC extension [-Wpedantic] uint16_t status_lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:228:4: warning: type of bit-field 'status_lcr' is a GCC extension [-Wpedantic] uint16_t status_lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:229:4: warning: type of bit-field 'status_lnr' is a GCC extension [-Wpedantic] uint16_t status_lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:230:4: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:1; ^ ../include/ipmitool/ipmi_sdr.h:250:4: warning: type of bit-field 'deassert_lnc_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:251:4: warning: type of bit-field 'deassert_lnc_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:252:4: warning: type of bit-field 'deassert_lcr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:253:4: warning: type of bit-field 'deassert_lcr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:254:4: warning: type of bit-field 'deassert_lnr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:255:4: warning: type of bit-field 'deassert_lnr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:256:4: warning: type of bit-field 'deassert_unc_low' is a GCC extension [-Wpedantic] uint16_t deassert_unc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:257:4: warning: type of bit-field 'deassert_unc_high' is a GCC extension [-Wpedantic] uint16_t deassert_unc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:258:4: warning: type of bit-field 'deassert_ucr_low' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:259:4: warning: type of bit-field 'deassert_ucr_high' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:260:4: warning: type of bit-field 'deassert_unr_low' is a GCC extension [-Wpedantic] uint16_t deassert_unr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:261:4: warning: type of bit-field 'deassert_unr_high' is a GCC extension [-Wpedantic] uint16_t deassert_unr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:262:4: warning: type of bit-field 'status_unc' is a GCC extension [-Wpedantic] uint16_t status_unc:1; ^ ../include/ipmitool/ipmi_sdr.h:263:4: warning: type of bit-field 'status_ucr' is a GCC extension [-Wpedantic] uint16_t status_ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:264:4: warning: type of bit-field 'status_unr' is a GCC extension [-Wpedantic] uint16_t status_unr:1; ^ ../include/ipmitool/ipmi_sdr.h:265:4: warning: type of bit-field 'reserved_2' is a GCC extension [-Wpedantic] uint16_t reserved_2:1; ^ ../include/ipmitool/ipmi_sdr.h:280:6: warning: type of bit-field 'readable' is a GCC extension [-Wpedantic] uint16_t readable:8; ^ ../include/ipmitool/ipmi_sdr.h:281:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:282:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:283:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:284:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../include/ipmitool/ipmi_sdr.h:285:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:286:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_sdr.h:287:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:302:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:303:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:304:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:305:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../include/ipmitool/ipmi_sdr.h:306:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:307:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_sdr.h:308:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:309:6: warning: type of bit-field 'settable' is a GCC extension [-Wpedantic] uint16_t settable:8; ^ ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ../include/ipmitool/ipmi_sdr.h:331:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:332:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:333:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../include/ipmitool/ipmi_sdr.h:352:4: warning: type of bit-field 'sensor_scan' is a GCC extension [-Wpedantic] uint8_t sensor_scan:1; ^ ../include/ipmitool/ipmi_sdr.h:353:4: warning: type of bit-field 'event_gen' is a GCC extension [-Wpedantic] uint8_t event_gen:1; ^ ../include/ipmitool/ipmi_sdr.h:354:4: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] uint8_t type:1; ^ ../include/ipmitool/ipmi_sdr.h:355:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:1; ^ ../include/ipmitool/ipmi_sdr.h:356:4: warning: type of bit-field 'thresholds' is a GCC extension [-Wpedantic] uint8_t thresholds:1; ^ ../include/ipmitool/ipmi_sdr.h:357:4: warning: type of bit-field 'events' is a GCC extension [-Wpedantic] uint8_t events:1; ^ ../include/ipmitool/ipmi_sdr.h:358:4: warning: type of bit-field 'scanning' is a GCC extension [-Wpedantic] uint8_t scanning:1; ^ ../include/ipmitool/ipmi_sdr.h:359:4: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:1; ^ ../include/ipmitool/ipmi_sdr.h:370:4: warning: type of bit-field 'event_msg' is a GCC extension [-Wpedantic] uint8_t event_msg:2; ^ ../include/ipmitool/ipmi_sdr.h:371:4: warning: type of bit-field 'threshold' is a GCC extension [-Wpedantic] uint8_t threshold:2; ^ ../include/ipmitool/ipmi_sdr.h:372:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:2; ^ ../include/ipmitool/ipmi_sdr.h:373:4: warning: type of bit-field 'rearm' is a GCC extension [-Wpedantic] uint8_t rearm:1; ^ ../include/ipmitool/ipmi_sdr.h:374:4: warning: type of bit-field 'ignore' is a GCC extension [-Wpedantic] uint8_t ignore:1; ^ ../include/ipmitool/ipmi_sdr.h:391:3: warning: type of bit-field 'pct' is a GCC extension [-Wpedantic] uint8_t pct:1; ^ ../include/ipmitool/ipmi_sdr.h:392:3: warning: type of bit-field 'modifier' is a GCC extension [-Wpedantic] uint8_t modifier:2; ^ ../include/ipmitool/ipmi_sdr.h:393:3: warning: type of bit-field 'rate' is a GCC extension [-Wpedantic] uint8_t rate:3; ^ ../include/ipmitool/ipmi_sdr.h:394:3: warning: type of bit-field 'analog' is a GCC extension [-Wpedantic] uint8_t analog:2; ^ ../include/ipmitool/ipmi_sdr.h:422:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../include/ipmitool/ipmi_sdr.h:423:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../include/ipmitool/ipmi_sdr.h:424:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:430:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../include/ipmitool/ipmi_sdr.h:431:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../include/ipmitool/ipmi_sdr.h:462:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:463:3: warning: type of bit-field 'fru_owner' is a GCC extension [-Wpedantic] uint8_t fru_owner:2; /* fru device owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:464:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_ime.lo ipmi_ime.c ../include/ipmitool/ipmi_sdr.h:480:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../include/ipmitool/ipmi_sdr.h:481:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../include/ipmitool/ipmi_sdr.h:482:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:488:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../include/ipmitool/ipmi_sdr.h:489:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../include/ipmitool/ipmi_sdr.h:534:3: warning: type of bit-field 'nominal_read' is a GCC extension [-Wpedantic] uint8_t nominal_read:1; /* nominal reading field specified */ ^ ../include/ipmitool/ipmi_sdr.h:535:3: warning: type of bit-field 'normal_max' is a GCC extension [-Wpedantic] uint8_t normal_max:1; /* normal max field specified */ ^ ../include/ipmitool/ipmi_sdr.h:536:3: warning: type of bit-field 'normal_min' is a GCC extension [-Wpedantic] uint8_t normal_min:1; /* normal min field specified */ ^ ../include/ipmitool/ipmi_sdr.h:537:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_sdr.h:581:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_sdr.h:582:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:4; ^ ../include/ipmitool/ipmi_sdr.h:589:2: warning: type of bit-field 'global_init' is a GCC extension [-Wpedantic] uint8_t global_init:4; ^ ../include/ipmitool/ipmi_sdr.h:590:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:1; ^ ../include/ipmitool/ipmi_sdr.h:591:2: warning: type of bit-field 'pwr_state_notif' is a GCC extension [-Wpedantic] uint8_t pwr_state_notif:3; ^ ../include/ipmitool/ipmi_sdr.h:613:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../include/ipmitool/ipmi_sdr.h:614:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_sdr.h:615:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:2; ^ ../include/ipmitool/ipmi_sdr.h:616:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical:1; ^ ../include/ipmitool/ipmi_sdr.h:622:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:4; ^ ../include/ipmitool/ipmi_sdr.h:623:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_sdr.h:648:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../include/ipmitool/ipmi_sdr.h:649:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_sdr.h:650:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:3; ^ ../include/ipmitool/ipmi_sdr.h:656:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:5; ^ ../include/ipmitool/ipmi_sdr.h:657:2: warning: type of bit-field 'addr_span' is a GCC extension [-Wpedantic] uint8_t addr_span:3; ^ ../include/ipmitool/ipmi_sdr.h:683:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_sdr.h:684:3: warning: type of bit-field 'isaccessable' is a GCC extension [-Wpedantic] uint8_t isaccessable:1; ^ ../include/ipmitool/ipmi_sdr.h:685:3: warning: type of bit-field 'islinked' is a GCC extension [-Wpedantic] uint8_t islinked:1; ^ ../include/ipmitool/ipmi_sdr.h:686:3: warning: type of bit-field 'isrange' is a GCC extension [-Wpedantic] uint8_t isrange:1; ^ ../include/ipmitool/ipmi_sdr.h:730:2: warning: type of bit-field 'get_sdr_repository_allo_info_supported' is a GCC extension [-Wpedantic] uint8_t get_sdr_repository_allo_info_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:731:2: warning: type of bit-field 'reserve_sdr_repository_supported' is a GCC extension [-Wpedantic] uint8_t reserve_sdr_repository_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:732:2: warning: type of bit-field 'partial_add_sdr_supported' is a GCC extension [-Wpedantic] uint8_t partial_add_sdr_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:733:2: warning: type of bit-field 'delete_sdr_supported' is a GCC extension [-Wpedantic] uint8_t delete_sdr_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:734:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:1; ^ ../include/ipmitool/ipmi_sdr.h:735:2: warning: type of bit-field 'modal_update_support' is a GCC extension [-Wpedantic] uint8_t modal_update_support:2; ^ ../include/ipmitool/ipmi_sdr.h:736:2: warning: type of bit-field 'overflow_flag' is a GCC extension [-Wpedantic] uint8_t overflow_flag:1; ^ In file included from ipmi_gendev.c:47:0: ../include/ipmitool/ipmi_sel.h:83:2: warning: type of bit-field 'event_type' is a GCC extension [-Wpedantic] uint8_t event_type : 7; ^ ../include/ipmitool/ipmi_sel.h:84:2: warning: type of bit-field 'event_dir' is a GCC extension [-Wpedantic] uint8_t event_dir : 1; ^ ipmi_gendev.c: In function 'ipmi_gendev_get_eeprom_size': ipmi_gendev.c:74:43: warning: unused parameter 'intf' [-Wunused-parameter] struct ipmi_intf *intf, ^ ipmi_gendev.c: In function 'ipmi_gendev_write_file': ipmi_gendev.c:385:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(fileLength != eeprom_size) ^ In file included from ../include/ipmitool/ipmi_ime.h:40:0, from ipmi_ime.c:81: ../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ipmi_ime.c: In function 'ImeImageCtxFromFile': ipmi_ime.c:895:23: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] if (pImageCtx->size < 0) ^ ipmi_ime.c: At top level: ipmi_ime.c:799:12: warning: 'ImeUpdateShowStatus' defined but not used [-Wunused-function] static int ImeUpdateShowStatus(struct ipmi_intf *intf) ^ ipmi_ekanalyzer.c: In function 'ipmi_ekanalyzer_ekeying_match': ipmi_ekanalyzer.c:1662:26: warning: 'pcarrier_p2p' may be used uninitialized in this function [-Wmaybe-uninitialized] result = ipmi_ek_check_physical_connectivity ( ^ ipmi_ekanalyzer.c:1133:43: note: 'pcarrier_p2p' was declared here struct ipmi_ek_multi_header * pcarrier_p2p; ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_delloem.lo ipmi_delloem.c In file included from ipmi_delloem.c:49:0: ../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ In file included from ../include/ipmitool/ipmi_sdr.h:44:0, from ../include/ipmitool/ipmi_sel.h:38, from ipmi_delloem.c:53: ../include/ipmitool/ipmi_entity.h:45:2: warning: type of bit-field 'instance' is a GCC extension [-Wpedantic] uint8_t instance : 7; /* instance number */ ^ ../include/ipmitool/ipmi_entity.h:46:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical : 1; /* physical/logical */ ^ In file included from ../include/ipmitool/ipmi_sel.h:38:0, from ipmi_delloem.c:53: ../include/ipmitool/ipmi_sdr.h:215:4: warning: type of bit-field 'assert_lnc_low' is a GCC extension [-Wpedantic] uint16_t assert_lnc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:216:4: warning: type of bit-field 'assert_lnc_high' is a GCC extension [-Wpedantic] uint16_t assert_lnc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:217:4: warning: type of bit-field 'assert_lcr_low' is a GCC extension [-Wpedantic] uint16_t assert_lcr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:218:4: warning: type of bit-field 'assert_lcr_high' is a GCC extension [-Wpedantic] uint16_t assert_lcr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:219:4: warning: type of bit-field 'assert_lnr_low' is a GCC extension [-Wpedantic] uint16_t assert_lnr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:220:4: warning: type of bit-field 'assert_lnr_high' is a GCC extension [-Wpedantic] uint16_t assert_lnr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:221:4: warning: type of bit-field 'assert_unc_low' is a GCC extension [-Wpedantic] uint16_t assert_unc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:222:4: warning: type of bit-field 'assert_unc_high' is a GCC extension [-Wpedantic] uint16_t assert_unc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:223:4: warning: type of bit-field 'assert_ucr_low' is a GCC extension [-Wpedantic] uint16_t assert_ucr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:224:4: warning: type of bit-field 'assert_ucr_high' is a GCC extension [-Wpedantic] uint16_t assert_ucr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:225:4: warning: type of bit-field 'assert_unr_low' is a GCC extension [-Wpedantic] uint16_t assert_unr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:226:4: warning: type of bit-field 'assert_unr_high' is a GCC extension [-Wpedantic] uint16_t assert_unr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:227:4: warning: type of bit-field 'status_lnc' is a GCC extension [-Wpedantic] uint16_t status_lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:228:4: warning: type of bit-field 'status_lcr' is a GCC extension [-Wpedantic] uint16_t status_lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:229:4: warning: type of bit-field 'status_lnr' is a GCC extension [-Wpedantic] uint16_t status_lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:230:4: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:1; ^ ../include/ipmitool/ipmi_sdr.h:250:4: warning: type of bit-field 'deassert_lnc_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:251:4: warning: type of bit-field 'deassert_lnc_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:252:4: warning: type of bit-field 'deassert_lcr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:253:4: warning: type of bit-field 'deassert_lcr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:254:4: warning: type of bit-field 'deassert_lnr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:255:4: warning: type of bit-field 'deassert_lnr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:256:4: warning: type of bit-field 'deassert_unc_low' is a GCC extension [-Wpedantic] uint16_t deassert_unc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:257:4: warning: type of bit-field 'deassert_unc_high' is a GCC extension [-Wpedantic] uint16_t deassert_unc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:258:4: warning: type of bit-field 'deassert_ucr_low' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:259:4: warning: type of bit-field 'deassert_ucr_high' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:260:4: warning: type of bit-field 'deassert_unr_low' is a GCC extension [-Wpedantic] uint16_t deassert_unr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:261:4: warning: type of bit-field 'deassert_unr_high' is a GCC extension [-Wpedantic] uint16_t deassert_unr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:262:4: warning: type of bit-field 'status_unc' is a GCC extension [-Wpedantic] uint16_t status_unc:1; ^ ../include/ipmitool/ipmi_sdr.h:263:4: warning: type of bit-field 'status_ucr' is a GCC extension [-Wpedantic] uint16_t status_ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:264:4: warning: type of bit-field 'status_unr' is a GCC extension [-Wpedantic] uint16_t status_unr:1; ^ ../include/ipmitool/ipmi_sdr.h:265:4: warning: type of bit-field 'reserved_2' is a GCC extension [-Wpedantic] uint16_t reserved_2:1; ^ ../include/ipmitool/ipmi_sdr.h:280:6: warning: type of bit-field 'readable' is a GCC extension [-Wpedantic] uint16_t readable:8; ^ ../include/ipmitool/ipmi_sdr.h:281:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:282:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:283:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:284:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../include/ipmitool/ipmi_sdr.h:285:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:286:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_sdr.h:287:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:302:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:303:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:304:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:305:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../include/ipmitool/ipmi_sdr.h:306:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:307:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_sdr.h:308:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:309:6: warning: type of bit-field 'settable' is a GCC extension [-Wpedantic] uint16_t settable:8; ^ ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ../include/ipmitool/ipmi_sdr.h:331:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:332:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:333:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../include/ipmitool/ipmi_sdr.h:352:4: warning: type of bit-field 'sensor_scan' is a GCC extension [-Wpedantic] uint8_t sensor_scan:1; ^ ../include/ipmitool/ipmi_sdr.h:353:4: warning: type of bit-field 'event_gen' is a GCC extension [-Wpedantic] uint8_t event_gen:1; ^ ../include/ipmitool/ipmi_sdr.h:354:4: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] uint8_t type:1; ^ ../include/ipmitool/ipmi_sdr.h:355:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:1; ^ ../include/ipmitool/ipmi_sdr.h:356:4: warning: type of bit-field 'thresholds' is a GCC extension [-Wpedantic] uint8_t thresholds:1; ^ ../include/ipmitool/ipmi_sdr.h:357:4: warning: type of bit-field 'events' is a GCC extension [-Wpedantic] uint8_t events:1; ^ ../include/ipmitool/ipmi_sdr.h:358:4: warning: type of bit-field 'scanning' is a GCC extension [-Wpedantic] uint8_t scanning:1; ^ ../include/ipmitool/ipmi_sdr.h:359:4: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:1; ^ ../include/ipmitool/ipmi_sdr.h:370:4: warning: type of bit-field 'event_msg' is a GCC extension [-Wpedantic] uint8_t event_msg:2; ^ ../include/ipmitool/ipmi_sdr.h:371:4: warning: type of bit-field 'threshold' is a GCC extension [-Wpedantic] uint8_t threshold:2; ^ ../include/ipmitool/ipmi_sdr.h:372:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:2; ^ ../include/ipmitool/ipmi_sdr.h:373:4: warning: type of bit-field 'rearm' is a GCC extension [-Wpedantic] uint8_t rearm:1; ^ ../include/ipmitool/ipmi_sdr.h:374:4: warning: type of bit-field 'ignore' is a GCC extension [-Wpedantic] uint8_t ignore:1; ^ ../include/ipmitool/ipmi_sdr.h:391:3: warning: type of bit-field 'pct' is a GCC extension [-Wpedantic] uint8_t pct:1; ^ ../include/ipmitool/ipmi_sdr.h:392:3: warning: type of bit-field 'modifier' is a GCC extension [-Wpedantic] uint8_t modifier:2; ^ ../include/ipmitool/ipmi_sdr.h:393:3: warning: type of bit-field 'rate' is a GCC extension [-Wpedantic] uint8_t rate:3; ^ ../include/ipmitool/ipmi_sdr.h:394:3: warning: type of bit-field 'analog' is a GCC extension [-Wpedantic] uint8_t analog:2; ^ ../include/ipmitool/ipmi_sdr.h:422:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../include/ipmitool/ipmi_sdr.h:423:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../include/ipmitool/ipmi_sdr.h:424:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:430:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../include/ipmitool/ipmi_sdr.h:431:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../include/ipmitool/ipmi_sdr.h:462:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:463:3: warning: type of bit-field 'fru_owner' is a GCC extension [-Wpedantic] uint8_t fru_owner:2; /* fru device owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:464:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../include/ipmitool/ipmi_sdr.h:480:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../include/ipmitool/ipmi_sdr.h:481:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../include/ipmitool/ipmi_sdr.h:482:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:488:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../include/ipmitool/ipmi_sdr.h:489:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../include/ipmitool/ipmi_sdr.h:534:3: warning: type of bit-field 'nominal_read' is a GCC extension [-Wpedantic] uint8_t nominal_read:1; /* nominal reading field specified */ ^ ../include/ipmitool/ipmi_sdr.h:535:3: warning: type of bit-field 'normal_max' is a GCC extension [-Wpedantic] uint8_t normal_max:1; /* normal max field specified */ ^ ../include/ipmitool/ipmi_sdr.h:536:3: warning: type of bit-field 'normal_min' is a GCC extension [-Wpedantic] uint8_t normal_min:1; /* normal min field specified */ ^ ../include/ipmitool/ipmi_sdr.h:537:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_sdr.h:581:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_sdr.h:582:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:4; ^ ../include/ipmitool/ipmi_sdr.h:589:2: warning: type of bit-field 'global_init' is a GCC extension [-Wpedantic] uint8_t global_init:4; ^ ../include/ipmitool/ipmi_sdr.h:590:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:1; ^ ../include/ipmitool/ipmi_sdr.h:591:2: warning: type of bit-field 'pwr_state_notif' is a GCC extension [-Wpedantic] uint8_t pwr_state_notif:3; ^ ../include/ipmitool/ipmi_sdr.h:613:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../include/ipmitool/ipmi_sdr.h:614:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_sdr.h:615:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:2; ^ ../include/ipmitool/ipmi_sdr.h:616:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical:1; ^ ../include/ipmitool/ipmi_sdr.h:622:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:4; ^ ../include/ipmitool/ipmi_sdr.h:623:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_sdr.h:648:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../include/ipmitool/ipmi_sdr.h:649:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_sdr.h:650:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:3; ^ ../include/ipmitool/ipmi_sdr.h:656:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:5; ^ ../include/ipmitool/ipmi_sdr.h:657:2: warning: type of bit-field 'addr_span' is a GCC extension [-Wpedantic] uint8_t addr_span:3; ^ ../include/ipmitool/ipmi_sdr.h:683:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_sdr.h:684:3: warning: type of bit-field 'isaccessable' is a GCC extension [-Wpedantic] uint8_t isaccessable:1; ^ ../include/ipmitool/ipmi_sdr.h:685:3: warning: type of bit-field 'islinked' is a GCC extension [-Wpedantic] uint8_t islinked:1; ^ ../include/ipmitool/ipmi_sdr.h:686:3: warning: type of bit-field 'isrange' is a GCC extension [-Wpedantic] uint8_t isrange:1; ^ ../include/ipmitool/ipmi_sdr.h:730:2: warning: type of bit-field 'get_sdr_repository_allo_info_supported' is a GCC extension [-Wpedantic] uint8_t get_sdr_repository_allo_info_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:731:2: warning: type of bit-field 'reserve_sdr_repository_supported' is a GCC extension [-Wpedantic] uint8_t reserve_sdr_repository_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:732:2: warning: type of bit-field 'partial_add_sdr_supported' is a GCC extension [-Wpedantic] uint8_t partial_add_sdr_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:733:2: warning: type of bit-field 'delete_sdr_supported' is a GCC extension [-Wpedantic] uint8_t delete_sdr_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:734:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:1; ^ ../include/ipmitool/ipmi_sdr.h:735:2: warning: type of bit-field 'modal_update_support' is a GCC extension [-Wpedantic] uint8_t modal_update_support:2; ^ ../include/ipmitool/ipmi_sdr.h:736:2: warning: type of bit-field 'overflow_flag' is a GCC extension [-Wpedantic] uint8_t overflow_flag:1; ^ In file included from ipmi_delloem.c:53:0: ../include/ipmitool/ipmi_sel.h:83:2: warning: type of bit-field 'event_type' is a GCC extension [-Wpedantic] uint8_t event_type : 7; ^ ../include/ipmitool/ipmi_sel.h:84:2: warning: type of bit-field 'event_dir' is a GCC extension [-Wpedantic] uint8_t event_dir : 1; ^ In file included from ipmi_delloem.c:54:0: ../include/ipmitool/ipmi_delloem.h:110:17: warning: type of bit-field 'encoding' is a GCC extension [-Wpedantic] uint8_t encoding : 4; /* 0 is printable ASCII 7-bit */ ^ ../include/ipmitool/ipmi_delloem.h:128:17: warning: type of bit-field 'encoding' is a GCC extension [-Wpedantic] uint8_t encoding : 4; /* 0 is printable ASCII 7-bit */ ^ In file included from ipmi_delloem.c:55:0: ../include/ipmitool/ipmi_fru.h:65:2: warning: type of bit-field 'access' is a GCC extension [-Wpedantic] uint8_t access:1; ^ ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ ../include/ipmitool/ipmi_fru.h:153:2: warning: type of bit-field 'capacity' is a GCC extension [-Wpedantic] uint16_t capacity:12; ^ ../include/ipmitool/ipmi_fru.h:154:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint16_t __reserved1:4; ^ ../include/ipmitool/ipmi_fru.h:174:2: warning: type of bit-field 'predictive_fail' is a GCC extension [-Wpedantic] uint8_t predictive_fail:1; ^ ../include/ipmitool/ipmi_fru.h:175:2: warning: type of bit-field 'pfc' is a GCC extension [-Wpedantic] uint8_t pfc:1; ^ ../include/ipmitool/ipmi_fru.h:176:2: warning: type of bit-field 'autoswitch' is a GCC extension [-Wpedantic] uint8_t autoswitch:1; ^ ../include/ipmitool/ipmi_fru.h:177:2: warning: type of bit-field 'hotswap' is a GCC extension [-Wpedantic] uint8_t hotswap:1; ^ ../include/ipmitool/ipmi_fru.h:178:2: warning: type of bit-field 'tach' is a GCC extension [-Wpedantic] uint8_t tach:1; ^ ../include/ipmitool/ipmi_fru.h:179:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:3; ^ ../include/ipmitool/ipmi_fru.h:186:2: warning: type of bit-field 'combined_voltage2' is a GCC extension [-Wpedantic] uint8_t combined_voltage2:4; ^ ../include/ipmitool/ipmi_fru.h:187:2: warning: type of bit-field 'combined_voltage1' is a GCC extension [-Wpedantic] uint8_t combined_voltage1:4; ^ ../include/ipmitool/ipmi_fru.h:208:2: warning: type of bit-field 'output_number' is a GCC extension [-Wpedantic] uint8_t output_number:4; ^ ../include/ipmitool/ipmi_fru.h:209:2: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:3; ^ ../include/ipmitool/ipmi_fru.h:210:2: warning: type of bit-field 'standby' is a GCC extension [-Wpedantic] uint8_t standby:1; ^ ../include/ipmitool/ipmi_fru.h:231:2: warning: type of bit-field 'output_number' is a GCC extension [-Wpedantic] uint8_t output_number:4; ^ ../include/ipmitool/ipmi_fru.h:232:2: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:4; ^ ../include/ipmitool/ipmi_fru.h:374:2: warning: type of bit-field 'asymetricMatch' is a GCC extension [-Wpedantic] unsigned char asymetricMatch:2; ^ ../include/ipmitool/ipmi_fru.h:375:2: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] unsigned char reserved:6; ^ ../include/ipmitool/ipmi_fru.h:486:2: warning: type of bit-field 'remote_port' is a GCC extension [-Wpedantic] unsigned short remote_port:5; ^ ../include/ipmitool/ipmi_fru.h:487:2: warning: type of bit-field 'local_port' is a GCC extension [-Wpedantic] unsigned short local_port:5; ^ ../include/ipmitool/ipmi_fru.h:488:2: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] unsigned short reserved:6; ^ ../include/ipmitool/ipmi_fru.h:505:2: warning: type of bit-field 'resource_id' is a GCC extension [-Wpedantic] unsigned char resource_id :4; ^ ../include/ipmitool/ipmi_fru.h:506:2: warning: type of bit-field '' is a GCC extension [-Wpedantic] unsigned char /* reserved */ :3; ^ ../include/ipmitool/ipmi_fru.h:507:2: warning: type of bit-field 'record_type' is a GCC extension [-Wpedantic] unsigned char record_type :1; ^ ipmi_delloem.c: In function 'ipmi_lcd_set_kvm': ipmi_delloem.c:1192:9: warning: missing braces around initializer [-Wmissing-braces] struct ipmi_rq req = {0}; ^ ipmi_delloem.c:1192:9: warning: (near initialization for 'req.msg') [-Wmissing-braces] ipmi_delloem.c: In function 'ipmi_lcd_set_lock': ipmi_delloem.c:1238:9: warning: missing braces around initializer [-Wmissing-braces] struct ipmi_rq req = {0}; ^ ipmi_delloem.c:1238:9: warning: (near initialization for 'req.msg') [-Wmissing-braces] ipmi_delloem.c: In function 'ipmi_lcd_set_text': ipmi_delloem.c:1341:61: warning: unused parameter 'line_number' [-Wunused-parameter] ipmi_lcd_set_text(struct ipmi_intf * intf, char * text, int line_number) ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_dcmi.lo ipmi_dcmi.c ipmi_delloem.c: In function 'ipmi_macinfo_drac_idrac_virtual_mac': ipmi_delloem.c:1582:10: warning: unused variable 'j' [-Wunused-variable] uint8_t j; ^ ipmi_delloem.c: In function 'ipmi_macinfo_drac_idrac_mac': ipmi_delloem.c:1674:10: warning: unused variable 'j' [-Wunused-variable] uint8_t j; ^ ipmi_delloem.c: In function 'ipmi_macinfo_10g': ipmi_delloem.c:1742:10: warning: unused variable 'j' [-Wunused-variable] uint8_t j; ^ ipmi_delloem.c: In function 'ipmi_macinfo_11g': ipmi_delloem.c:1805:10: warning: unused variable 'j' [-Wunused-variable] uint8_t j; ^ ipmi_delloem.c: In function 'ipmi_delloem_lan_main': ipmi_delloem.c:1997:4: warning: pointer targets in passing argument 2 of 'ipmi_lan_set_nic_selection_12g' differ in signedness [-Wpointer-sign] rc = ipmi_lan_set_nic_selection_12g(intf,nic_set); ^ ipmi_delloem.c:199:12: note: expected 'uint8_t *' but argument is of type 'char *' static int ipmi_lan_set_nic_selection_12g(struct ipmi_intf *intf, ^ ipmi_delloem.c:1961:52: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_delloem_lan_main(struct ipmi_intf * intf, int argc, char ** argv) ^ ipmi_delloem.c: In function 'ipmi_get_power_capstatus_command': ipmi_delloem.c:2683:9: warning: missing braces around initializer [-Wmissing-braces] struct ipmi_rq req = {0}; ^ ipmi_delloem.c:2683:9: warning: (near initialization for 'req.msg') [-Wmissing-braces] ipmi_delloem.c: In function 'ipmi_set_power_capstatus_command': ipmi_delloem.c:2727:9: warning: missing braces around initializer [-Wmissing-braces] struct ipmi_rq req = {0}; ^ ipmi_delloem.c:2727:9: warning: (near initialization for 'req.msg') [-Wmissing-braces] ipmi_delloem.c: In function 'ipmi_get_power_headroom_command': ipmi_delloem.c:3003:9: warning: missing braces around initializer [-Wmissing-braces] struct ipmi_rq req = {0}; ^ ipmi_delloem.c:3003:9: warning: (near initialization for 'req.msg') [-Wmissing-braces] ipmi_delloem.c: In function 'ipmi_get_instan_power_consmpt_data': ipmi_delloem.c:3134:9: warning: missing braces around initializer [-Wmissing-braces] struct ipmi_rq req={0}; ^ ipmi_delloem.c:3134:9: warning: (near initialization for 'req.msg') [-Wmissing-braces] ipmi_delloem.c: In function 'ipmi_get_minpower_consmpt_history': ipmi_delloem.c:3372:5: warning: too many arguments for format [-Wformat-extra-args] rdata[20], rdata[21], rdata[22], rdata[23]); ^ ipmi_delloem.c: In function 'ipmi_get_power_cap': ipmi_delloem.c:3563:5: warning: too many arguments for format [-Wformat-extra-args] rdata[8], rdata[9], rdata[10],rdata[11]); ^ ipmi_delloem.c: In function 'ipmi_delloem_vFlash_main': ipmi_delloem.c:3819:55: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_delloem_vFlash_main(struct ipmi_intf * intf, int argc, char ** argv) ^ ipmi_delloem.c: In function 'CheckSetLEDSupport': ipmi_delloem.c:4032:9: warning: missing braces around initializer [-Wmissing-braces] struct ipmi_rq req = {0}; ^ ipmi_delloem.c:4032:9: warning: (near initialization for 'req.msg') [-Wmissing-braces] ipmi_delloem.c: In function 'ipmi_getdrivemap': ipmi_delloem.c:4077:9: warning: missing braces around initializer [-Wmissing-braces] struct ipmi_rq req = {0}; ^ ipmi_delloem.c:4077:9: warning: (near initialization for 'req.msg') [-Wmissing-braces] ipmi_delloem.c: In function 'ipmi_setled_state': ipmi_delloem.c:4128:9: warning: missing braces around initializer [-Wmissing-braces] struct ipmi_rq req = {0}; ^ ipmi_delloem.c:4128:9: warning: (near initialization for 'req.msg') [-Wmissing-braces] ipmi_delloem.c: In function 'ipmi_delloem_setled_main': ipmi_delloem.c:4228:2: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'int *' [-Wformat=] } else if (sscanf(argv[current_arg], "%*x:%x:%x.%x", &b,&d,&f) == 3) { ^ ipmi_delloem.c:4228:2: warning: format '%x' expects argument of type 'unsigned int *', but argument 4 has type 'int *' [-Wformat=] ipmi_delloem.c:4228:2: warning: format '%x' expects argument of type 'unsigned int *', but argument 5 has type 'int *' [-Wformat=] ipmi_delloem.c:4232:2: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'int *' [-Wformat=] } else if (sscanf(argv[current_arg], "%x:%x.%x", &b,&d,&f) == 3) { ^ ipmi_delloem.c:4232:2: warning: format '%x' expects argument of type 'unsigned int *', but argument 4 has type 'int *' [-Wformat=] ipmi_delloem.c:4232:2: warning: format '%x' expects argument of type 'unsigned int *', but argument 5 has type 'int *' [-Wformat=] In file included from ../include/ipmitool/ipmi_dcmi.h:23:0, from ipmi_dcmi.c:50: ../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ In file included from ipmi_dcmi.c:57:0: ../include/ipmitool/ipmi_entity.h:45:2: warning: type of bit-field 'instance' is a GCC extension [-Wpedantic] uint8_t instance : 7; /* instance number */ ^ ../include/ipmitool/ipmi_entity.h:46:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical : 1; /* physical/logical */ ^ In file included from ../include/ipmitool/ipmi_sensor.h:39:0, from ipmi_dcmi.c:59: ../include/ipmitool/ipmi_sdr.h:215:4: warning: type of bit-field 'assert_lnc_low' is a GCC extension [-Wpedantic] uint16_t assert_lnc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:216:4: warning: type of bit-field 'assert_lnc_high' is a GCC extension [-Wpedantic] uint16_t assert_lnc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:217:4: warning: type of bit-field 'assert_lcr_low' is a GCC extension [-Wpedantic] uint16_t assert_lcr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:218:4: warning: type of bit-field 'assert_lcr_high' is a GCC extension [-Wpedantic] uint16_t assert_lcr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:219:4: warning: type of bit-field 'assert_lnr_low' is a GCC extension [-Wpedantic] uint16_t assert_lnr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:220:4: warning: type of bit-field 'assert_lnr_high' is a GCC extension [-Wpedantic] uint16_t assert_lnr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:221:4: warning: type of bit-field 'assert_unc_low' is a GCC extension [-Wpedantic] uint16_t assert_unc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:222:4: warning: type of bit-field 'assert_unc_high' is a GCC extension [-Wpedantic] uint16_t assert_unc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:223:4: warning: type of bit-field 'assert_ucr_low' is a GCC extension [-Wpedantic] uint16_t assert_ucr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:224:4: warning: type of bit-field 'assert_ucr_high' is a GCC extension [-Wpedantic] uint16_t assert_ucr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:225:4: warning: type of bit-field 'assert_unr_low' is a GCC extension [-Wpedantic] uint16_t assert_unr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:226:4: warning: type of bit-field 'assert_unr_high' is a GCC extension [-Wpedantic] uint16_t assert_unr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:227:4: warning: type of bit-field 'status_lnc' is a GCC extension [-Wpedantic] uint16_t status_lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:228:4: warning: type of bit-field 'status_lcr' is a GCC extension [-Wpedantic] uint16_t status_lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:229:4: warning: type of bit-field 'status_lnr' is a GCC extension [-Wpedantic] uint16_t status_lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:230:4: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:1; ^ ../include/ipmitool/ipmi_sdr.h:250:4: warning: type of bit-field 'deassert_lnc_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:251:4: warning: type of bit-field 'deassert_lnc_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:252:4: warning: type of bit-field 'deassert_lcr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:253:4: warning: type of bit-field 'deassert_lcr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:254:4: warning: type of bit-field 'deassert_lnr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:255:4: warning: type of bit-field 'deassert_lnr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:256:4: warning: type of bit-field 'deassert_unc_low' is a GCC extension [-Wpedantic] uint16_t deassert_unc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:257:4: warning: type of bit-field 'deassert_unc_high' is a GCC extension [-Wpedantic] uint16_t deassert_unc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:258:4: warning: type of bit-field 'deassert_ucr_low' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:259:4: warning: type of bit-field 'deassert_ucr_high' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:260:4: warning: type of bit-field 'deassert_unr_low' is a GCC extension [-Wpedantic] uint16_t deassert_unr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:261:4: warning: type of bit-field 'deassert_unr_high' is a GCC extension [-Wpedantic] uint16_t deassert_unr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:262:4: warning: type of bit-field 'status_unc' is a GCC extension [-Wpedantic] uint16_t status_unc:1; ^ ../include/ipmitool/ipmi_sdr.h:263:4: warning: type of bit-field 'status_ucr' is a GCC extension [-Wpedantic] uint16_t status_ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:264:4: warning: type of bit-field 'status_unr' is a GCC extension [-Wpedantic] uint16_t status_unr:1; ^ ../include/ipmitool/ipmi_sdr.h:265:4: warning: type of bit-field 'reserved_2' is a GCC extension [-Wpedantic] uint16_t reserved_2:1; ^ ../include/ipmitool/ipmi_sdr.h:280:6: warning: type of bit-field 'readable' is a GCC extension [-Wpedantic] uint16_t readable:8; ^ ../include/ipmitool/ipmi_sdr.h:281:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:282:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:283:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:284:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../include/ipmitool/ipmi_sdr.h:285:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:286:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_sdr.h:287:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:302:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:303:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:304:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:305:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../include/ipmitool/ipmi_sdr.h:306:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:307:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_sdr.h:308:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:309:6: warning: type of bit-field 'settable' is a GCC extension [-Wpedantic] uint16_t settable:8; ^ ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ../include/ipmitool/ipmi_sdr.h:331:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:332:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:333:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../include/ipmitool/ipmi_sdr.h:352:4: warning: type of bit-field 'sensor_scan' is a GCC extension [-Wpedantic] uint8_t sensor_scan:1; ^ ../include/ipmitool/ipmi_sdr.h:353:4: warning: type of bit-field 'event_gen' is a GCC extension [-Wpedantic] uint8_t event_gen:1; ^ ../include/ipmitool/ipmi_sdr.h:354:4: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] uint8_t type:1; ^ ../include/ipmitool/ipmi_sdr.h:355:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:1; ^ ../include/ipmitool/ipmi_sdr.h:356:4: warning: type of bit-field 'thresholds' is a GCC extension [-Wpedantic] uint8_t thresholds:1; ^ ../include/ipmitool/ipmi_sdr.h:357:4: warning: type of bit-field 'events' is a GCC extension [-Wpedantic] uint8_t events:1; ^ ../include/ipmitool/ipmi_sdr.h:358:4: warning: type of bit-field 'scanning' is a GCC extension [-Wpedantic] uint8_t scanning:1; ^ ../include/ipmitool/ipmi_sdr.h:359:4: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:1; ^ ../include/ipmitool/ipmi_sdr.h:370:4: warning: type of bit-field 'event_msg' is a GCC extension [-Wpedantic] uint8_t event_msg:2; ^ ../include/ipmitool/ipmi_sdr.h:371:4: warning: type of bit-field 'threshold' is a GCC extension [-Wpedantic] uint8_t threshold:2; ^ ../include/ipmitool/ipmi_sdr.h:372:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:2; ^ ../include/ipmitool/ipmi_sdr.h:373:4: warning: type of bit-field 'rearm' is a GCC extension [-Wpedantic] uint8_t rearm:1; ^ ../include/ipmitool/ipmi_sdr.h:374:4: warning: type of bit-field 'ignore' is a GCC extension [-Wpedantic] uint8_t ignore:1; ^ ../include/ipmitool/ipmi_sdr.h:391:3: warning: type of bit-field 'pct' is a GCC extension [-Wpedantic] uint8_t pct:1; ^ ../include/ipmitool/ipmi_sdr.h:392:3: warning: type of bit-field 'modifier' is a GCC extension [-Wpedantic] uint8_t modifier:2; ^ ../include/ipmitool/ipmi_sdr.h:393:3: warning: type of bit-field 'rate' is a GCC extension [-Wpedantic] uint8_t rate:3; ^ ../include/ipmitool/ipmi_sdr.h:394:3: warning: type of bit-field 'analog' is a GCC extension [-Wpedantic] uint8_t analog:2; ^ ../include/ipmitool/ipmi_sdr.h:422:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../include/ipmitool/ipmi_sdr.h:423:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../include/ipmitool/ipmi_sdr.h:424:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:430:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../include/ipmitool/ipmi_sdr.h:431:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../include/ipmitool/ipmi_sdr.h:462:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:463:3: warning: type of bit-field 'fru_owner' is a GCC extension [-Wpedantic] uint8_t fru_owner:2; /* fru device owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:464:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../include/ipmitool/ipmi_sdr.h:480:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../include/ipmitool/ipmi_sdr.h:481:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../include/ipmitool/ipmi_sdr.h:482:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:488:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../include/ipmitool/ipmi_sdr.h:489:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../include/ipmitool/ipmi_sdr.h:534:3: warning: type of bit-field 'nominal_read' is a GCC extension [-Wpedantic] uint8_t nominal_read:1; /* nominal reading field specified */ ^ ../include/ipmitool/ipmi_sdr.h:535:3: warning: type of bit-field 'normal_max' is a GCC extension [-Wpedantic] uint8_t normal_max:1; /* normal max field specified */ ^ ../include/ipmitool/ipmi_sdr.h:536:3: warning: type of bit-field 'normal_min' is a GCC extension [-Wpedantic] uint8_t normal_min:1; /* normal min field specified */ ^ ../include/ipmitool/ipmi_sdr.h:537:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_sdr.h:581:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_sdr.h:582:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:4; ^ ../include/ipmitool/ipmi_sdr.h:589:2: warning: type of bit-field 'global_init' is a GCC extension [-Wpedantic] uint8_t global_init:4; ^ ../include/ipmitool/ipmi_sdr.h:590:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:1; ^ ../include/ipmitool/ipmi_sdr.h:591:2: warning: type of bit-field 'pwr_state_notif' is a GCC extension [-Wpedantic] uint8_t pwr_state_notif:3; ^ ../include/ipmitool/ipmi_sdr.h:613:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../include/ipmitool/ipmi_sdr.h:614:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_sdr.h:615:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:2; ^ ../include/ipmitool/ipmi_sdr.h:616:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical:1; ^ ../include/ipmitool/ipmi_sdr.h:622:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:4; ^ ../include/ipmitool/ipmi_sdr.h:623:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_sdr.h:648:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../include/ipmitool/ipmi_sdr.h:649:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_sdr.h:650:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:3; ^ ../include/ipmitool/ipmi_sdr.h:656:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:5; ^ ../include/ipmitool/ipmi_sdr.h:657:2: warning: type of bit-field 'addr_span' is a GCC extension [-Wpedantic] uint8_t addr_span:3; ^ ../include/ipmitool/ipmi_sdr.h:683:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_sdr.h:684:3: warning: type of bit-field 'isaccessable' is a GCC extension [-Wpedantic] uint8_t isaccessable:1; ^ ../include/ipmitool/ipmi_sdr.h:685:3: warning: type of bit-field 'islinked' is a GCC extension [-Wpedantic] uint8_t islinked:1; ^ ../include/ipmitool/ipmi_sdr.h:686:3: warning: type of bit-field 'isrange' is a GCC extension [-Wpedantic] uint8_t isrange:1; ^ ../include/ipmitool/ipmi_sdr.h:730:2: warning: type of bit-field 'get_sdr_repository_allo_info_supported' is a GCC extension [-Wpedantic] uint8_t get_sdr_repository_allo_info_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:731:2: warning: type of bit-field 'reserve_sdr_repository_supported' is a GCC extension [-Wpedantic] uint8_t reserve_sdr_repository_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:732:2: warning: type of bit-field 'partial_add_sdr_supported' is a GCC extension [-Wpedantic] uint8_t partial_add_sdr_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:733:2: warning: type of bit-field 'delete_sdr_supported' is a GCC extension [-Wpedantic] uint8_t delete_sdr_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:734:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:1; ^ ../include/ipmitool/ipmi_sdr.h:735:2: warning: type of bit-field 'modal_update_support' is a GCC extension [-Wpedantic] uint8_t modal_update_support:2; ^ ../include/ipmitool/ipmi_sdr.h:736:2: warning: type of bit-field 'overflow_flag' is a GCC extension [-Wpedantic] uint8_t overflow_flag:1; ^ In file included from ../include/ipmitool/ipmi.h:41:0, from ../include/ipmitool/ipmi_dcmi.h:23, from ipmi_dcmi.c:50: ipmi_dcmi.c: In function 'str2val2': ../include/ipmitool/helper.h:130:25: warning: ISO C forbids braced-groups within expressions [-Wpedantic] # define __maxlen(a, b) ({ int x=strlen(a); int y=strlen(b); (x > y) ? x : y;}) ^ ipmi_dcmi.c:598:6: note: in expansion of macro '__maxlen' __maxlen(str, vs[i].str)) == 0) { ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o hpm2.lo hpm2.c In file included from ../include/ipmitool/ipmi_intf.h:36:0, from ../include/ipmitool/hpm2.h:34, from hpm2.c:34: ../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_vita.lo ipmi_vita.c In file included from ../include/ipmitool/ipmi_intf.h:36:0, from ipmi_vita.c:34: ../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ In file included from ipmi_vita.c:35:0: ../include/ipmitool/ipmi_picmg.h:186:4: warning: type of bit-field 'lane0' is a GCC extension [-Wpedantic] unsigned short lane0 : 1; ^ ../include/ipmitool/ipmi_picmg.h:187:4: warning: type of bit-field 'lane1' is a GCC extension [-Wpedantic] unsigned short lane1 : 1; ^ ../include/ipmitool/ipmi_picmg.h:188:4: warning: type of bit-field 'lane2' is a GCC extension [-Wpedantic] unsigned short lane2 : 1; ^ ../include/ipmitool/ipmi_picmg.h:189:4: warning: type of bit-field 'lane3' is a GCC extension [-Wpedantic] unsigned short lane3 : 1; ^ ../include/ipmitool/ipmi_picmg.h:190:4: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] unsigned short type : 8; ^ ../include/ipmitool/ipmi_picmg.h:191:4: warning: type of bit-field 'type_ext' is a GCC extension [-Wpedantic] unsigned short type_ext : 4; ^ ../include/ipmitool/ipmi_picmg.h:192:4: warning: type of bit-field 'group_id' is a GCC extension [-Wpedantic] unsigned char group_id : 8; ^ In file included from ../include/ipmitool/ipmi_sdr.h:44:0, from ../include/ipmitool/ipmi_fru.h:38, from ipmi_vita.c:37: ../include/ipmitool/ipmi_entity.h:45:2: warning: type of bit-field 'instance' is a GCC extension [-Wpedantic] uint8_t instance : 7; /* instance number */ ^ ../include/ipmitool/ipmi_entity.h:46:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical : 1; /* physical/logical */ ^ In file included from ../include/ipmitool/ipmi_fru.h:38:0, from ipmi_vita.c:37: ../include/ipmitool/ipmi_sdr.h:215:4: warning: type of bit-field 'assert_lnc_low' is a GCC extension [-Wpedantic] uint16_t assert_lnc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:216:4: warning: type of bit-field 'assert_lnc_high' is a GCC extension [-Wpedantic] uint16_t assert_lnc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:217:4: warning: type of bit-field 'assert_lcr_low' is a GCC extension [-Wpedantic] uint16_t assert_lcr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:218:4: warning: type of bit-field 'assert_lcr_high' is a GCC extension [-Wpedantic] uint16_t assert_lcr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:219:4: warning: type of bit-field 'assert_lnr_low' is a GCC extension [-Wpedantic] uint16_t assert_lnr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:220:4: warning: type of bit-field 'assert_lnr_high' is a GCC extension [-Wpedantic] uint16_t assert_lnr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:221:4: warning: type of bit-field 'assert_unc_low' is a GCC extension [-Wpedantic] uint16_t assert_unc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:222:4: warning: type of bit-field 'assert_unc_high' is a GCC extension [-Wpedantic] uint16_t assert_unc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:223:4: warning: type of bit-field 'assert_ucr_low' is a GCC extension [-Wpedantic] uint16_t assert_ucr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:224:4: warning: type of bit-field 'assert_ucr_high' is a GCC extension [-Wpedantic] uint16_t assert_ucr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:225:4: warning: type of bit-field 'assert_unr_low' is a GCC extension [-Wpedantic] uint16_t assert_unr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:226:4: warning: type of bit-field 'assert_unr_high' is a GCC extension [-Wpedantic] uint16_t assert_unr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:227:4: warning: type of bit-field 'status_lnc' is a GCC extension [-Wpedantic] uint16_t status_lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:228:4: warning: type of bit-field 'status_lcr' is a GCC extension [-Wpedantic] uint16_t status_lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:229:4: warning: type of bit-field 'status_lnr' is a GCC extension [-Wpedantic] uint16_t status_lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:230:4: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:1; ^ ../include/ipmitool/ipmi_sdr.h:250:4: warning: type of bit-field 'deassert_lnc_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:251:4: warning: type of bit-field 'deassert_lnc_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:252:4: warning: type of bit-field 'deassert_lcr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:253:4: warning: type of bit-field 'deassert_lcr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:254:4: warning: type of bit-field 'deassert_lnr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:255:4: warning: type of bit-field 'deassert_lnr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:256:4: warning: type of bit-field 'deassert_unc_low' is a GCC extension [-Wpedantic] uint16_t deassert_unc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:257:4: warning: type of bit-field 'deassert_unc_high' is a GCC extension [-Wpedantic] uint16_t deassert_unc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:258:4: warning: type of bit-field 'deassert_ucr_low' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:259:4: warning: type of bit-field 'deassert_ucr_high' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:260:4: warning: type of bit-field 'deassert_unr_low' is a GCC extension [-Wpedantic] uint16_t deassert_unr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:261:4: warning: type of bit-field 'deassert_unr_high' is a GCC extension [-Wpedantic] uint16_t deassert_unr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:262:4: warning: type of bit-field 'status_unc' is a GCC extension [-Wpedantic] uint16_t status_unc:1; ^ ../include/ipmitool/ipmi_sdr.h:263:4: warning: type of bit-field 'status_ucr' is a GCC extension [-Wpedantic] uint16_t status_ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:264:4: warning: type of bit-field 'status_unr' is a GCC extension [-Wpedantic] uint16_t status_unr:1; ^ ../include/ipmitool/ipmi_sdr.h:265:4: warning: type of bit-field 'reserved_2' is a GCC extension [-Wpedantic] uint16_t reserved_2:1; ^ ../include/ipmitool/ipmi_sdr.h:280:6: warning: type of bit-field 'readable' is a GCC extension [-Wpedantic] uint16_t readable:8; ^ ../include/ipmitool/ipmi_sdr.h:281:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:282:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:283:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:284:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../include/ipmitool/ipmi_sdr.h:285:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:286:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_sdr.h:287:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:302:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:303:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:304:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:305:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../include/ipmitool/ipmi_sdr.h:306:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:307:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_sdr.h:308:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:309:6: warning: type of bit-field 'settable' is a GCC extension [-Wpedantic] uint16_t settable:8; ^ ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ../include/ipmitool/ipmi_sdr.h:331:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:332:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:333:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../include/ipmitool/ipmi_sdr.h:352:4: warning: type of bit-field 'sensor_scan' is a GCC extension [-Wpedantic] uint8_t sensor_scan:1; ^ ../include/ipmitool/ipmi_sdr.h:353:4: warning: type of bit-field 'event_gen' is a GCC extension [-Wpedantic] uint8_t event_gen:1; ^ ../include/ipmitool/ipmi_sdr.h:354:4: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] uint8_t type:1; ^ ../include/ipmitool/ipmi_sdr.h:355:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:1; ^ ../include/ipmitool/ipmi_sdr.h:356:4: warning: type of bit-field 'thresholds' is a GCC extension [-Wpedantic] uint8_t thresholds:1; ^ ../include/ipmitool/ipmi_sdr.h:357:4: warning: type of bit-field 'events' is a GCC extension [-Wpedantic] uint8_t events:1; ^ ../include/ipmitool/ipmi_sdr.h:358:4: warning: type of bit-field 'scanning' is a GCC extension [-Wpedantic] uint8_t scanning:1; ^ ../include/ipmitool/ipmi_sdr.h:359:4: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:1; ^ ../include/ipmitool/ipmi_sdr.h:370:4: warning: type of bit-field 'event_msg' is a GCC extension [-Wpedantic] uint8_t event_msg:2; ^ ../include/ipmitool/ipmi_sdr.h:371:4: warning: type of bit-field 'threshold' is a GCC extension [-Wpedantic] uint8_t threshold:2; ^ ../include/ipmitool/ipmi_sdr.h:372:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:2; ^ ../include/ipmitool/ipmi_sdr.h:373:4: warning: type of bit-field 'rearm' is a GCC extension [-Wpedantic] uint8_t rearm:1; ^ ../include/ipmitool/ipmi_sdr.h:374:4: warning: type of bit-field 'ignore' is a GCC extension [-Wpedantic] uint8_t ignore:1; ^ ../include/ipmitool/ipmi_sdr.h:391:3: warning: type of bit-field 'pct' is a GCC extension [-Wpedantic] uint8_t pct:1; ^ ../include/ipmitool/ipmi_sdr.h:392:3: warning: type of bit-field 'modifier' is a GCC extension [-Wpedantic] uint8_t modifier:2; ^ ../include/ipmitool/ipmi_sdr.h:393:3: warning: type of bit-field 'rate' is a GCC extension [-Wpedantic] uint8_t rate:3; ^ ../include/ipmitool/ipmi_sdr.h:394:3: warning: type of bit-field 'analog' is a GCC extension [-Wpedantic] uint8_t analog:2; ^ ../include/ipmitool/ipmi_sdr.h:422:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../include/ipmitool/ipmi_sdr.h:423:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../include/ipmitool/ipmi_sdr.h:424:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:430:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../include/ipmitool/ipmi_sdr.h:431:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../include/ipmitool/ipmi_sdr.h:462:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:463:3: warning: type of bit-field 'fru_owner' is a GCC extension [-Wpedantic] uint8_t fru_owner:2; /* fru device owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:464:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../include/ipmitool/ipmi_sdr.h:480:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../include/ipmitool/ipmi_sdr.h:481:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../include/ipmitool/ipmi_sdr.h:482:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:488:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../include/ipmitool/ipmi_sdr.h:489:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../include/ipmitool/ipmi_sdr.h:534:3: warning: type of bit-field 'nominal_read' is a GCC extension [-Wpedantic] uint8_t nominal_read:1; /* nominal reading field specified */ ^ ../include/ipmitool/ipmi_sdr.h:535:3: warning: type of bit-field 'normal_max' is a GCC extension [-Wpedantic] uint8_t normal_max:1; /* normal max field specified */ ^ ../include/ipmitool/ipmi_sdr.h:536:3: warning: type of bit-field 'normal_min' is a GCC extension [-Wpedantic] uint8_t normal_min:1; /* normal min field specified */ ^ ../include/ipmitool/ipmi_sdr.h:537:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_sdr.h:581:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_sdr.h:582:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:4; ^ ../include/ipmitool/ipmi_sdr.h:589:2: warning: type of bit-field 'global_init' is a GCC extension [-Wpedantic] uint8_t global_init:4; ^ ../include/ipmitool/ipmi_sdr.h:590:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:1; ^ ../include/ipmitool/ipmi_sdr.h:591:2: warning: type of bit-field 'pwr_state_notif' is a GCC extension [-Wpedantic] uint8_t pwr_state_notif:3; ^ ../include/ipmitool/ipmi_sdr.h:613:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../include/ipmitool/ipmi_sdr.h:614:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_sdr.h:615:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:2; ^ ../include/ipmitool/ipmi_sdr.h:616:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical:1; ^ ../include/ipmitool/ipmi_sdr.h:622:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:4; ^ ../include/ipmitool/ipmi_sdr.h:623:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_sdr.h:648:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../include/ipmitool/ipmi_sdr.h:649:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_sdr.h:650:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:3; ^ ../include/ipmitool/ipmi_sdr.h:656:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:5; ^ ../include/ipmitool/ipmi_sdr.h:657:2: warning: type of bit-field 'addr_span' is a GCC extension [-Wpedantic] uint8_t addr_span:3; ^ ../include/ipmitool/ipmi_sdr.h:683:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_sdr.h:684:3: warning: type of bit-field 'isaccessable' is a GCC extension [-Wpedantic] uint8_t isaccessable:1; ^ ../include/ipmitool/ipmi_sdr.h:685:3: warning: type of bit-field 'islinked' is a GCC extension [-Wpedantic] uint8_t islinked:1; ^ ../include/ipmitool/ipmi_sdr.h:686:3: warning: type of bit-field 'isrange' is a GCC extension [-Wpedantic] uint8_t isrange:1; ^ ../include/ipmitool/ipmi_sdr.h:730:2: warning: type of bit-field 'get_sdr_repository_allo_info_supported' is a GCC extension [-Wpedantic] uint8_t get_sdr_repository_allo_info_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:731:2: warning: type of bit-field 'reserve_sdr_repository_supported' is a GCC extension [-Wpedantic] uint8_t reserve_sdr_repository_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:732:2: warning: type of bit-field 'partial_add_sdr_supported' is a GCC extension [-Wpedantic] uint8_t partial_add_sdr_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:733:2: warning: type of bit-field 'delete_sdr_supported' is a GCC extension [-Wpedantic] uint8_t delete_sdr_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:734:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:1; ^ ../include/ipmitool/ipmi_sdr.h:735:2: warning: type of bit-field 'modal_update_support' is a GCC extension [-Wpedantic] uint8_t modal_update_support:2; ^ ../include/ipmitool/ipmi_sdr.h:736:2: warning: type of bit-field 'overflow_flag' is a GCC extension [-Wpedantic] uint8_t overflow_flag:1; ^ In file included from ipmi_vita.c:37:0: ../include/ipmitool/ipmi_fru.h:65:2: warning: type of bit-field 'access' is a GCC extension [-Wpedantic] uint8_t access:1; ^ ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ ../include/ipmitool/ipmi_fru.h:153:2: warning: type of bit-field 'capacity' is a GCC extension [-Wpedantic] uint16_t capacity:12; ^ ../include/ipmitool/ipmi_fru.h:154:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint16_t __reserved1:4; ^ ../include/ipmitool/ipmi_fru.h:174:2: warning: type of bit-field 'predictive_fail' is a GCC extension [-Wpedantic] uint8_t predictive_fail:1; ^ ../include/ipmitool/ipmi_fru.h:175:2: warning: type of bit-field 'pfc' is a GCC extension [-Wpedantic] uint8_t pfc:1; ^ ../include/ipmitool/ipmi_fru.h:176:2: warning: type of bit-field 'autoswitch' is a GCC extension [-Wpedantic] uint8_t autoswitch:1; ^ ../include/ipmitool/ipmi_fru.h:177:2: warning: type of bit-field 'hotswap' is a GCC extension [-Wpedantic] uint8_t hotswap:1; ^ ../include/ipmitool/ipmi_fru.h:178:2: warning: type of bit-field 'tach' is a GCC extension [-Wpedantic] uint8_t tach:1; ^ ../include/ipmitool/ipmi_fru.h:179:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:3; ^ ../include/ipmitool/ipmi_fru.h:186:2: warning: type of bit-field 'combined_voltage2' is a GCC extension [-Wpedantic] uint8_t combined_voltage2:4; ^ ../include/ipmitool/ipmi_fru.h:187:2: warning: type of bit-field 'combined_voltage1' is a GCC extension [-Wpedantic] uint8_t combined_voltage1:4; ^ ../include/ipmitool/ipmi_fru.h:208:2: warning: type of bit-field 'output_number' is a GCC extension [-Wpedantic] uint8_t output_number:4; ^ ../include/ipmitool/ipmi_fru.h:209:2: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:3; ^ ../include/ipmitool/ipmi_fru.h:210:2: warning: type of bit-field 'standby' is a GCC extension [-Wpedantic] uint8_t standby:1; ^ ../include/ipmitool/ipmi_fru.h:231:2: warning: type of bit-field 'output_number' is a GCC extension [-Wpedantic] uint8_t output_number:4; ^ ../include/ipmitool/ipmi_fru.h:232:2: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:4; ^ ../include/ipmitool/ipmi_fru.h:374:2: warning: type of bit-field 'asymetricMatch' is a GCC extension [-Wpedantic] unsigned char asymetricMatch:2; ^ ../include/ipmitool/ipmi_fru.h:375:2: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] unsigned char reserved:6; ^ ../include/ipmitool/ipmi_fru.h:486:2: warning: type of bit-field 'remote_port' is a GCC extension [-Wpedantic] unsigned short remote_port:5; ^ ../include/ipmitool/ipmi_fru.h:487:2: warning: type of bit-field 'local_port' is a GCC extension [-Wpedantic] unsigned short local_port:5; ^ ../include/ipmitool/ipmi_fru.h:488:2: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] unsigned short reserved:6; ^ ../include/ipmitool/ipmi_fru.h:505:2: warning: type of bit-field 'resource_id' is a GCC extension [-Wpedantic] unsigned char resource_id :4; ^ ../include/ipmitool/ipmi_fru.h:506:2: warning: type of bit-field '' is a GCC extension [-Wpedantic] unsigned char /* reserved */ :3; ^ ../include/ipmitool/ipmi_fru.h:507:2: warning: type of bit-field 'record_type' is a GCC extension [-Wpedantic] unsigned char record_type :1; ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_lanp6.lo ipmi_lanp6.c In file included from ../include/ipmitool/ipmi_lanp.h:36:0, from ipmi_lanp6.c:36: ../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_cfgp.lo ipmi_cfgp.c /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ../src/plugins/lan/md5.lo ../src/plugins/lan/md5.c /bin/sh ../libtool --silent --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -export-dynamic -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libipmitool.la helper.lo ipmi_sdr.lo ipmi_sel.lo ipmi_sol.lo ipmi_pef.lo ipmi_lanp.lo ipmi_fru.lo ipmi_chassis.lo ipmi_mc.lo log.lo dimm_spd.lo ipmi_sensor.lo ipmi_channel.lo ipmi_event.lo ipmi_session.lo ipmi_strings.lo ipmi_user.lo ipmi_raw.lo ipmi_oem.lo ipmi_isol.lo ipmi_sunoem.lo ipmi_fwum.lo ipmi_picmg.lo ipmi_main.lo ipmi_tsol.lo ipmi_firewall.lo ipmi_kontronoem.lo ipmi_hpmfwupg.lo ipmi_sdradd.lo ipmi_ekanalyzer.lo ipmi_gendev.lo ipmi_ime.lo ipmi_delloem.lo ipmi_dcmi.lo hpm2.lo ipmi_vita.lo ipmi_lanp6.lo ipmi_cfgp.lo ../src/plugins/lan/md5.lo -lm -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto make[2]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/lib' Making all in src make[2]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/src' Making all in plugins make[3]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins' Making all in lan make[4]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins/lan' /bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o lan.lo lan.c /bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o auth.lo auth.c In file included from auth.c:42:0: ../../../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../../../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ In file included from lan.c:52:0: ../../../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../../../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ In file included from ../../../include/ipmitool/ipmi_sdr.h:44:0, from ../../../include/ipmitool/ipmi_sel.h:38, from lan.c:53: ../../../include/ipmitool/ipmi_entity.h:45:2: warning: type of bit-field 'instance' is a GCC extension [-Wpedantic] uint8_t instance : 7; /* instance number */ ^ ../../../include/ipmitool/ipmi_entity.h:46:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical : 1; /* physical/logical */ ^ In file included from ../../../include/ipmitool/ipmi_sel.h:38:0, from lan.c:53: ../../../include/ipmitool/ipmi_sdr.h:215:4: warning: type of bit-field 'assert_lnc_low' is a GCC extension [-Wpedantic] uint16_t assert_lnc_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:216:4: warning: type of bit-field 'assert_lnc_high' is a GCC extension [-Wpedantic] uint16_t assert_lnc_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:217:4: warning: type of bit-field 'assert_lcr_low' is a GCC extension [-Wpedantic] uint16_t assert_lcr_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:218:4: warning: type of bit-field 'assert_lcr_high' is a GCC extension [-Wpedantic] uint16_t assert_lcr_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:219:4: warning: type of bit-field 'assert_lnr_low' is a GCC extension [-Wpedantic] uint16_t assert_lnr_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:220:4: warning: type of bit-field 'assert_lnr_high' is a GCC extension [-Wpedantic] uint16_t assert_lnr_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:221:4: warning: type of bit-field 'assert_unc_low' is a GCC extension [-Wpedantic] uint16_t assert_unc_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:222:4: warning: type of bit-field 'assert_unc_high' is a GCC extension [-Wpedantic] uint16_t assert_unc_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:223:4: warning: type of bit-field 'assert_ucr_low' is a GCC extension [-Wpedantic] uint16_t assert_ucr_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:224:4: warning: type of bit-field 'assert_ucr_high' is a GCC extension [-Wpedantic] uint16_t assert_ucr_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:225:4: warning: type of bit-field 'assert_unr_low' is a GCC extension [-Wpedantic] uint16_t assert_unr_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:226:4: warning: type of bit-field 'assert_unr_high' is a GCC extension [-Wpedantic] uint16_t assert_unr_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:227:4: warning: type of bit-field 'status_lnc' is a GCC extension [-Wpedantic] uint16_t status_lnc:1; ^ ../../../include/ipmitool/ipmi_sdr.h:228:4: warning: type of bit-field 'status_lcr' is a GCC extension [-Wpedantic] uint16_t status_lcr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:229:4: warning: type of bit-field 'status_lnr' is a GCC extension [-Wpedantic] uint16_t status_lnr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:230:4: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:1; ^ ../../../include/ipmitool/ipmi_sdr.h:250:4: warning: type of bit-field 'deassert_lnc_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:251:4: warning: type of bit-field 'deassert_lnc_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:252:4: warning: type of bit-field 'deassert_lcr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:253:4: warning: type of bit-field 'deassert_lcr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:254:4: warning: type of bit-field 'deassert_lnr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:255:4: warning: type of bit-field 'deassert_lnr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:256:4: warning: type of bit-field 'deassert_unc_low' is a GCC extension [-Wpedantic] uint16_t deassert_unc_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:257:4: warning: type of bit-field 'deassert_unc_high' is a GCC extension [-Wpedantic] uint16_t deassert_unc_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:258:4: warning: type of bit-field 'deassert_ucr_low' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:259:4: warning: type of bit-field 'deassert_ucr_high' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:260:4: warning: type of bit-field 'deassert_unr_low' is a GCC extension [-Wpedantic] uint16_t deassert_unr_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:261:4: warning: type of bit-field 'deassert_unr_high' is a GCC extension [-Wpedantic] uint16_t deassert_unr_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:262:4: warning: type of bit-field 'status_unc' is a GCC extension [-Wpedantic] uint16_t status_unc:1; ^ ../../../include/ipmitool/ipmi_sdr.h:263:4: warning: type of bit-field 'status_ucr' is a GCC extension [-Wpedantic] uint16_t status_ucr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:264:4: warning: type of bit-field 'status_unr' is a GCC extension [-Wpedantic] uint16_t status_unr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:265:4: warning: type of bit-field 'reserved_2' is a GCC extension [-Wpedantic] uint16_t reserved_2:1; ^ ../../../include/ipmitool/ipmi_sdr.h:280:6: warning: type of bit-field 'readable' is a GCC extension [-Wpedantic] uint16_t readable:8; ^ ../../../include/ipmitool/ipmi_sdr.h:281:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../../../include/ipmitool/ipmi_sdr.h:282:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:283:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:284:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../../../include/ipmitool/ipmi_sdr.h:285:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:286:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:287:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../../../include/ipmitool/ipmi_sdr.h:302:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../../../include/ipmitool/ipmi_sdr.h:303:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:304:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:305:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../../../include/ipmitool/ipmi_sdr.h:306:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:307:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:308:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../../../include/ipmitool/ipmi_sdr.h:309:6: warning: type of bit-field 'settable' is a GCC extension [-Wpedantic] uint16_t settable:8; ^ ../../../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ../../../include/ipmitool/ipmi_sdr.h:331:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../../../include/ipmitool/ipmi_sdr.h:332:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../../../include/ipmitool/ipmi_sdr.h:333:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../../../include/ipmitool/ipmi_sdr.h:352:4: warning: type of bit-field 'sensor_scan' is a GCC extension [-Wpedantic] uint8_t sensor_scan:1; ^ ../../../include/ipmitool/ipmi_sdr.h:353:4: warning: type of bit-field 'event_gen' is a GCC extension [-Wpedantic] uint8_t event_gen:1; ^ ../../../include/ipmitool/ipmi_sdr.h:354:4: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] uint8_t type:1; ^ ../../../include/ipmitool/ipmi_sdr.h:355:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:1; ^ ../../../include/ipmitool/ipmi_sdr.h:356:4: warning: type of bit-field 'thresholds' is a GCC extension [-Wpedantic] uint8_t thresholds:1; ^ ../../../include/ipmitool/ipmi_sdr.h:357:4: warning: type of bit-field 'events' is a GCC extension [-Wpedantic] uint8_t events:1; ^ ../../../include/ipmitool/ipmi_sdr.h:358:4: warning: type of bit-field 'scanning' is a GCC extension [-Wpedantic] uint8_t scanning:1; ^ ../../../include/ipmitool/ipmi_sdr.h:359:4: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:1; ^ ../../../include/ipmitool/ipmi_sdr.h:370:4: warning: type of bit-field 'event_msg' is a GCC extension [-Wpedantic] uint8_t event_msg:2; ^ ../../../include/ipmitool/ipmi_sdr.h:371:4: warning: type of bit-field 'threshold' is a GCC extension [-Wpedantic] uint8_t threshold:2; ^ ../../../include/ipmitool/ipmi_sdr.h:372:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:2; ^ ../../../include/ipmitool/ipmi_sdr.h:373:4: warning: type of bit-field 'rearm' is a GCC extension [-Wpedantic] uint8_t rearm:1; ^ ../../../include/ipmitool/ipmi_sdr.h:374:4: warning: type of bit-field 'ignore' is a GCC extension [-Wpedantic] uint8_t ignore:1; ^ ../../../include/ipmitool/ipmi_sdr.h:391:3: warning: type of bit-field 'pct' is a GCC extension [-Wpedantic] uint8_t pct:1; ^ ../../../include/ipmitool/ipmi_sdr.h:392:3: warning: type of bit-field 'modifier' is a GCC extension [-Wpedantic] uint8_t modifier:2; ^ ../../../include/ipmitool/ipmi_sdr.h:393:3: warning: type of bit-field 'rate' is a GCC extension [-Wpedantic] uint8_t rate:3; ^ ../../../include/ipmitool/ipmi_sdr.h:394:3: warning: type of bit-field 'analog' is a GCC extension [-Wpedantic] uint8_t analog:2; ^ ../../../include/ipmitool/ipmi_sdr.h:422:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../../../include/ipmitool/ipmi_sdr.h:423:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../../../include/ipmitool/ipmi_sdr.h:424:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../../../include/ipmitool/ipmi_sdr.h:430:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../../../include/ipmitool/ipmi_sdr.h:431:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../../../include/ipmitool/ipmi_sdr.h:462:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../../../include/ipmitool/ipmi_sdr.h:463:3: warning: type of bit-field 'fru_owner' is a GCC extension [-Wpedantic] uint8_t fru_owner:2; /* fru device owner lun */ ^ ../../../include/ipmitool/ipmi_sdr.h:464:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../../../include/ipmitool/ipmi_sdr.h:480:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../../../include/ipmitool/ipmi_sdr.h:481:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../../../include/ipmitool/ipmi_sdr.h:482:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../../../include/ipmitool/ipmi_sdr.h:488:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../../../include/ipmitool/ipmi_sdr.h:489:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../../../include/ipmitool/ipmi_sdr.h:534:3: warning: type of bit-field 'nominal_read' is a GCC extension [-Wpedantic] uint8_t nominal_read:1; /* nominal reading field specified */ ^ ../../../include/ipmitool/ipmi_sdr.h:535:3: warning: type of bit-field 'normal_max' is a GCC extension [-Wpedantic] uint8_t normal_max:1; /* normal max field specified */ ^ ../../../include/ipmitool/ipmi_sdr.h:536:3: warning: type of bit-field 'normal_min' is a GCC extension [-Wpedantic] uint8_t normal_min:1; /* normal min field specified */ ^ ../../../include/ipmitool/ipmi_sdr.h:537:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../../../include/ipmitool/ipmi_sdr.h:581:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../../../include/ipmitool/ipmi_sdr.h:582:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:4; ^ ../../../include/ipmitool/ipmi_sdr.h:589:2: warning: type of bit-field 'global_init' is a GCC extension [-Wpedantic] uint8_t global_init:4; ^ ../../../include/ipmitool/ipmi_sdr.h:590:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:1; ^ ../../../include/ipmitool/ipmi_sdr.h:591:2: warning: type of bit-field 'pwr_state_notif' is a GCC extension [-Wpedantic] uint8_t pwr_state_notif:3; ^ ../../../include/ipmitool/ipmi_sdr.h:613:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../../../include/ipmitool/ipmi_sdr.h:614:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../../../include/ipmitool/ipmi_sdr.h:615:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:2; ^ ../../../include/ipmitool/ipmi_sdr.h:616:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical:1; ^ ../../../include/ipmitool/ipmi_sdr.h:622:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:4; ^ ../../../include/ipmitool/ipmi_sdr.h:623:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../../../include/ipmitool/ipmi_sdr.h:648:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../../../include/ipmitool/ipmi_sdr.h:649:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../../../include/ipmitool/ipmi_sdr.h:650:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:3; ^ ../../../include/ipmitool/ipmi_sdr.h:656:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:5; ^ ../../../include/ipmitool/ipmi_sdr.h:657:2: warning: type of bit-field 'addr_span' is a GCC extension [-Wpedantic] uint8_t addr_span:3; ^ ../../../include/ipmitool/ipmi_sdr.h:683:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../../../include/ipmitool/ipmi_sdr.h:684:3: warning: type of bit-field 'isaccessable' is a GCC extension [-Wpedantic] uint8_t isaccessable:1; ^ ../../../include/ipmitool/ipmi_sdr.h:685:3: warning: type of bit-field 'islinked' is a GCC extension [-Wpedantic] uint8_t islinked:1; ^ ../../../include/ipmitool/ipmi_sdr.h:686:3: warning: type of bit-field 'isrange' is a GCC extension [-Wpedantic] uint8_t isrange:1; ^ ../../../include/ipmitool/ipmi_sdr.h:730:2: warning: type of bit-field 'get_sdr_repository_allo_info_supported' is a GCC extension [-Wpedantic] uint8_t get_sdr_repository_allo_info_supported:1; ^ ../../../include/ipmitool/ipmi_sdr.h:731:2: warning: type of bit-field 'reserve_sdr_repository_supported' is a GCC extension [-Wpedantic] uint8_t reserve_sdr_repository_supported:1; ^ ../../../include/ipmitool/ipmi_sdr.h:732:2: warning: type of bit-field 'partial_add_sdr_supported' is a GCC extension [-Wpedantic] uint8_t partial_add_sdr_supported:1; ^ ../../../include/ipmitool/ipmi_sdr.h:733:2: warning: type of bit-field 'delete_sdr_supported' is a GCC extension [-Wpedantic] uint8_t delete_sdr_supported:1; ^ ../../../include/ipmitool/ipmi_sdr.h:734:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:1; ^ ../../../include/ipmitool/ipmi_sdr.h:735:2: warning: type of bit-field 'modal_update_support' is a GCC extension [-Wpedantic] uint8_t modal_update_support:2; ^ ../../../include/ipmitool/ipmi_sdr.h:736:2: warning: type of bit-field 'overflow_flag' is a GCC extension [-Wpedantic] uint8_t overflow_flag:1; ^ In file included from lan.c:53:0: ../../../include/ipmitool/ipmi_sel.h:83:2: warning: type of bit-field 'event_type' is a GCC extension [-Wpedantic] uint8_t event_type : 7; ^ ../../../include/ipmitool/ipmi_sel.h:84:2: warning: type of bit-field 'event_dir' is a GCC extension [-Wpedantic] uint8_t event_dir : 1; ^ lan.c: In function 'ipmi_handle_pong': lan.c:344:37: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_handle_pong(struct ipmi_intf * intf, struct ipmi_rs * rsp) ^ lan.c: In function 'check_sol_packet_for_new_data': lan.c:1445:50: warning: unused parameter 'intf' [-Wunused-parameter] check_sol_packet_for_new_data(struct ipmi_intf * intf, ^ /bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libintf_lan.la lan.lo auth.lo md5.lo ../../../lib/libipmitool.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto copying selected object files to avoid basename conflicts... make[4]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins/lan' Making all in lanplus make[4]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins/lanplus' /bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o lanplus.lo lanplus.c /bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o lanplus_strings.lo lanplus_strings.c /bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o lanplus_crypt.lo lanplus_crypt.c /bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o lanplus_dump.lo lanplus_dump.c In file included from lanplus.h:36:0, from lanplus_dump.c:33: ../../../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../../../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ In file included from lanplus.h:36:0, from lanplus_strings.c:1: ../../../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../../../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ In file included from lanplus.h:36:0, from lanplus_crypt.c:40: ../../../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../../../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ lanplus_crypt.c: In function 'lanplus_rakp2_hmac_matches': lanplus_crypt.c:89:1: warning: embedding a directive within macro arguments is not portable [enabled by default] #ifdef HAVE_CRYPTO_SHA256 ^ lanplus_crypt.c:91:1: warning: embedding a directive within macro arguments is not portable [enabled by default] #endif /* HAVE_CRYPTO_SHA256 */ ^ lanplus_crypt.c: In function 'lanplus_rakp4_hmac_matches': lanplus_crypt.c:256:1: warning: embedding a directive within macro arguments is not portable [enabled by default] #ifdef HAVE_CRYPTO_SHA256 ^ lanplus_crypt.c:258:1: warning: embedding a directive within macro arguments is not portable [enabled by default] #endif /* HAVE_CRYPTO_SHA256 */ ^ lanplus_crypt.c: In function 'lanplus_generate_rakp3_authcode': lanplus_crypt.c:422:1: warning: embedding a directive within macro arguments is not portable [enabled by default] #ifdef HAVE_CRYPTO_SHA256 ^ lanplus_crypt.c:424:1: warning: embedding a directive within macro arguments is not portable [enabled by default] #endif /* HAVE_CRYPTO_SHA256 */ ^ lanplus_crypt.c: In function 'lanplus_generate_sik': lanplus_crypt.c:544:1: warning: embedding a directive within macro arguments is not portable [enabled by default] #ifdef HAVE_CRYPTO_SHA256 ^ lanplus_crypt.c:546:1: warning: embedding a directive within macro arguments is not portable [enabled by default] #endif /* HAVE_CRYPTO_SHA256 */ ^ In file included from lanplus.c:56:0: ../../../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../../../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ In file included from lanplus.c:58:0: ../../../include/ipmitool/ipmi_channel.h:98:2: warning: type of bit-field 'enabled_auth_types' is a GCC extension [-Wpedantic] uint8_t enabled_auth_types : 6; /* IPMI v1.5 enabled auth types */ ^ ../../../include/ipmitool/ipmi_channel.h:99:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1 : 1; ^ ../../../include/ipmitool/ipmi_channel.h:100:2: warning: type of bit-field 'v20_data_available' is a GCC extension [-Wpedantic] uint8_t v20_data_available : 1; /* IPMI v2.0 data is available */ ^ ../../../include/ipmitool/ipmi_channel.h:111:2: warning: type of bit-field 'anon_login_enabled' is a GCC extension [-Wpedantic] uint8_t anon_login_enabled : 1; /* a null-named, null-pwd user exists */ ^ ../../../include/ipmitool/ipmi_channel.h:112:2: warning: type of bit-field 'null_usernames' is a GCC extension [-Wpedantic] uint8_t null_usernames : 1; /* one or more null usernames non-null pwds */ ^ ../../../include/ipmitool/ipmi_channel.h:113:2: warning: type of bit-field 'non_null_usernames' is a GCC extension [-Wpedantic] uint8_t non_null_usernames : 1; /* one or more non-null users exist */ ^ ../../../include/ipmitool/ipmi_channel.h:114:2: warning: type of bit-field 'user_level_auth' is a GCC extension [-Wpedantic] uint8_t user_level_auth : 1; /* user-level authentication status */ ^ ../../../include/ipmitool/ipmi_channel.h:115:2: warning: type of bit-field 'per_message_auth' is a GCC extension [-Wpedantic] uint8_t per_message_auth : 1; /* per-message authentication status */ ^ ../../../include/ipmitool/ipmi_channel.h:116:2: warning: type of bit-field 'kg_status' is a GCC extension [-Wpedantic] uint8_t kg_status : 1; /* two-key login status */ ^ ../../../include/ipmitool/ipmi_channel.h:117:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2 : 2; ^ ../../../include/ipmitool/ipmi_channel.h:124:2: warning: type of bit-field 'ipmiv15_support' is a GCC extension [-Wpedantic] uint8_t ipmiv15_support : 1; /* channel supports IPMI v1.5 connections */ ^ ../../../include/ipmitool/ipmi_channel.h:125:2: warning: type of bit-field 'ipmiv20_support' is a GCC extension [-Wpedantic] uint8_t ipmiv20_support : 1; /* channel supports IPMI v2.0 connections */ ^ ../../../include/ipmitool/ipmi_channel.h:126:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3 : 6; ^ ../../../include/ipmitool/ipmi_channel.h:155:2: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel :4; ^ ../../../include/ipmitool/ipmi_channel.h:156:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1 :4; ^ ../../../include/ipmitool/ipmi_channel.h:158:2: warning: type of bit-field 'operation' is a GCC extension [-Wpedantic] uint8_t operation :2; ^ ../../../include/ipmitool/ipmi_channel.h:159:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2 :6; ^ ../../../include/ipmitool/ipmi_channel.h:172:2: warning: type of bit-field 'lock_status' is a GCC extension [-Wpedantic] uint8_t lock_status :2; ^ ../../../include/ipmitool/ipmi_channel.h:173:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1 :6; ^ In file included from ../../../include/ipmitool/ipmi_sdr.h:44:0, from ../../../include/ipmitool/ipmi_sel.h:38, from lanplus.c:60: ../../../include/ipmitool/ipmi_entity.h:45:2: warning: type of bit-field 'instance' is a GCC extension [-Wpedantic] uint8_t instance : 7; /* instance number */ ^ ../../../include/ipmitool/ipmi_entity.h:46:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical : 1; /* physical/logical */ ^ In file included from ../../../include/ipmitool/ipmi_sel.h:38:0, from lanplus.c:60: ../../../include/ipmitool/ipmi_sdr.h:215:4: warning: type of bit-field 'assert_lnc_low' is a GCC extension [-Wpedantic] uint16_t assert_lnc_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:216:4: warning: type of bit-field 'assert_lnc_high' is a GCC extension [-Wpedantic] uint16_t assert_lnc_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:217:4: warning: type of bit-field 'assert_lcr_low' is a GCC extension [-Wpedantic] uint16_t assert_lcr_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:218:4: warning: type of bit-field 'assert_lcr_high' is a GCC extension [-Wpedantic] uint16_t assert_lcr_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:219:4: warning: type of bit-field 'assert_lnr_low' is a GCC extension [-Wpedantic] uint16_t assert_lnr_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:220:4: warning: type of bit-field 'assert_lnr_high' is a GCC extension [-Wpedantic] uint16_t assert_lnr_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:221:4: warning: type of bit-field 'assert_unc_low' is a GCC extension [-Wpedantic] uint16_t assert_unc_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:222:4: warning: type of bit-field 'assert_unc_high' is a GCC extension [-Wpedantic] uint16_t assert_unc_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:223:4: warning: type of bit-field 'assert_ucr_low' is a GCC extension [-Wpedantic] uint16_t assert_ucr_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:224:4: warning: type of bit-field 'assert_ucr_high' is a GCC extension [-Wpedantic] uint16_t assert_ucr_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:225:4: warning: type of bit-field 'assert_unr_low' is a GCC extension [-Wpedantic] uint16_t assert_unr_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:226:4: warning: type of bit-field 'assert_unr_high' is a GCC extension [-Wpedantic] uint16_t assert_unr_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:227:4: warning: type of bit-field 'status_lnc' is a GCC extension [-Wpedantic] uint16_t status_lnc:1; ^ ../../../include/ipmitool/ipmi_sdr.h:228:4: warning: type of bit-field 'status_lcr' is a GCC extension [-Wpedantic] uint16_t status_lcr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:229:4: warning: type of bit-field 'status_lnr' is a GCC extension [-Wpedantic] uint16_t status_lnr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:230:4: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:1; ^ ../../../include/ipmitool/ipmi_sdr.h:250:4: warning: type of bit-field 'deassert_lnc_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:251:4: warning: type of bit-field 'deassert_lnc_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:252:4: warning: type of bit-field 'deassert_lcr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:253:4: warning: type of bit-field 'deassert_lcr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:254:4: warning: type of bit-field 'deassert_lnr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:255:4: warning: type of bit-field 'deassert_lnr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:256:4: warning: type of bit-field 'deassert_unc_low' is a GCC extension [-Wpedantic] uint16_t deassert_unc_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:257:4: warning: type of bit-field 'deassert_unc_high' is a GCC extension [-Wpedantic] uint16_t deassert_unc_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:258:4: warning: type of bit-field 'deassert_ucr_low' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:259:4: warning: type of bit-field 'deassert_ucr_high' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:260:4: warning: type of bit-field 'deassert_unr_low' is a GCC extension [-Wpedantic] uint16_t deassert_unr_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:261:4: warning: type of bit-field 'deassert_unr_high' is a GCC extension [-Wpedantic] uint16_t deassert_unr_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:262:4: warning: type of bit-field 'status_unc' is a GCC extension [-Wpedantic] uint16_t status_unc:1; ^ ../../../include/ipmitool/ipmi_sdr.h:263:4: warning: type of bit-field 'status_ucr' is a GCC extension [-Wpedantic] uint16_t status_ucr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:264:4: warning: type of bit-field 'status_unr' is a GCC extension [-Wpedantic] uint16_t status_unr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:265:4: warning: type of bit-field 'reserved_2' is a GCC extension [-Wpedantic] uint16_t reserved_2:1; ^ ../../../include/ipmitool/ipmi_sdr.h:280:6: warning: type of bit-field 'readable' is a GCC extension [-Wpedantic] uint16_t readable:8; ^ ../../../include/ipmitool/ipmi_sdr.h:281:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../../../include/ipmitool/ipmi_sdr.h:282:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:283:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:284:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../../../include/ipmitool/ipmi_sdr.h:285:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:286:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:287:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../../../include/ipmitool/ipmi_sdr.h:302:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../../../include/ipmitool/ipmi_sdr.h:303:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:304:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:305:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../../../include/ipmitool/ipmi_sdr.h:306:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:307:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:308:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../../../include/ipmitool/ipmi_sdr.h:309:6: warning: type of bit-field 'settable' is a GCC extension [-Wpedantic] uint16_t settable:8; ^ ../../../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ../../../include/ipmitool/ipmi_sdr.h:331:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../../../include/ipmitool/ipmi_sdr.h:332:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../../../include/ipmitool/ipmi_sdr.h:333:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../../../include/ipmitool/ipmi_sdr.h:352:4: warning: type of bit-field 'sensor_scan' is a GCC extension [-Wpedantic] uint8_t sensor_scan:1; ^ ../../../include/ipmitool/ipmi_sdr.h:353:4: warning: type of bit-field 'event_gen' is a GCC extension [-Wpedantic] uint8_t event_gen:1; ^ ../../../include/ipmitool/ipmi_sdr.h:354:4: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] uint8_t type:1; ^ ../../../include/ipmitool/ipmi_sdr.h:355:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:1; ^ ../../../include/ipmitool/ipmi_sdr.h:356:4: warning: type of bit-field 'thresholds' is a GCC extension [-Wpedantic] uint8_t thresholds:1; ^ ../../../include/ipmitool/ipmi_sdr.h:357:4: warning: type of bit-field 'events' is a GCC extension [-Wpedantic] uint8_t events:1; ^ ../../../include/ipmitool/ipmi_sdr.h:358:4: warning: type of bit-field 'scanning' is a GCC extension [-Wpedantic] uint8_t scanning:1; ^ ../../../include/ipmitool/ipmi_sdr.h:359:4: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:1; ^ ../../../include/ipmitool/ipmi_sdr.h:370:4: warning: type of bit-field 'event_msg' is a GCC extension [-Wpedantic] uint8_t event_msg:2; ^ ../../../include/ipmitool/ipmi_sdr.h:371:4: warning: type of bit-field 'threshold' is a GCC extension [-Wpedantic] uint8_t threshold:2; ^ ../../../include/ipmitool/ipmi_sdr.h:372:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:2; ^ ../../../include/ipmitool/ipmi_sdr.h:373:4: warning: type of bit-field 'rearm' is a GCC extension [-Wpedantic] uint8_t rearm:1; ^ ../../../include/ipmitool/ipmi_sdr.h:374:4: warning: type of bit-field 'ignore' is a GCC extension [-Wpedantic] uint8_t ignore:1; ^ ../../../include/ipmitool/ipmi_sdr.h:391:3: warning: type of bit-field 'pct' is a GCC extension [-Wpedantic] uint8_t pct:1; ^ ../../../include/ipmitool/ipmi_sdr.h:392:3: warning: type of bit-field 'modifier' is a GCC extension [-Wpedantic] uint8_t modifier:2; ^ ../../../include/ipmitool/ipmi_sdr.h:393:3: warning: type of bit-field 'rate' is a GCC extension [-Wpedantic] uint8_t rate:3; ^ ../../../include/ipmitool/ipmi_sdr.h:394:3: warning: type of bit-field 'analog' is a GCC extension [-Wpedantic] uint8_t analog:2; ^ ../../../include/ipmitool/ipmi_sdr.h:422:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../../../include/ipmitool/ipmi_sdr.h:423:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../../../include/ipmitool/ipmi_sdr.h:424:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../../../include/ipmitool/ipmi_sdr.h:430:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../../../include/ipmitool/ipmi_sdr.h:431:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../../../include/ipmitool/ipmi_sdr.h:462:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../../../include/ipmitool/ipmi_sdr.h:463:3: warning: type of bit-field 'fru_owner' is a GCC extension [-Wpedantic] uint8_t fru_owner:2; /* fru device owner lun */ ^ ../../../include/ipmitool/ipmi_sdr.h:464:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../../../include/ipmitool/ipmi_sdr.h:480:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../../../include/ipmitool/ipmi_sdr.h:481:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../../../include/ipmitool/ipmi_sdr.h:482:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../../../include/ipmitool/ipmi_sdr.h:488:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../../../include/ipmitool/ipmi_sdr.h:489:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../../../include/ipmitool/ipmi_sdr.h:534:3: warning: type of bit-field 'nominal_read' is a GCC extension [-Wpedantic] uint8_t nominal_read:1; /* nominal reading field specified */ ^ ../../../include/ipmitool/ipmi_sdr.h:535:3: warning: type of bit-field 'normal_max' is a GCC extension [-Wpedantic] uint8_t normal_max:1; /* normal max field specified */ ^ ../../../include/ipmitool/ipmi_sdr.h:536:3: warning: type of bit-field 'normal_min' is a GCC extension [-Wpedantic] uint8_t normal_min:1; /* normal min field specified */ ^ ../../../include/ipmitool/ipmi_sdr.h:537:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../../../include/ipmitool/ipmi_sdr.h:581:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../../../include/ipmitool/ipmi_sdr.h:582:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:4; ^ ../../../include/ipmitool/ipmi_sdr.h:589:2: warning: type of bit-field 'global_init' is a GCC extension [-Wpedantic] uint8_t global_init:4; ^ ../../../include/ipmitool/ipmi_sdr.h:590:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:1; ^ ../../../include/ipmitool/ipmi_sdr.h:591:2: warning: type of bit-field 'pwr_state_notif' is a GCC extension [-Wpedantic] uint8_t pwr_state_notif:3; ^ ../../../include/ipmitool/ipmi_sdr.h:613:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../../../include/ipmitool/ipmi_sdr.h:614:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../../../include/ipmitool/ipmi_sdr.h:615:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:2; ^ ../../../include/ipmitool/ipmi_sdr.h:616:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical:1; ^ ../../../include/ipmitool/ipmi_sdr.h:622:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:4; ^ ../../../include/ipmitool/ipmi_sdr.h:623:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../../../include/ipmitool/ipmi_sdr.h:648:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../../../include/ipmitool/ipmi_sdr.h:649:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../../../include/ipmitool/ipmi_sdr.h:650:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:3; ^ ../../../include/ipmitool/ipmi_sdr.h:656:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:5; ^ ../../../include/ipmitool/ipmi_sdr.h:657:2: warning: type of bit-field 'addr_span' is a GCC extension [-Wpedantic] uint8_t addr_span:3; ^ ../../../include/ipmitool/ipmi_sdr.h:683:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../../../include/ipmitool/ipmi_sdr.h:684:3: warning: type of bit-field 'isaccessable' is a GCC extension [-Wpedantic] uint8_t isaccessable:1; ^ ../../../include/ipmitool/ipmi_sdr.h:685:3: warning: type of bit-field 'islinked' is a GCC extension [-Wpedantic] uint8_t islinked:1; ^ ../../../include/ipmitool/ipmi_sdr.h:686:3: warning: type of bit-field 'isrange' is a GCC extension [-Wpedantic] uint8_t isrange:1; ^ ../../../include/ipmitool/ipmi_sdr.h:730:2: warning: type of bit-field 'get_sdr_repository_allo_info_supported' is a GCC extension [-Wpedantic] uint8_t get_sdr_repository_allo_info_supported:1; ^ ../../../include/ipmitool/ipmi_sdr.h:731:2: warning: type of bit-field 'reserve_sdr_repository_supported' is a GCC extension [-Wpedantic] uint8_t reserve_sdr_repository_supported:1; ^ ../../../include/ipmitool/ipmi_sdr.h:732:2: warning: type of bit-field 'partial_add_sdr_supported' is a GCC extension [-Wpedantic] uint8_t partial_add_sdr_supported:1; ^ ../../../include/ipmitool/ipmi_sdr.h:733:2: warning: type of bit-field 'delete_sdr_supported' is a GCC extension [-Wpedantic] uint8_t delete_sdr_supported:1; ^ ../../../include/ipmitool/ipmi_sdr.h:734:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:1; ^ ../../../include/ipmitool/ipmi_sdr.h:735:2: warning: type of bit-field 'modal_update_support' is a GCC extension [-Wpedantic] uint8_t modal_update_support:2; ^ ../../../include/ipmitool/ipmi_sdr.h:736:2: warning: type of bit-field 'overflow_flag' is a GCC extension [-Wpedantic] uint8_t overflow_flag:1; ^ In file included from lanplus.c:60:0: ../../../include/ipmitool/ipmi_sel.h:83:2: warning: type of bit-field 'event_type' is a GCC extension [-Wpedantic] uint8_t event_type : 7; ^ ../../../include/ipmitool/ipmi_sel.h:84:2: warning: type of bit-field 'event_dir' is a GCC extension [-Wpedantic] uint8_t event_dir : 1; ^ /bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o lanplus_crypt_impl.lo lanplus_crypt_impl.c lanplus.c: In function 'ipmi_handle_pong': lanplus.c:526:37: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_handle_pong(struct ipmi_intf * intf, struct ipmi_rs * rsp) ^ lanplus.c: In function 'ipmi_lan_poll_single': lanplus.c:773:12: warning: unused variable 'target_cmd' [-Wunused-variable] uint8_t target_cmd = entry->req.msg.target_cmd; ^ lanplus.c: In function 'read_session_data_v2x': lanplus.c:1222:30: warning: unused parameter 's' [-Wunused-parameter] struct ipmi_session * s) ^ lanplus.c: In function 'read_session_data_v15': lanplus.c:1276:30: warning: unused parameter 's' [-Wunused-parameter] struct ipmi_session * s) ^ lanplus.c: In function 'getSolPayloadWireRep': lanplus.c:1540:34: warning: unused parameter 'intf' [-Wunused-parameter] struct ipmi_intf * intf, /* in out */ ^ lanplus.c: In function 'ipmi_lanplus_build_v2x_ipmi_cmd': lanplus.c:1974:17: warning: unused variable 'backup_cmd' [-Wunused-variable] unsigned char backup_cmd; ^ lanplus.c: In function 'ipmi_lanplus_send_payload': lanplus.c:2415:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] xmit = ((time(NULL) - ltime) >= session->timeout); ^ lanplus.c: In function 'check_sol_packet_for_new_data': lanplus.c:2587:29: warning: unused parameter 'intf' [-Wunused-parameter] struct ipmi_intf * intf, ^ In file included from lanplus.h:36:0, from lanplus_crypt_impl.c:35: ../../../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../../../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ lanplus.c: In function 'ipmi_lanplus_send_payload': lanplus.c:2415:23: warning: 'ltime' may be used uninitialized in this function [-Wmaybe-uninitialized] xmit = ((time(NULL) - ltime) >= session->timeout); ^ lanplus.c: In function 'ipmi_lanplus_open': lanplus.c:3513:42: warning: 'auth_cap.v20_data_available' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!ipmi_oem_active(intf, "i82571spt") && ! auth_cap.v20_data_available) { ^ /bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libintf_lanplus.la lanplus.lo lanplus_strings.lo lanplus_crypt.lo lanplus_dump.lo lanplus_crypt_impl.lo ../../../lib/libipmitool.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto make[4]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins/lanplus' Making all in open make[4]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins/open' /bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o open.lo open.c In file included from open.c:45:0: ../../../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../../../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ In file included from ../../../include/ipmitool/ipmi_sdr.h:44:0, from ../../../include/ipmitool/ipmi_sel.h:38, from open.c:47: ../../../include/ipmitool/ipmi_entity.h:45:2: warning: type of bit-field 'instance' is a GCC extension [-Wpedantic] uint8_t instance : 7; /* instance number */ ^ ../../../include/ipmitool/ipmi_entity.h:46:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical : 1; /* physical/logical */ ^ In file included from ../../../include/ipmitool/ipmi_sel.h:38:0, from open.c:47: ../../../include/ipmitool/ipmi_sdr.h:215:4: warning: type of bit-field 'assert_lnc_low' is a GCC extension [-Wpedantic] uint16_t assert_lnc_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:216:4: warning: type of bit-field 'assert_lnc_high' is a GCC extension [-Wpedantic] uint16_t assert_lnc_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:217:4: warning: type of bit-field 'assert_lcr_low' is a GCC extension [-Wpedantic] uint16_t assert_lcr_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:218:4: warning: type of bit-field 'assert_lcr_high' is a GCC extension [-Wpedantic] uint16_t assert_lcr_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:219:4: warning: type of bit-field 'assert_lnr_low' is a GCC extension [-Wpedantic] uint16_t assert_lnr_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:220:4: warning: type of bit-field 'assert_lnr_high' is a GCC extension [-Wpedantic] uint16_t assert_lnr_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:221:4: warning: type of bit-field 'assert_unc_low' is a GCC extension [-Wpedantic] uint16_t assert_unc_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:222:4: warning: type of bit-field 'assert_unc_high' is a GCC extension [-Wpedantic] uint16_t assert_unc_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:223:4: warning: type of bit-field 'assert_ucr_low' is a GCC extension [-Wpedantic] uint16_t assert_ucr_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:224:4: warning: type of bit-field 'assert_ucr_high' is a GCC extension [-Wpedantic] uint16_t assert_ucr_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:225:4: warning: type of bit-field 'assert_unr_low' is a GCC extension [-Wpedantic] uint16_t assert_unr_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:226:4: warning: type of bit-field 'assert_unr_high' is a GCC extension [-Wpedantic] uint16_t assert_unr_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:227:4: warning: type of bit-field 'status_lnc' is a GCC extension [-Wpedantic] uint16_t status_lnc:1; ^ ../../../include/ipmitool/ipmi_sdr.h:228:4: warning: type of bit-field 'status_lcr' is a GCC extension [-Wpedantic] uint16_t status_lcr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:229:4: warning: type of bit-field 'status_lnr' is a GCC extension [-Wpedantic] uint16_t status_lnr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:230:4: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:1; ^ ../../../include/ipmitool/ipmi_sdr.h:250:4: warning: type of bit-field 'deassert_lnc_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:251:4: warning: type of bit-field 'deassert_lnc_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:252:4: warning: type of bit-field 'deassert_lcr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:253:4: warning: type of bit-field 'deassert_lcr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:254:4: warning: type of bit-field 'deassert_lnr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:255:4: warning: type of bit-field 'deassert_lnr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:256:4: warning: type of bit-field 'deassert_unc_low' is a GCC extension [-Wpedantic] uint16_t deassert_unc_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:257:4: warning: type of bit-field 'deassert_unc_high' is a GCC extension [-Wpedantic] uint16_t deassert_unc_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:258:4: warning: type of bit-field 'deassert_ucr_low' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:259:4: warning: type of bit-field 'deassert_ucr_high' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:260:4: warning: type of bit-field 'deassert_unr_low' is a GCC extension [-Wpedantic] uint16_t deassert_unr_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:261:4: warning: type of bit-field 'deassert_unr_high' is a GCC extension [-Wpedantic] uint16_t deassert_unr_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:262:4: warning: type of bit-field 'status_unc' is a GCC extension [-Wpedantic] uint16_t status_unc:1; ^ ../../../include/ipmitool/ipmi_sdr.h:263:4: warning: type of bit-field 'status_ucr' is a GCC extension [-Wpedantic] uint16_t status_ucr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:264:4: warning: type of bit-field 'status_unr' is a GCC extension [-Wpedantic] uint16_t status_unr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:265:4: warning: type of bit-field 'reserved_2' is a GCC extension [-Wpedantic] uint16_t reserved_2:1; ^ ../../../include/ipmitool/ipmi_sdr.h:280:6: warning: type of bit-field 'readable' is a GCC extension [-Wpedantic] uint16_t readable:8; ^ ../../../include/ipmitool/ipmi_sdr.h:281:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../../../include/ipmitool/ipmi_sdr.h:282:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:283:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:284:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../../../include/ipmitool/ipmi_sdr.h:285:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:286:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:287:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../../../include/ipmitool/ipmi_sdr.h:302:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../../../include/ipmitool/ipmi_sdr.h:303:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:304:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:305:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../../../include/ipmitool/ipmi_sdr.h:306:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:307:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:308:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../../../include/ipmitool/ipmi_sdr.h:309:6: warning: type of bit-field 'settable' is a GCC extension [-Wpedantic] uint16_t settable:8; ^ ../../../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ../../../include/ipmitool/ipmi_sdr.h:331:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../../../include/ipmitool/ipmi_sdr.h:332:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../../../include/ipmitool/ipmi_sdr.h:333:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../../../include/ipmitool/ipmi_sdr.h:352:4: warning: type of bit-field 'sensor_scan' is a GCC extension [-Wpedantic] uint8_t sensor_scan:1; ^ ../../../include/ipmitool/ipmi_sdr.h:353:4: warning: type of bit-field 'event_gen' is a GCC extension [-Wpedantic] uint8_t event_gen:1; ^ ../../../include/ipmitool/ipmi_sdr.h:354:4: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] uint8_t type:1; ^ ../../../include/ipmitool/ipmi_sdr.h:355:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:1; ^ ../../../include/ipmitool/ipmi_sdr.h:356:4: warning: type of bit-field 'thresholds' is a GCC extension [-Wpedantic] uint8_t thresholds:1; ^ ../../../include/ipmitool/ipmi_sdr.h:357:4: warning: type of bit-field 'events' is a GCC extension [-Wpedantic] uint8_t events:1; ^ ../../../include/ipmitool/ipmi_sdr.h:358:4: warning: type of bit-field 'scanning' is a GCC extension [-Wpedantic] uint8_t scanning:1; ^ ../../../include/ipmitool/ipmi_sdr.h:359:4: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:1; ^ ../../../include/ipmitool/ipmi_sdr.h:370:4: warning: type of bit-field 'event_msg' is a GCC extension [-Wpedantic] uint8_t event_msg:2; ^ ../../../include/ipmitool/ipmi_sdr.h:371:4: warning: type of bit-field 'threshold' is a GCC extension [-Wpedantic] uint8_t threshold:2; ^ ../../../include/ipmitool/ipmi_sdr.h:372:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:2; ^ ../../../include/ipmitool/ipmi_sdr.h:373:4: warning: type of bit-field 'rearm' is a GCC extension [-Wpedantic] uint8_t rearm:1; ^ ../../../include/ipmitool/ipmi_sdr.h:374:4: warning: type of bit-field 'ignore' is a GCC extension [-Wpedantic] uint8_t ignore:1; ^ ../../../include/ipmitool/ipmi_sdr.h:391:3: warning: type of bit-field 'pct' is a GCC extension [-Wpedantic] uint8_t pct:1; ^ ../../../include/ipmitool/ipmi_sdr.h:392:3: warning: type of bit-field 'modifier' is a GCC extension [-Wpedantic] uint8_t modifier:2; ^ ../../../include/ipmitool/ipmi_sdr.h:393:3: warning: type of bit-field 'rate' is a GCC extension [-Wpedantic] uint8_t rate:3; ^ ../../../include/ipmitool/ipmi_sdr.h:394:3: warning: type of bit-field 'analog' is a GCC extension [-Wpedantic] uint8_t analog:2; ^ ../../../include/ipmitool/ipmi_sdr.h:422:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../../../include/ipmitool/ipmi_sdr.h:423:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../../../include/ipmitool/ipmi_sdr.h:424:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../../../include/ipmitool/ipmi_sdr.h:430:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../../../include/ipmitool/ipmi_sdr.h:431:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../../../include/ipmitool/ipmi_sdr.h:462:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../../../include/ipmitool/ipmi_sdr.h:463:3: warning: type of bit-field 'fru_owner' is a GCC extension [-Wpedantic] uint8_t fru_owner:2; /* fru device owner lun */ ^ ../../../include/ipmitool/ipmi_sdr.h:464:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../../../include/ipmitool/ipmi_sdr.h:480:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../../../include/ipmitool/ipmi_sdr.h:481:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../../../include/ipmitool/ipmi_sdr.h:482:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../../../include/ipmitool/ipmi_sdr.h:488:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../../../include/ipmitool/ipmi_sdr.h:489:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../../../include/ipmitool/ipmi_sdr.h:534:3: warning: type of bit-field 'nominal_read' is a GCC extension [-Wpedantic] uint8_t nominal_read:1; /* nominal reading field specified */ ^ ../../../include/ipmitool/ipmi_sdr.h:535:3: warning: type of bit-field 'normal_max' is a GCC extension [-Wpedantic] uint8_t normal_max:1; /* normal max field specified */ ^ ../../../include/ipmitool/ipmi_sdr.h:536:3: warning: type of bit-field 'normal_min' is a GCC extension [-Wpedantic] uint8_t normal_min:1; /* normal min field specified */ ^ ../../../include/ipmitool/ipmi_sdr.h:537:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../../../include/ipmitool/ipmi_sdr.h:581:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../../../include/ipmitool/ipmi_sdr.h:582:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:4; ^ ../../../include/ipmitool/ipmi_sdr.h:589:2: warning: type of bit-field 'global_init' is a GCC extension [-Wpedantic] uint8_t global_init:4; ^ ../../../include/ipmitool/ipmi_sdr.h:590:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:1; ^ ../../../include/ipmitool/ipmi_sdr.h:591:2: warning: type of bit-field 'pwr_state_notif' is a GCC extension [-Wpedantic] uint8_t pwr_state_notif:3; ^ ../../../include/ipmitool/ipmi_sdr.h:613:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../../../include/ipmitool/ipmi_sdr.h:614:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../../../include/ipmitool/ipmi_sdr.h:615:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:2; ^ ../../../include/ipmitool/ipmi_sdr.h:616:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical:1; ^ ../../../include/ipmitool/ipmi_sdr.h:622:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:4; ^ ../../../include/ipmitool/ipmi_sdr.h:623:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../../../include/ipmitool/ipmi_sdr.h:648:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../../../include/ipmitool/ipmi_sdr.h:649:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../../../include/ipmitool/ipmi_sdr.h:650:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:3; ^ ../../../include/ipmitool/ipmi_sdr.h:656:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:5; ^ ../../../include/ipmitool/ipmi_sdr.h:657:2: warning: type of bit-field 'addr_span' is a GCC extension [-Wpedantic] uint8_t addr_span:3; ^ ../../../include/ipmitool/ipmi_sdr.h:683:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../../../include/ipmitool/ipmi_sdr.h:684:3: warning: type of bit-field 'isaccessable' is a GCC extension [-Wpedantic] uint8_t isaccessable:1; ^ ../../../include/ipmitool/ipmi_sdr.h:685:3: warning: type of bit-field 'islinked' is a GCC extension [-Wpedantic] uint8_t islinked:1; ^ ../../../include/ipmitool/ipmi_sdr.h:686:3: warning: type of bit-field 'isrange' is a GCC extension [-Wpedantic] uint8_t isrange:1; ^ ../../../include/ipmitool/ipmi_sdr.h:730:2: warning: type of bit-field 'get_sdr_repository_allo_info_supported' is a GCC extension [-Wpedantic] uint8_t get_sdr_repository_allo_info_supported:1; ^ ../../../include/ipmitool/ipmi_sdr.h:731:2: warning: type of bit-field 'reserve_sdr_repository_supported' is a GCC extension [-Wpedantic] uint8_t reserve_sdr_repository_supported:1; ^ ../../../include/ipmitool/ipmi_sdr.h:732:2: warning: type of bit-field 'partial_add_sdr_supported' is a GCC extension [-Wpedantic] uint8_t partial_add_sdr_supported:1; ^ ../../../include/ipmitool/ipmi_sdr.h:733:2: warning: type of bit-field 'delete_sdr_supported' is a GCC extension [-Wpedantic] uint8_t delete_sdr_supported:1; ^ ../../../include/ipmitool/ipmi_sdr.h:734:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:1; ^ ../../../include/ipmitool/ipmi_sdr.h:735:2: warning: type of bit-field 'modal_update_support' is a GCC extension [-Wpedantic] uint8_t modal_update_support:2; ^ ../../../include/ipmitool/ipmi_sdr.h:736:2: warning: type of bit-field 'overflow_flag' is a GCC extension [-Wpedantic] uint8_t overflow_flag:1; ^ In file included from open.c:47:0: ../../../include/ipmitool/ipmi_sel.h:83:2: warning: type of bit-field 'event_type' is a GCC extension [-Wpedantic] uint8_t event_type : 7; ^ ../../../include/ipmitool/ipmi_sel.h:84:2: warning: type of bit-field 'event_dir' is a GCC extension [-Wpedantic] uint8_t event_dir : 1; ^ /bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libintf_open.la open.lo ../../../lib/libipmitool.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto make[4]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins/open' Making all in imb make[4]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins/imb' /bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o imbapi.lo imbapi.c /bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o imb.lo imb.c In file included from imb.c:43:0: ../../../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../../../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ imbapi.c: In function 'DeviceIoControl': imbapi.c:288:24: warning: unused parameter 'dummey_hDevice' [-Wunused-parameter] DeviceIoControl(HANDLE dummey_hDevice, DWORD dwIoControlCode, LPVOID ^ In file included from ../../../include/ipmitool/ipmi_sdr.h:44:0, from ../../../include/ipmitool/ipmi_sel.h:38, from imb.c:46: ../../../include/ipmitool/ipmi_entity.h:45:2: warning: type of bit-field 'instance' is a GCC extension [-Wpedantic] uint8_t instance : 7; /* instance number */ ^ ../../../include/ipmitool/ipmi_entity.h:46:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical : 1; /* physical/logical */ ^ In file included from ../../../include/ipmitool/ipmi_sel.h:38:0, from imb.c:46: ../../../include/ipmitool/ipmi_sdr.h:215:4: warning: type of bit-field 'assert_lnc_low' is a GCC extension [-Wpedantic] uint16_t assert_lnc_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:216:4: warning: type of bit-field 'assert_lnc_high' is a GCC extension [-Wpedantic] uint16_t assert_lnc_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:217:4: warning: type of bit-field 'assert_lcr_low' is a GCC extension [-Wpedantic] uint16_t assert_lcr_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:218:4: warning: type of bit-field 'assert_lcr_high' is a GCC extension [-Wpedantic] uint16_t assert_lcr_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:219:4: warning: type of bit-field 'assert_lnr_low' is a GCC extension [-Wpedantic] uint16_t assert_lnr_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:220:4: warning: type of bit-field 'assert_lnr_high' is a GCC extension [-Wpedantic] uint16_t assert_lnr_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:221:4: warning: type of bit-field 'assert_unc_low' is a GCC extension [-Wpedantic] uint16_t assert_unc_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:222:4: warning: type of bit-field 'assert_unc_high' is a GCC extension [-Wpedantic] uint16_t assert_unc_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:223:4: warning: type of bit-field 'assert_ucr_low' is a GCC extension [-Wpedantic] uint16_t assert_ucr_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:224:4: warning: type of bit-field 'assert_ucr_high' is a GCC extension [-Wpedantic] uint16_t assert_ucr_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:225:4: warning: type of bit-field 'assert_unr_low' is a GCC extension [-Wpedantic] uint16_t assert_unr_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:226:4: warning: type of bit-field 'assert_unr_high' is a GCC extension [-Wpedantic] uint16_t assert_unr_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:227:4: warning: type of bit-field 'status_lnc' is a GCC extension [-Wpedantic] uint16_t status_lnc:1; ^ ../../../include/ipmitool/ipmi_sdr.h:228:4: warning: type of bit-field 'status_lcr' is a GCC extension [-Wpedantic] uint16_t status_lcr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:229:4: warning: type of bit-field 'status_lnr' is a GCC extension [-Wpedantic] uint16_t status_lnr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:230:4: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:1; ^ ../../../include/ipmitool/ipmi_sdr.h:250:4: warning: type of bit-field 'deassert_lnc_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:251:4: warning: type of bit-field 'deassert_lnc_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:252:4: warning: type of bit-field 'deassert_lcr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:253:4: warning: type of bit-field 'deassert_lcr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:254:4: warning: type of bit-field 'deassert_lnr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:255:4: warning: type of bit-field 'deassert_lnr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:256:4: warning: type of bit-field 'deassert_unc_low' is a GCC extension [-Wpedantic] uint16_t deassert_unc_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:257:4: warning: type of bit-field 'deassert_unc_high' is a GCC extension [-Wpedantic] uint16_t deassert_unc_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:258:4: warning: type of bit-field 'deassert_ucr_low' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:259:4: warning: type of bit-field 'deassert_ucr_high' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:260:4: warning: type of bit-field 'deassert_unr_low' is a GCC extension [-Wpedantic] uint16_t deassert_unr_low:1; ^ ../../../include/ipmitool/ipmi_sdr.h:261:4: warning: type of bit-field 'deassert_unr_high' is a GCC extension [-Wpedantic] uint16_t deassert_unr_high:1; ^ ../../../include/ipmitool/ipmi_sdr.h:262:4: warning: type of bit-field 'status_unc' is a GCC extension [-Wpedantic] uint16_t status_unc:1; ^ ../../../include/ipmitool/ipmi_sdr.h:263:4: warning: type of bit-field 'status_ucr' is a GCC extension [-Wpedantic] uint16_t status_ucr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:264:4: warning: type of bit-field 'status_unr' is a GCC extension [-Wpedantic] uint16_t status_unr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:265:4: warning: type of bit-field 'reserved_2' is a GCC extension [-Wpedantic] uint16_t reserved_2:1; ^ ../../../include/ipmitool/ipmi_sdr.h:280:6: warning: type of bit-field 'readable' is a GCC extension [-Wpedantic] uint16_t readable:8; ^ ../../../include/ipmitool/ipmi_sdr.h:281:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../../../include/ipmitool/ipmi_sdr.h:282:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:283:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:284:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../../../include/ipmitool/ipmi_sdr.h:285:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:286:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:287:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../../../include/ipmitool/ipmi_sdr.h:302:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../../../include/ipmitool/ipmi_sdr.h:303:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:304:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:305:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../../../include/ipmitool/ipmi_sdr.h:306:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:307:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../../../include/ipmitool/ipmi_sdr.h:308:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../../../include/ipmitool/ipmi_sdr.h:309:6: warning: type of bit-field 'settable' is a GCC extension [-Wpedantic] uint16_t settable:8; ^ ../../../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ../../../include/ipmitool/ipmi_sdr.h:331:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../../../include/ipmitool/ipmi_sdr.h:332:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../../../include/ipmitool/ipmi_sdr.h:333:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../../../include/ipmitool/ipmi_sdr.h:352:4: warning: type of bit-field 'sensor_scan' is a GCC extension [-Wpedantic] uint8_t sensor_scan:1; ^ ../../../include/ipmitool/ipmi_sdr.h:353:4: warning: type of bit-field 'event_gen' is a GCC extension [-Wpedantic] uint8_t event_gen:1; ^ ../../../include/ipmitool/ipmi_sdr.h:354:4: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] uint8_t type:1; ^ ../../../include/ipmitool/ipmi_sdr.h:355:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:1; ^ ../../../include/ipmitool/ipmi_sdr.h:356:4: warning: type of bit-field 'thresholds' is a GCC extension [-Wpedantic] uint8_t thresholds:1; ^ ../../../include/ipmitool/ipmi_sdr.h:357:4: warning: type of bit-field 'events' is a GCC extension [-Wpedantic] uint8_t events:1; ^ ../../../include/ipmitool/ipmi_sdr.h:358:4: warning: type of bit-field 'scanning' is a GCC extension [-Wpedantic] uint8_t scanning:1; ^ ../../../include/ipmitool/ipmi_sdr.h:359:4: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:1; ^ ../../../include/ipmitool/ipmi_sdr.h:370:4: warning: type of bit-field 'event_msg' is a GCC extension [-Wpedantic] uint8_t event_msg:2; ^ ../../../include/ipmitool/ipmi_sdr.h:371:4: warning: type of bit-field 'threshold' is a GCC extension [-Wpedantic] uint8_t threshold:2; ^ ../../../include/ipmitool/ipmi_sdr.h:372:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:2; ^ ../../../include/ipmitool/ipmi_sdr.h:373:4: warning: type of bit-field 'rearm' is a GCC extension [-Wpedantic] uint8_t rearm:1; ^ ../../../include/ipmitool/ipmi_sdr.h:374:4: warning: type of bit-field 'ignore' is a GCC extension [-Wpedantic] uint8_t ignore:1; ^ ../../../include/ipmitool/ipmi_sdr.h:391:3: warning: type of bit-field 'pct' is a GCC extension [-Wpedantic] uint8_t pct:1; ^ ../../../include/ipmitool/ipmi_sdr.h:392:3: warning: type of bit-field 'modifier' is a GCC extension [-Wpedantic] uint8_t modifier:2; ^ ../../../include/ipmitool/ipmi_sdr.h:393:3: warning: type of bit-field 'rate' is a GCC extension [-Wpedantic] uint8_t rate:3; ^ ../../../include/ipmitool/ipmi_sdr.h:394:3: warning: type of bit-field 'analog' is a GCC extension [-Wpedantic] uint8_t analog:2; ^ ../../../include/ipmitool/ipmi_sdr.h:422:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../../../include/ipmitool/ipmi_sdr.h:423:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../../../include/ipmitool/ipmi_sdr.h:424:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../../../include/ipmitool/ipmi_sdr.h:430:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../../../include/ipmitool/ipmi_sdr.h:431:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../../../include/ipmitool/ipmi_sdr.h:462:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../../../include/ipmitool/ipmi_sdr.h:463:3: warning: type of bit-field 'fru_owner' is a GCC extension [-Wpedantic] uint8_t fru_owner:2; /* fru device owner lun */ ^ ../../../include/ipmitool/ipmi_sdr.h:464:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../../../include/ipmitool/ipmi_sdr.h:480:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../../../include/ipmitool/ipmi_sdr.h:481:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../../../include/ipmitool/ipmi_sdr.h:482:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../../../include/ipmitool/ipmi_sdr.h:488:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../../../include/ipmitool/ipmi_sdr.h:489:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../../../include/ipmitool/ipmi_sdr.h:534:3: warning: type of bit-field 'nominal_read' is a GCC extension [-Wpedantic] uint8_t nominal_read:1; /* nominal reading field specified */ ^ ../../../include/ipmitool/ipmi_sdr.h:535:3: warning: type of bit-field 'normal_max' is a GCC extension [-Wpedantic] uint8_t normal_max:1; /* normal max field specified */ ^ ../../../include/ipmitool/ipmi_sdr.h:536:3: warning: type of bit-field 'normal_min' is a GCC extension [-Wpedantic] uint8_t normal_min:1; /* normal min field specified */ ^ ../../../include/ipmitool/ipmi_sdr.h:537:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../../../include/ipmitool/ipmi_sdr.h:581:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../../../include/ipmitool/ipmi_sdr.h:582:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:4; ^ ../../../include/ipmitool/ipmi_sdr.h:589:2: warning: type of bit-field 'global_init' is a GCC extension [-Wpedantic] uint8_t global_init:4; ^ ../../../include/ipmitool/ipmi_sdr.h:590:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:1; ^ ../../../include/ipmitool/ipmi_sdr.h:591:2: warning: type of bit-field 'pwr_state_notif' is a GCC extension [-Wpedantic] uint8_t pwr_state_notif:3; ^ ../../../include/ipmitool/ipmi_sdr.h:613:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../../../include/ipmitool/ipmi_sdr.h:614:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../../../include/ipmitool/ipmi_sdr.h:615:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:2; ^ ../../../include/ipmitool/ipmi_sdr.h:616:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical:1; ^ ../../../include/ipmitool/ipmi_sdr.h:622:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:4; ^ ../../../include/ipmitool/ipmi_sdr.h:623:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../../../include/ipmitool/ipmi_sdr.h:648:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../../../include/ipmitool/ipmi_sdr.h:649:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../../../include/ipmitool/ipmi_sdr.h:650:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:3; ^ ../../../include/ipmitool/ipmi_sdr.h:656:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:5; ^ ../../../include/ipmitool/ipmi_sdr.h:657:2: warning: type of bit-field 'addr_span' is a GCC extension [-Wpedantic] uint8_t addr_span:3; ^ ../../../include/ipmitool/ipmi_sdr.h:683:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../../../include/ipmitool/ipmi_sdr.h:684:3: warning: type of bit-field 'isaccessable' is a GCC extension [-Wpedantic] uint8_t isaccessable:1; ^ ../../../include/ipmitool/ipmi_sdr.h:685:3: warning: type of bit-field 'islinked' is a GCC extension [-Wpedantic] uint8_t islinked:1; ^ ../../../include/ipmitool/ipmi_sdr.h:686:3: warning: type of bit-field 'isrange' is a GCC extension [-Wpedantic] uint8_t isrange:1; ^ ../../../include/ipmitool/ipmi_sdr.h:730:2: warning: type of bit-field 'get_sdr_repository_allo_info_supported' is a GCC extension [-Wpedantic] uint8_t get_sdr_repository_allo_info_supported:1; ^ ../../../include/ipmitool/ipmi_sdr.h:731:2: warning: type of bit-field 'reserve_sdr_repository_supported' is a GCC extension [-Wpedantic] uint8_t reserve_sdr_repository_supported:1; ^ ../../../include/ipmitool/ipmi_sdr.h:732:2: warning: type of bit-field 'partial_add_sdr_supported' is a GCC extension [-Wpedantic] uint8_t partial_add_sdr_supported:1; ^ ../../../include/ipmitool/ipmi_sdr.h:733:2: warning: type of bit-field 'delete_sdr_supported' is a GCC extension [-Wpedantic] uint8_t delete_sdr_supported:1; ^ ../../../include/ipmitool/ipmi_sdr.h:734:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:1; ^ ../../../include/ipmitool/ipmi_sdr.h:735:2: warning: type of bit-field 'modal_update_support' is a GCC extension [-Wpedantic] uint8_t modal_update_support:2; ^ ../../../include/ipmitool/ipmi_sdr.h:736:2: warning: type of bit-field 'overflow_flag' is a GCC extension [-Wpedantic] uint8_t overflow_flag:1; ^ In file included from imb.c:46:0: ../../../include/ipmitool/ipmi_sel.h:83:2: warning: type of bit-field 'event_type' is a GCC extension [-Wpedantic] uint8_t event_type : 7; ^ ../../../include/ipmitool/ipmi_sel.h:84:2: warning: type of bit-field 'event_dir' is a GCC extension [-Wpedantic] uint8_t event_dir : 1; ^ imb.c: In function 'ipmi_imb_send_cmd': imb.c:78:62: warning: unused parameter 'intf' [-Wunused-parameter] static struct ipmi_rs * ipmi_imb_send_cmd(struct ipmi_intf * intf, struct ipmi_rq * req) ^ imbapi.c: In function 'SendTimedLanMessageResponse_Ex': imbapi.c:780:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ptr->rqSa; ^ imbapi.c:782:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = (((ptr->nfLn & 0xfc) | 0x4) | ((ptr->seqLn) & 0x3)); ^ imbapi.c:788:61: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[0] + req->req.data[1])) + 1); ^ imbapi.c:788:16: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[0] + req->req.data[1])) + 1); ^ imbapi.c:791:42: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[1] + req->req.data[2])) + 1); ^ imbapi.c:791:61: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[1] + req->req.data[2])) + 1); ^ imbapi.c:791:17: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[1] + req->req.data[2])) + 1); ^ imbapi.c:793:42: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[2] + req->req.data[3])) + 1); ^ imbapi.c:793:61: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[2] + req->req.data[3])) + 1); ^ imbapi.c:793:17: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[2] + req->req.data[3])) + 1); ^ imbapi.c:802:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = BMC_SA; ^ imbapi.c:806:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((ptr->seqLn & 0xfc) | (ptr->nfLn & 0x3)); ^ imbapi.c:808:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ptr->cmd; ^ imbapi.c: In function 'SendTimedLanMessageResponse': imbapi.c:677:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = (((ptr->nfLn & 0xfc) | 0x4) | ((ptr->seqLn) & 0x3)); ^ imbapi.c:679:60: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[0] + req->req.data[1])) + 1); ^ imbapi.c:679:16: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[0] + req->req.data[1])) + 1); ^ imbapi.c:681:41: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[1] + req->req.data[2])) + 1); ^ imbapi.c:681:60: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[1] + req->req.data[2])) + 1); ^ imbapi.c:681:16: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[1] + req->req.data[2])) + 1); ^ imbapi.c:686:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = BMC_SA; ^ imbapi.c:687:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((ptr->seqLn & 0xfc) | (ptr->nfLn & 0x3)); ^ imbapi.c:688:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ptr->cmd; ^ imbapi.c:690:16: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] = responseDataBuf[j]; ^ imbapi.c:693:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] = 0; ^ imbapi.c:701:20: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] += req->req.data[j + 3]; ^ imbapi.c:701:36: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] += req->req.data[j + 3]; ^ imbapi.c:701:20: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] += req->req.data[j + 3]; ^ imbapi.c:703:36: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] = ~(req->req.data[i]) + 1; ^ imbapi.c:703:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] = ~(req->req.data[i]) + 1; ^ imbapi.c: In function 'SendTimedEmpMessageResponse_Ex': imbapi.c:565:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ptr->rqSa; ^ imbapi.c:567:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = (((ptr->nfLn & 0xfc) | 0x4) | ((ptr->seqLn) & 0x3)); ^ imbapi.c:573:60: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[0] + req->req.data[1])) +1); ^ imbapi.c:573:16: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[0] + req->req.data[1])) +1); ^ imbapi.c:576:42: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[1] + req->req.data[2])) + 1); ^ imbapi.c:576:61: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[1] + req->req.data[2])) + 1); ^ imbapi.c:576:17: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[1] + req->req.data[2])) + 1); ^ imbapi.c:578:42: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[2] + req->req.data[3])) + 1); ^ imbapi.c:578:61: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[2] + req->req.data[3])) + 1); ^ imbapi.c:578:17: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[2] + req->req.data[3])) + 1); ^ imbapi.c:587:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = BMC_SA; ^ imbapi.c:591:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((ptr->seqLn & 0xfc) | (ptr->nfLn & 0x3)); ^ imbapi.c:593:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ptr->cmd; ^ imbapi.c: In function 'SendTimedEmpMessageResponse': imbapi.c:466:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = (((ptr->nfLn & 0xfc) | 0x4) | ((ptr->seqLn) & 0x3)); ^ imbapi.c:468:60: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[0] + req->req.data[1])) + 1); ^ imbapi.c:468:16: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[0] + req->req.data[1])) + 1); ^ imbapi.c:470:41: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[1] + req->req.data[2])) + 1); ^ imbapi.c:470:60: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[1] + req->req.data[2])) + 1); ^ imbapi.c:470:16: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[1] + req->req.data[2])) + 1); ^ imbapi.c:475:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = BMC_SA; ^ imbapi.c:476:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((ptr->seqLn & 0xfc) | (ptr->nfLn & 0x3)); ^ imbapi.c:477:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ptr->cmd; ^ imbapi.c:479:16: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] = responseDataBuf[j]; ^ imbapi.c:482:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] = 0; ^ imbapi.c:489:20: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] += req->req.data[j + 3]; ^ imbapi.c:489:36: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] += req->req.data[j + 3]; ^ imbapi.c:489:20: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] += req->req.data[j + 3]; ^ imbapi.c:491:36: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] = ~(req->req.data[i]) + 1; ^ imbapi.c:491:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] = ~(req->req.data[i]) + 1; ^ imbapi.c: In function 'GetAsyncImbpMessage_Ex': imbapi.c:1165:31: warning: array subscript is above array bounds [-Warray-bounds] *sessionHandle = resp->data[1]; ^ /bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libintf_imb.la imbapi.lo imb.lo ../../../lib/libipmitool.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto make[4]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins/imb' Making all in serial make[4]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins/serial' /bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o serial_terminal.lo serial_terminal.c /bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o serial_basic.lo serial_basic.c In file included from serial_basic.c:53:0: ../../../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../../../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ In file included from serial_terminal.c:53:0: ../../../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../../../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ serial_basic.c:92:22: warning: invalid use of structure with flexible array member [-Wpedantic] struct ipmb_msg_hdr msg; ^ serial_terminal.c:90:22: warning: invalid use of structure with flexible array member [-Wpedantic] struct ipmb_msg_hdr msg; ^ serial_basic.c: In function 'serial_bm_open': serial_basic.c:245:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(rates) / sizeof(rates[0]); i++) { ^ serial_terminal.c: In function 'ipmi_serial_term_open': serial_basic.c:246:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rates[i].baudrate == rate) { ^ serial_terminal.c:192:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(rates) / sizeof(rates[0]); i++) { ^ serial_basic.c:250:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i >= sizeof(rates) / sizeof(rates[0])) { ^ serial_terminal.c:193:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rates[i].baudrate == rate) { ^ serial_terminal.c:197:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i >= sizeof(rates) / sizeof(rates[0])) { ^ serial_basic.c: In function 'serial_bm_recv_msg': serial_basic.c:585:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rv < recv_ctx->buffer_size) { ^ serial_basic.c: In function 'serial_bm_build_msg': serial_basic.c:630:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(req->msg.data_len + 7 + bridging_level * 8 > max_len) { ^ serial_terminal.c: In function 'serial_term_build_msg': serial_terminal.c:491:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(req->msg.data_len + 3 + bridging_level * 8 > max_len) { ^ serial_basic.c: In function 'serial_bm_get_message': serial_terminal.c: In function 'serial_term_send_msg': serial_terminal.c:639:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] buf += sprintf( buf, "%02x", msg[i]); ^ serial_basic.c:888:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] } while (tm < intf->ssn_params.timeout); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from serial_terminal.c:39: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'uint8_t *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ serial_basic.c:825:25: warning: unused parameter 'max_len' [-Wunused-parameter] uint8_t * msg, size_t max_len) ^ serial_terminal.c: In function 'serial_term_get_message': serial_terminal.c:777:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] } while (tm < intf->ssn_params.timeout); ^ serial_terminal.c:722:25: warning: unused parameter 'max_len' [-Wunused-parameter] uint8_t * msg, size_t max_len) ^ serial_basic.c: In function 'serial_bm_wait_response.constprop.5': serial_basic.c:535:12: warning: 'parse_ctx.msg_len' may be used uninitialized in this function [-Wmaybe-uninitialized] ctx->msg[ctx->msg_len++] = data[i]; ^ serial_basic.c:551:29: note: 'parse_ctx.msg_len' was declared here struct serial_bm_parse_ctx parse_ctx; ^ serial_terminal.c: In function 'ipmi_serial_term_send_cmd': serial_terminal.c:805:23: warning: 'msg_len' may be used uninitialized in this function [-Wmaybe-uninitialized] serial_term_send_msg(intf, msg, msg_len); ^ serial_basic.c: In function 'serial_bm_send_request': serial_basic.c:921:21: warning: 'msg_len' may be used uninitialized in this function [-Wmaybe-uninitialized] serial_bm_send_msg(intf, msg, msg_len); ^ /bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libintf_serial.la serial_terminal.lo serial_basic.lo ../../../lib/libipmitool.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto make[4]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins/serial' Making all in usb make[4]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins/usb' /bin/sh ../../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o usb.lo usb.c In file included from usb.c:38:0: ../../../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../../../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ /bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libintf_usb.la usb.lo ../../../lib/libipmitool.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto make[4]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins/usb' make[4]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins' /bin/sh ../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_intf.lo ipmi_intf.c In file included from ../../include/ipmitool/ipmi_intf.h:36:0, from ipmi_intf.c:54: ../../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ In file included from ../../include/ipmitool/ipmi_sdr.h:44:0, from ipmi_intf.c:56: ../../include/ipmitool/ipmi_entity.h:45:2: warning: type of bit-field 'instance' is a GCC extension [-Wpedantic] uint8_t instance : 7; /* instance number */ ^ ../../include/ipmitool/ipmi_entity.h:46:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical : 1; /* physical/logical */ ^ In file included from ipmi_intf.c:56:0: ../../include/ipmitool/ipmi_sdr.h:215:4: warning: type of bit-field 'assert_lnc_low' is a GCC extension [-Wpedantic] uint16_t assert_lnc_low:1; ^ ../../include/ipmitool/ipmi_sdr.h:216:4: warning: type of bit-field 'assert_lnc_high' is a GCC extension [-Wpedantic] uint16_t assert_lnc_high:1; ^ ../../include/ipmitool/ipmi_sdr.h:217:4: warning: type of bit-field 'assert_lcr_low' is a GCC extension [-Wpedantic] uint16_t assert_lcr_low:1; ^ ../../include/ipmitool/ipmi_sdr.h:218:4: warning: type of bit-field 'assert_lcr_high' is a GCC extension [-Wpedantic] uint16_t assert_lcr_high:1; ^ ../../include/ipmitool/ipmi_sdr.h:219:4: warning: type of bit-field 'assert_lnr_low' is a GCC extension [-Wpedantic] uint16_t assert_lnr_low:1; ^ ../../include/ipmitool/ipmi_sdr.h:220:4: warning: type of bit-field 'assert_lnr_high' is a GCC extension [-Wpedantic] uint16_t assert_lnr_high:1; ^ ../../include/ipmitool/ipmi_sdr.h:221:4: warning: type of bit-field 'assert_unc_low' is a GCC extension [-Wpedantic] uint16_t assert_unc_low:1; ^ ../../include/ipmitool/ipmi_sdr.h:222:4: warning: type of bit-field 'assert_unc_high' is a GCC extension [-Wpedantic] uint16_t assert_unc_high:1; ^ ../../include/ipmitool/ipmi_sdr.h:223:4: warning: type of bit-field 'assert_ucr_low' is a GCC extension [-Wpedantic] uint16_t assert_ucr_low:1; ^ ../../include/ipmitool/ipmi_sdr.h:224:4: warning: type of bit-field 'assert_ucr_high' is a GCC extension [-Wpedantic] uint16_t assert_ucr_high:1; ^ ../../include/ipmitool/ipmi_sdr.h:225:4: warning: type of bit-field 'assert_unr_low' is a GCC extension [-Wpedantic] uint16_t assert_unr_low:1; ^ ../../include/ipmitool/ipmi_sdr.h:226:4: warning: type of bit-field 'assert_unr_high' is a GCC extension [-Wpedantic] uint16_t assert_unr_high:1; ^ ../../include/ipmitool/ipmi_sdr.h:227:4: warning: type of bit-field 'status_lnc' is a GCC extension [-Wpedantic] uint16_t status_lnc:1; ^ ../../include/ipmitool/ipmi_sdr.h:228:4: warning: type of bit-field 'status_lcr' is a GCC extension [-Wpedantic] uint16_t status_lcr:1; ^ ../../include/ipmitool/ipmi_sdr.h:229:4: warning: type of bit-field 'status_lnr' is a GCC extension [-Wpedantic] uint16_t status_lnr:1; ^ ../../include/ipmitool/ipmi_sdr.h:230:4: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:1; ^ ../../include/ipmitool/ipmi_sdr.h:250:4: warning: type of bit-field 'deassert_lnc_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_low:1; ^ ../../include/ipmitool/ipmi_sdr.h:251:4: warning: type of bit-field 'deassert_lnc_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_high:1; ^ ../../include/ipmitool/ipmi_sdr.h:252:4: warning: type of bit-field 'deassert_lcr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_low:1; ^ ../../include/ipmitool/ipmi_sdr.h:253:4: warning: type of bit-field 'deassert_lcr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_high:1; ^ ../../include/ipmitool/ipmi_sdr.h:254:4: warning: type of bit-field 'deassert_lnr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_low:1; ^ ../../include/ipmitool/ipmi_sdr.h:255:4: warning: type of bit-field 'deassert_lnr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_high:1; ^ ../../include/ipmitool/ipmi_sdr.h:256:4: warning: type of bit-field 'deassert_unc_low' is a GCC extension [-Wpedantic] uint16_t deassert_unc_low:1; ^ ../../include/ipmitool/ipmi_sdr.h:257:4: warning: type of bit-field 'deassert_unc_high' is a GCC extension [-Wpedantic] uint16_t deassert_unc_high:1; ^ ../../include/ipmitool/ipmi_sdr.h:258:4: warning: type of bit-field 'deassert_ucr_low' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_low:1; ^ ../../include/ipmitool/ipmi_sdr.h:259:4: warning: type of bit-field 'deassert_ucr_high' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_high:1; ^ ../../include/ipmitool/ipmi_sdr.h:260:4: warning: type of bit-field 'deassert_unr_low' is a GCC extension [-Wpedantic] uint16_t deassert_unr_low:1; ^ ../../include/ipmitool/ipmi_sdr.h:261:4: warning: type of bit-field 'deassert_unr_high' is a GCC extension [-Wpedantic] uint16_t deassert_unr_high:1; ^ ../../include/ipmitool/ipmi_sdr.h:262:4: warning: type of bit-field 'status_unc' is a GCC extension [-Wpedantic] uint16_t status_unc:1; ^ ../../include/ipmitool/ipmi_sdr.h:263:4: warning: type of bit-field 'status_ucr' is a GCC extension [-Wpedantic] uint16_t status_ucr:1; ^ ../../include/ipmitool/ipmi_sdr.h:264:4: warning: type of bit-field 'status_unr' is a GCC extension [-Wpedantic] uint16_t status_unr:1; ^ ../../include/ipmitool/ipmi_sdr.h:265:4: warning: type of bit-field 'reserved_2' is a GCC extension [-Wpedantic] uint16_t reserved_2:1; ^ ../../include/ipmitool/ipmi_sdr.h:280:6: warning: type of bit-field 'readable' is a GCC extension [-Wpedantic] uint16_t readable:8; ^ ../../include/ipmitool/ipmi_sdr.h:281:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../../include/ipmitool/ipmi_sdr.h:282:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../../include/ipmitool/ipmi_sdr.h:283:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../../include/ipmitool/ipmi_sdr.h:284:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../../include/ipmitool/ipmi_sdr.h:285:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../../include/ipmitool/ipmi_sdr.h:286:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../../include/ipmitool/ipmi_sdr.h:287:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../../include/ipmitool/ipmi_sdr.h:302:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../../include/ipmitool/ipmi_sdr.h:303:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../../include/ipmitool/ipmi_sdr.h:304:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../../include/ipmitool/ipmi_sdr.h:305:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../../include/ipmitool/ipmi_sdr.h:306:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../../include/ipmitool/ipmi_sdr.h:307:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../../include/ipmitool/ipmi_sdr.h:308:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../../include/ipmitool/ipmi_sdr.h:309:6: warning: type of bit-field 'settable' is a GCC extension [-Wpedantic] uint16_t settable:8; ^ ../../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ../../include/ipmitool/ipmi_sdr.h:331:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../../include/ipmitool/ipmi_sdr.h:332:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../../include/ipmitool/ipmi_sdr.h:333:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../../include/ipmitool/ipmi_sdr.h:352:4: warning: type of bit-field 'sensor_scan' is a GCC extension [-Wpedantic] uint8_t sensor_scan:1; ^ ../../include/ipmitool/ipmi_sdr.h:353:4: warning: type of bit-field 'event_gen' is a GCC extension [-Wpedantic] uint8_t event_gen:1; ^ ../../include/ipmitool/ipmi_sdr.h:354:4: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] uint8_t type:1; ^ ../../include/ipmitool/ipmi_sdr.h:355:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:1; ^ ../../include/ipmitool/ipmi_sdr.h:356:4: warning: type of bit-field 'thresholds' is a GCC extension [-Wpedantic] uint8_t thresholds:1; ^ ../../include/ipmitool/ipmi_sdr.h:357:4: warning: type of bit-field 'events' is a GCC extension [-Wpedantic] uint8_t events:1; ^ ../../include/ipmitool/ipmi_sdr.h:358:4: warning: type of bit-field 'scanning' is a GCC extension [-Wpedantic] uint8_t scanning:1; ^ ../../include/ipmitool/ipmi_sdr.h:359:4: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:1; ^ ../../include/ipmitool/ipmi_sdr.h:370:4: warning: type of bit-field 'event_msg' is a GCC extension [-Wpedantic] uint8_t event_msg:2; ^ ../../include/ipmitool/ipmi_sdr.h:371:4: warning: type of bit-field 'threshold' is a GCC extension [-Wpedantic] uint8_t threshold:2; ^ ../../include/ipmitool/ipmi_sdr.h:372:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:2; ^ ../../include/ipmitool/ipmi_sdr.h:373:4: warning: type of bit-field 'rearm' is a GCC extension [-Wpedantic] uint8_t rearm:1; ^ ../../include/ipmitool/ipmi_sdr.h:374:4: warning: type of bit-field 'ignore' is a GCC extension [-Wpedantic] uint8_t ignore:1; ^ ../../include/ipmitool/ipmi_sdr.h:391:3: warning: type of bit-field 'pct' is a GCC extension [-Wpedantic] uint8_t pct:1; ^ ../../include/ipmitool/ipmi_sdr.h:392:3: warning: type of bit-field 'modifier' is a GCC extension [-Wpedantic] uint8_t modifier:2; ^ ../../include/ipmitool/ipmi_sdr.h:393:3: warning: type of bit-field 'rate' is a GCC extension [-Wpedantic] uint8_t rate:3; ^ ../../include/ipmitool/ipmi_sdr.h:394:3: warning: type of bit-field 'analog' is a GCC extension [-Wpedantic] uint8_t analog:2; ^ ../../include/ipmitool/ipmi_sdr.h:422:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../../include/ipmitool/ipmi_sdr.h:423:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../../include/ipmitool/ipmi_sdr.h:424:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../../include/ipmitool/ipmi_sdr.h:430:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../../include/ipmitool/ipmi_sdr.h:431:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../../include/ipmitool/ipmi_sdr.h:462:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../../include/ipmitool/ipmi_sdr.h:463:3: warning: type of bit-field 'fru_owner' is a GCC extension [-Wpedantic] uint8_t fru_owner:2; /* fru device owner lun */ ^ ../../include/ipmitool/ipmi_sdr.h:464:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../../include/ipmitool/ipmi_sdr.h:480:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../../include/ipmitool/ipmi_sdr.h:481:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../../include/ipmitool/ipmi_sdr.h:482:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../../include/ipmitool/ipmi_sdr.h:488:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../../include/ipmitool/ipmi_sdr.h:489:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../../include/ipmitool/ipmi_sdr.h:534:3: warning: type of bit-field 'nominal_read' is a GCC extension [-Wpedantic] uint8_t nominal_read:1; /* nominal reading field specified */ ^ ../../include/ipmitool/ipmi_sdr.h:535:3: warning: type of bit-field 'normal_max' is a GCC extension [-Wpedantic] uint8_t normal_max:1; /* normal max field specified */ ^ ../../include/ipmitool/ipmi_sdr.h:536:3: warning: type of bit-field 'normal_min' is a GCC extension [-Wpedantic] uint8_t normal_min:1; /* normal min field specified */ ^ ../../include/ipmitool/ipmi_sdr.h:537:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../../include/ipmitool/ipmi_sdr.h:581:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../../include/ipmitool/ipmi_sdr.h:582:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:4; ^ ../../include/ipmitool/ipmi_sdr.h:589:2: warning: type of bit-field 'global_init' is a GCC extension [-Wpedantic] uint8_t global_init:4; ^ ../../include/ipmitool/ipmi_sdr.h:590:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:1; ^ ../../include/ipmitool/ipmi_sdr.h:591:2: warning: type of bit-field 'pwr_state_notif' is a GCC extension [-Wpedantic] uint8_t pwr_state_notif:3; ^ ../../include/ipmitool/ipmi_sdr.h:613:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../../include/ipmitool/ipmi_sdr.h:614:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../../include/ipmitool/ipmi_sdr.h:615:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:2; ^ ../../include/ipmitool/ipmi_sdr.h:616:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical:1; ^ ../../include/ipmitool/ipmi_sdr.h:622:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:4; ^ ../../include/ipmitool/ipmi_sdr.h:623:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../../include/ipmitool/ipmi_sdr.h:648:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../../include/ipmitool/ipmi_sdr.h:649:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../../include/ipmitool/ipmi_sdr.h:650:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:3; ^ ../../include/ipmitool/ipmi_sdr.h:656:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:5; ^ ../../include/ipmitool/ipmi_sdr.h:657:2: warning: type of bit-field 'addr_span' is a GCC extension [-Wpedantic] uint8_t addr_span:3; ^ ../../include/ipmitool/ipmi_sdr.h:683:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../../include/ipmitool/ipmi_sdr.h:684:3: warning: type of bit-field 'isaccessable' is a GCC extension [-Wpedantic] uint8_t isaccessable:1; ^ ../../include/ipmitool/ipmi_sdr.h:685:3: warning: type of bit-field 'islinked' is a GCC extension [-Wpedantic] uint8_t islinked:1; ^ ../../include/ipmitool/ipmi_sdr.h:686:3: warning: type of bit-field 'isrange' is a GCC extension [-Wpedantic] uint8_t isrange:1; ^ ../../include/ipmitool/ipmi_sdr.h:730:2: warning: type of bit-field 'get_sdr_repository_allo_info_supported' is a GCC extension [-Wpedantic] uint8_t get_sdr_repository_allo_info_supported:1; ^ ../../include/ipmitool/ipmi_sdr.h:731:2: warning: type of bit-field 'reserve_sdr_repository_supported' is a GCC extension [-Wpedantic] uint8_t reserve_sdr_repository_supported:1; ^ ../../include/ipmitool/ipmi_sdr.h:732:2: warning: type of bit-field 'partial_add_sdr_supported' is a GCC extension [-Wpedantic] uint8_t partial_add_sdr_supported:1; ^ ../../include/ipmitool/ipmi_sdr.h:733:2: warning: type of bit-field 'delete_sdr_supported' is a GCC extension [-Wpedantic] uint8_t delete_sdr_supported:1; ^ ../../include/ipmitool/ipmi_sdr.h:734:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:1; ^ ../../include/ipmitool/ipmi_sdr.h:735:2: warning: type of bit-field 'modal_update_support' is a GCC extension [-Wpedantic] uint8_t modal_update_support:2; ^ ../../include/ipmitool/ipmi_sdr.h:736:2: warning: type of bit-field 'overflow_flag' is a GCC extension [-Wpedantic] uint8_t overflow_flag:1; ^ /bin/sh ../../libtool --silent --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -export-dynamic -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libintf.la ipmi_intf.lo lan/libintf_lan.la usb/libintf_usb.la lanplus/libintf_lanplus.la serial/libintf_serial.la open/libintf_open.la imb/libintf_imb.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto copying selected object files to avoid basename conflicts... make[4]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins' make[3]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins' make[3]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/src' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c ipmitool.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c ipmishell.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c ipmievd.c In file included from ipmitool.c:36:0: ../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ In file included from ipmishell.c:45:0: ../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ In file included from ipmishell.c:47:0: ../include/ipmitool/ipmi_session.h:57:2: warning: type of bit-field 'session_slot_count' is a GCC extension [-Wpedantic] uint8_t session_slot_count : 6; /* 1-based */ ^ ../include/ipmitool/ipmi_session.h:58:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1 : 2; ^ ../include/ipmitool/ipmi_session.h:65:2: warning: type of bit-field 'active_session_count' is a GCC extension [-Wpedantic] uint8_t active_session_count : 6; /* 1-based */ ^ ../include/ipmitool/ipmi_session.h:66:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2 : 2; ^ ../include/ipmitool/ipmi_session.h:73:2: warning: type of bit-field 'user_id' is a GCC extension [-Wpedantic] uint8_t user_id : 6; ^ ../include/ipmitool/ipmi_session.h:74:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3 : 2; ^ ../include/ipmitool/ipmi_session.h:81:2: warning: type of bit-field 'privilege_level' is a GCC extension [-Wpedantic] uint8_t privilege_level : 4; ^ ../include/ipmitool/ipmi_session.h:82:2: warning: type of bit-field '__reserved4' is a GCC extension [-Wpedantic] uint8_t __reserved4 : 4; ^ ../include/ipmitool/ipmi_session.h:89:2: warning: type of bit-field 'channel_number' is a GCC extension [-Wpedantic] uint8_t channel_number : 4; ^ ../include/ipmitool/ipmi_session.h:90:2: warning: type of bit-field 'auxiliary_data' is a GCC extension [-Wpedantic] uint8_t auxiliary_data : 4; ^ ../include/ipmitool/ipmi_session.h:112:4: warning: type of bit-field 'destination_selector' is a GCC extension [-Wpedantic] uint8_t destination_selector : 4; ^ ../include/ipmitool/ipmi_session.h:113:4: warning: type of bit-field '__reserved5' is a GCC extension [-Wpedantic] uint8_t __reserved5 : 4; ^ In file included from ../include/ipmitool/ipmi_sdr.h:44:0, from ipmitool.c:40: ../include/ipmitool/ipmi_entity.h:45:2: warning: type of bit-field 'instance' is a GCC extension [-Wpedantic] uint8_t instance : 7; /* instance number */ ^ ../include/ipmitool/ipmi_entity.h:46:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical : 1; /* physical/logical */ ^ In file included from ipmitool.c:40:0: ../include/ipmitool/ipmi_sdr.h:215:4: warning: type of bit-field 'assert_lnc_low' is a GCC extension [-Wpedantic] uint16_t assert_lnc_low:1; ^ In file included from ipmievd.c:79:0: ../include/ipmitool/ipmi.h:74:3: warning: type of bit-field 'netfn' is a GCC extension [-Wpedantic] uint8_t netfn:6; ^ ../include/ipmitool/ipmi_sdr.h:216:4: warning: type of bit-field 'assert_lnc_high' is a GCC extension [-Wpedantic] uint16_t assert_lnc_high:1; ^ ../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_sdr.h:217:4: warning: type of bit-field 'assert_lcr_low' is a GCC extension [-Wpedantic] uint16_t assert_lcr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:218:4: warning: type of bit-field 'assert_lcr_high' is a GCC extension [-Wpedantic] uint16_t assert_lcr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:219:4: warning: type of bit-field 'assert_lnr_low' is a GCC extension [-Wpedantic] uint16_t assert_lnr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:220:4: warning: type of bit-field 'assert_lnr_high' is a GCC extension [-Wpedantic] uint16_t assert_lnr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:221:4: warning: type of bit-field 'assert_unc_low' is a GCC extension [-Wpedantic] uint16_t assert_unc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:222:4: warning: type of bit-field 'assert_unc_high' is a GCC extension [-Wpedantic] uint16_t assert_unc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:223:4: warning: type of bit-field 'assert_ucr_low' is a GCC extension [-Wpedantic] uint16_t assert_ucr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:224:4: warning: type of bit-field 'assert_ucr_high' is a GCC extension [-Wpedantic] uint16_t assert_ucr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:225:4: warning: type of bit-field 'assert_unr_low' is a GCC extension [-Wpedantic] uint16_t assert_unr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:226:4: warning: type of bit-field 'assert_unr_high' is a GCC extension [-Wpedantic] uint16_t assert_unr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:227:4: warning: type of bit-field 'status_lnc' is a GCC extension [-Wpedantic] uint16_t status_lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:228:4: warning: type of bit-field 'status_lcr' is a GCC extension [-Wpedantic] uint16_t status_lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:229:4: warning: type of bit-field 'status_lnr' is a GCC extension [-Wpedantic] uint16_t status_lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:230:4: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:1; ^ ../include/ipmitool/ipmi_sdr.h:250:4: warning: type of bit-field 'deassert_lnc_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:251:4: warning: type of bit-field 'deassert_lnc_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:252:4: warning: type of bit-field 'deassert_lcr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_low:1; ^ ipmishell.c: In function 'ipmi_shell_main': ../include/ipmitool/ipmi_sdr.h:253:4: warning: type of bit-field 'deassert_lcr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_high:1; ^ ipmishell.c:102:50: warning: unused parameter 'argc' [-Wunused-parameter] int ipmi_shell_main(struct ipmi_intf * intf, int argc, char ** argv) ^ ../include/ipmitool/ipmi_sdr.h:254:4: warning: type of bit-field 'deassert_lnr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_low:1; ^ ipmishell.c:102:64: warning: unused parameter 'argv' [-Wunused-parameter] int ipmi_shell_main(struct ipmi_intf * intf, int argc, char ** argv) ^ ../include/ipmitool/ipmi_sdr.h:255:4: warning: type of bit-field 'deassert_lnr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_high:1; ^ ipmishell.c: In function 'ipmi_echo_main': ../include/ipmitool/ipmi_sdr.h:256:4: warning: type of bit-field 'deassert_unc_low' is a GCC extension [-Wpedantic] uint16_t deassert_unc_low:1; ^ ipmishell.c:228:39: warning: unused parameter 'intf' [-Wunused-parameter] int ipmi_echo_main(struct ipmi_intf * intf, int argc, char ** argv) ^ ../include/ipmitool/ipmi_sdr.h:257:4: warning: type of bit-field 'deassert_unc_high' is a GCC extension [-Wpedantic] uint16_t deassert_unc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:258:4: warning: type of bit-field 'deassert_ucr_low' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:259:4: warning: type of bit-field 'deassert_ucr_high' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:260:4: warning: type of bit-field 'deassert_unr_low' is a GCC extension [-Wpedantic] uint16_t deassert_unr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:261:4: warning: type of bit-field 'deassert_unr_high' is a GCC extension [-Wpedantic] uint16_t deassert_unr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:262:4: warning: type of bit-field 'status_unc' is a GCC extension [-Wpedantic] uint16_t status_unc:1; ^ ../include/ipmitool/ipmi_sdr.h:263:4: warning: type of bit-field 'status_ucr' is a GCC extension [-Wpedantic] uint16_t status_ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:264:4: warning: type of bit-field 'status_unr' is a GCC extension [-Wpedantic] uint16_t status_unr:1; ^ ../include/ipmitool/ipmi_sdr.h:265:4: warning: type of bit-field 'reserved_2' is a GCC extension [-Wpedantic] uint16_t reserved_2:1; ^ ../include/ipmitool/ipmi_sdr.h:280:6: warning: type of bit-field 'readable' is a GCC extension [-Wpedantic] uint16_t readable:8; ^ ../include/ipmitool/ipmi_sdr.h:281:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:282:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:283:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:284:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../include/ipmitool/ipmi_sdr.h:285:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:286:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_sdr.h:287:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:302:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:303:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:304:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:305:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../include/ipmitool/ipmi_sdr.h:306:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:307:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_sdr.h:308:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:309:6: warning: type of bit-field 'settable' is a GCC extension [-Wpedantic] uint16_t settable:8; ^ ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ../include/ipmitool/ipmi_sdr.h:331:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:332:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:333:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../include/ipmitool/ipmi_sdr.h:352:4: warning: type of bit-field 'sensor_scan' is a GCC extension [-Wpedantic] uint8_t sensor_scan:1; ^ ../include/ipmitool/ipmi_sdr.h:353:4: warning: type of bit-field 'event_gen' is a GCC extension [-Wpedantic] uint8_t event_gen:1; ^ ../include/ipmitool/ipmi_sdr.h:354:4: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] uint8_t type:1; ^ ../include/ipmitool/ipmi_sdr.h:355:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:1; ^ ../include/ipmitool/ipmi_sdr.h:356:4: warning: type of bit-field 'thresholds' is a GCC extension [-Wpedantic] uint8_t thresholds:1; ^ ../include/ipmitool/ipmi_sdr.h:357:4: warning: type of bit-field 'events' is a GCC extension [-Wpedantic] uint8_t events:1; ^ ../include/ipmitool/ipmi_sdr.h:358:4: warning: type of bit-field 'scanning' is a GCC extension [-Wpedantic] uint8_t scanning:1; ^ ../include/ipmitool/ipmi_sdr.h:359:4: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:1; ^ ../include/ipmitool/ipmi_sdr.h:370:4: warning: type of bit-field 'event_msg' is a GCC extension [-Wpedantic] uint8_t event_msg:2; ^ ../include/ipmitool/ipmi_sdr.h:371:4: warning: type of bit-field 'threshold' is a GCC extension [-Wpedantic] uint8_t threshold:2; ^ ../include/ipmitool/ipmi_sdr.h:372:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:2; ^ ../include/ipmitool/ipmi_sdr.h:373:4: warning: type of bit-field 'rearm' is a GCC extension [-Wpedantic] uint8_t rearm:1; ^ ../include/ipmitool/ipmi_sdr.h:374:4: warning: type of bit-field 'ignore' is a GCC extension [-Wpedantic] uint8_t ignore:1; ^ ../include/ipmitool/ipmi_sdr.h:391:3: warning: type of bit-field 'pct' is a GCC extension [-Wpedantic] uint8_t pct:1; ^ ../include/ipmitool/ipmi_sdr.h:392:3: warning: type of bit-field 'modifier' is a GCC extension [-Wpedantic] uint8_t modifier:2; ^ ../include/ipmitool/ipmi_sdr.h:393:3: warning: type of bit-field 'rate' is a GCC extension [-Wpedantic] uint8_t rate:3; ^ ../include/ipmitool/ipmi_sdr.h:394:3: warning: type of bit-field 'analog' is a GCC extension [-Wpedantic] uint8_t analog:2; ^ ../include/ipmitool/ipmi_sdr.h:422:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../include/ipmitool/ipmi_sdr.h:423:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../include/ipmitool/ipmi_sdr.h:424:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:430:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../include/ipmitool/ipmi_sdr.h:431:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../include/ipmitool/ipmi_sdr.h:462:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:463:3: warning: type of bit-field 'fru_owner' is a GCC extension [-Wpedantic] uint8_t fru_owner:2; /* fru device owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:464:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../include/ipmitool/ipmi_sdr.h:480:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../include/ipmitool/ipmi_sdr.h:481:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../include/ipmitool/ipmi_sdr.h:482:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:488:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../include/ipmitool/ipmi_sdr.h:489:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../include/ipmitool/ipmi_sdr.h:534:3: warning: type of bit-field 'nominal_read' is a GCC extension [-Wpedantic] uint8_t nominal_read:1; /* nominal reading field specified */ ^ ../include/ipmitool/ipmi_sdr.h:535:3: warning: type of bit-field 'normal_max' is a GCC extension [-Wpedantic] uint8_t normal_max:1; /* normal max field specified */ ^ ../include/ipmitool/ipmi_sdr.h:536:3: warning: type of bit-field 'normal_min' is a GCC extension [-Wpedantic] uint8_t normal_min:1; /* normal min field specified */ ^ ../include/ipmitool/ipmi_sdr.h:537:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_sdr.h:581:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_sdr.h:582:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:4; ^ ../include/ipmitool/ipmi_sdr.h:589:2: warning: type of bit-field 'global_init' is a GCC extension [-Wpedantic] uint8_t global_init:4; ^ ../include/ipmitool/ipmi_sdr.h:590:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:1; ^ ../include/ipmitool/ipmi_sdr.h:591:2: warning: type of bit-field 'pwr_state_notif' is a GCC extension [-Wpedantic] uint8_t pwr_state_notif:3; ^ ../include/ipmitool/ipmi_sdr.h:613:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../include/ipmitool/ipmi_sdr.h:614:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_sdr.h:615:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:2; ^ ../include/ipmitool/ipmi_sdr.h:616:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical:1; ^ ../include/ipmitool/ipmi_sdr.h:622:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:4; ^ ../include/ipmitool/ipmi_sdr.h:623:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_sdr.h:648:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../include/ipmitool/ipmi_sdr.h:649:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_sdr.h:650:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:3; ^ ../include/ipmitool/ipmi_sdr.h:656:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:5; ^ ../include/ipmitool/ipmi_sdr.h:657:2: warning: type of bit-field 'addr_span' is a GCC extension [-Wpedantic] uint8_t addr_span:3; ^ ../include/ipmitool/ipmi_sdr.h:683:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_sdr.h:684:3: warning: type of bit-field 'isaccessable' is a GCC extension [-Wpedantic] uint8_t isaccessable:1; ^ ../include/ipmitool/ipmi_sdr.h:685:3: warning: type of bit-field 'islinked' is a GCC extension [-Wpedantic] uint8_t islinked:1; ^ ../include/ipmitool/ipmi_sdr.h:686:3: warning: type of bit-field 'isrange' is a GCC extension [-Wpedantic] uint8_t isrange:1; ^ ../include/ipmitool/ipmi_sdr.h:730:2: warning: type of bit-field 'get_sdr_repository_allo_info_supported' is a GCC extension [-Wpedantic] uint8_t get_sdr_repository_allo_info_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:731:2: warning: type of bit-field 'reserve_sdr_repository_supported' is a GCC extension [-Wpedantic] uint8_t reserve_sdr_repository_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:732:2: warning: type of bit-field 'partial_add_sdr_supported' is a GCC extension [-Wpedantic] uint8_t partial_add_sdr_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:733:2: warning: type of bit-field 'delete_sdr_supported' is a GCC extension [-Wpedantic] uint8_t delete_sdr_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:734:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:1; ^ ../include/ipmitool/ipmi_sdr.h:735:2: warning: type of bit-field 'modal_update_support' is a GCC extension [-Wpedantic] uint8_t modal_update_support:2; ^ ../include/ipmitool/ipmi_sdr.h:736:2: warning: type of bit-field 'overflow_flag' is a GCC extension [-Wpedantic] uint8_t overflow_flag:1; ^ In file included from ipmitool.c:42:0: ../include/ipmitool/ipmi_sel.h:83:2: warning: type of bit-field 'event_type' is a GCC extension [-Wpedantic] uint8_t event_type : 7; ^ ../include/ipmitool/ipmi_sel.h:84:2: warning: type of bit-field 'event_dir' is a GCC extension [-Wpedantic] uint8_t event_dir : 1; ^ In file included from ../include/ipmitool/ipmi_sdr.h:44:0, from ../include/ipmitool/ipmi_sel.h:38, from ipmievd.c:81: ../include/ipmitool/ipmi_entity.h:45:2: warning: type of bit-field 'instance' is a GCC extension [-Wpedantic] uint8_t instance : 7; /* instance number */ ^ ../include/ipmitool/ipmi_entity.h:46:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical : 1; /* physical/logical */ ^ In file included from ../include/ipmitool/ipmi_sel.h:38:0, from ipmievd.c:81: ../include/ipmitool/ipmi_sdr.h:215:4: warning: type of bit-field 'assert_lnc_low' is a GCC extension [-Wpedantic] uint16_t assert_lnc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:216:4: warning: type of bit-field 'assert_lnc_high' is a GCC extension [-Wpedantic] uint16_t assert_lnc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:217:4: warning: type of bit-field 'assert_lcr_low' is a GCC extension [-Wpedantic] uint16_t assert_lcr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:218:4: warning: type of bit-field 'assert_lcr_high' is a GCC extension [-Wpedantic] uint16_t assert_lcr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:219:4: warning: type of bit-field 'assert_lnr_low' is a GCC extension [-Wpedantic] uint16_t assert_lnr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:220:4: warning: type of bit-field 'assert_lnr_high' is a GCC extension [-Wpedantic] uint16_t assert_lnr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:221:4: warning: type of bit-field 'assert_unc_low' is a GCC extension [-Wpedantic] uint16_t assert_unc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:222:4: warning: type of bit-field 'assert_unc_high' is a GCC extension [-Wpedantic] uint16_t assert_unc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:223:4: warning: type of bit-field 'assert_ucr_low' is a GCC extension [-Wpedantic] uint16_t assert_ucr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:224:4: warning: type of bit-field 'assert_ucr_high' is a GCC extension [-Wpedantic] uint16_t assert_ucr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:225:4: warning: type of bit-field 'assert_unr_low' is a GCC extension [-Wpedantic] uint16_t assert_unr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:226:4: warning: type of bit-field 'assert_unr_high' is a GCC extension [-Wpedantic] uint16_t assert_unr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:227:4: warning: type of bit-field 'status_lnc' is a GCC extension [-Wpedantic] uint16_t status_lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:228:4: warning: type of bit-field 'status_lcr' is a GCC extension [-Wpedantic] uint16_t status_lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:229:4: warning: type of bit-field 'status_lnr' is a GCC extension [-Wpedantic] uint16_t status_lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:230:4: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:1; ^ ../include/ipmitool/ipmi_sdr.h:250:4: warning: type of bit-field 'deassert_lnc_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:251:4: warning: type of bit-field 'deassert_lnc_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:252:4: warning: type of bit-field 'deassert_lcr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:253:4: warning: type of bit-field 'deassert_lcr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:254:4: warning: type of bit-field 'deassert_lnr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:255:4: warning: type of bit-field 'deassert_lnr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:256:4: warning: type of bit-field 'deassert_unc_low' is a GCC extension [-Wpedantic] uint16_t deassert_unc_low:1; ^ ../include/ipmitool/ipmi_sdr.h:257:4: warning: type of bit-field 'deassert_unc_high' is a GCC extension [-Wpedantic] uint16_t deassert_unc_high:1; ^ ../include/ipmitool/ipmi_sdr.h:258:4: warning: type of bit-field 'deassert_ucr_low' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:259:4: warning: type of bit-field 'deassert_ucr_high' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:260:4: warning: type of bit-field 'deassert_unr_low' is a GCC extension [-Wpedantic] uint16_t deassert_unr_low:1; ^ ../include/ipmitool/ipmi_sdr.h:261:4: warning: type of bit-field 'deassert_unr_high' is a GCC extension [-Wpedantic] uint16_t deassert_unr_high:1; ^ ../include/ipmitool/ipmi_sdr.h:262:4: warning: type of bit-field 'status_unc' is a GCC extension [-Wpedantic] uint16_t status_unc:1; ^ ../include/ipmitool/ipmi_sdr.h:263:4: warning: type of bit-field 'status_ucr' is a GCC extension [-Wpedantic] uint16_t status_ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:264:4: warning: type of bit-field 'status_unr' is a GCC extension [-Wpedantic] uint16_t status_unr:1; ^ ../include/ipmitool/ipmi_sdr.h:265:4: warning: type of bit-field 'reserved_2' is a GCC extension [-Wpedantic] uint16_t reserved_2:1; ^ ../include/ipmitool/ipmi_sdr.h:280:6: warning: type of bit-field 'readable' is a GCC extension [-Wpedantic] uint16_t readable:8; ^ ../include/ipmitool/ipmi_sdr.h:281:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:282:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_sdr.h:283:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/ipmi_sdr.h:284:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ In file included from ipmitool.c:43:0: ../include/ipmitool/ipmi_fru.h:65:2: warning: type of bit-field 'access' is a GCC extension [-Wpedantic] uint8_t access:1; ^ ../include/ipmitool/ipmi_sdr.h:285:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../include/ipmitool/ipmi_sdr.h:286:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ ../include/ipmitool/ipmi_sdr.h:287:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:302:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_sdr.h:303:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_fru.h:153:2: warning: type of bit-field 'capacity' is a GCC extension [-Wpedantic] uint16_t capacity:12; ^ ../include/ipmitool/ipmi_sdr.h:304:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/ipmi_fru.h:154:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint16_t __reserved1:4; ^ ../include/ipmitool/ipmi_sdr.h:305:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../include/ipmitool/ipmi_fru.h:174:2: warning: type of bit-field 'predictive_fail' is a GCC extension [-Wpedantic] uint8_t predictive_fail:1; ^ ../include/ipmitool/ipmi_sdr.h:306:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../include/ipmitool/ipmi_fru.h:175:2: warning: type of bit-field 'pfc' is a GCC extension [-Wpedantic] uint8_t pfc:1; ^ ../include/ipmitool/ipmi_fru.h:176:2: warning: type of bit-field 'autoswitch' is a GCC extension [-Wpedantic] uint8_t autoswitch:1; ^ ../include/ipmitool/ipmi_sdr.h:307:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_fru.h:177:2: warning: type of bit-field 'hotswap' is a GCC extension [-Wpedantic] uint8_t hotswap:1; ^ ../include/ipmitool/ipmi_sdr.h:308:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../include/ipmitool/ipmi_fru.h:178:2: warning: type of bit-field 'tach' is a GCC extension [-Wpedantic] uint8_t tach:1; ^ ../include/ipmitool/ipmi_sdr.h:309:6: warning: type of bit-field 'settable' is a GCC extension [-Wpedantic] uint16_t settable:8; ^ ../include/ipmitool/ipmi_fru.h:179:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:3; ^ ../include/ipmitool/ipmi_fru.h:186:2: warning: type of bit-field 'combined_voltage2' is a GCC extension [-Wpedantic] uint8_t combined_voltage2:4; ^ ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ../include/ipmitool/ipmi_fru.h:187:2: warning: type of bit-field 'combined_voltage1' is a GCC extension [-Wpedantic] uint8_t combined_voltage1:4; ^ ../include/ipmitool/ipmi_fru.h:208:2: warning: type of bit-field 'output_number' is a GCC extension [-Wpedantic] uint8_t output_number:4; ^ ../include/ipmitool/ipmi_sdr.h:331:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../include/ipmitool/ipmi_fru.h:209:2: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:3; ^ ../include/ipmitool/ipmi_fru.h:210:2: warning: type of bit-field 'standby' is a GCC extension [-Wpedantic] uint8_t standby:1; ^ ../include/ipmitool/ipmi_sdr.h:332:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:333:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../include/ipmitool/ipmi_fru.h:231:2: warning: type of bit-field 'output_number' is a GCC extension [-Wpedantic] uint8_t output_number:4; ^ ../include/ipmitool/ipmi_fru.h:232:2: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:4; ^ ../include/ipmitool/ipmi_sdr.h:352:4: warning: type of bit-field 'sensor_scan' is a GCC extension [-Wpedantic] uint8_t sensor_scan:1; ^ ../include/ipmitool/ipmi_sdr.h:353:4: warning: type of bit-field 'event_gen' is a GCC extension [-Wpedantic] uint8_t event_gen:1; ^ ../include/ipmitool/ipmi_sdr.h:354:4: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] uint8_t type:1; ^ ../include/ipmitool/ipmi_sdr.h:355:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:1; ^ ../include/ipmitool/ipmi_fru.h:374:2: warning: type of bit-field 'asymetricMatch' is a GCC extension [-Wpedantic] unsigned char asymetricMatch:2; ^ ../include/ipmitool/ipmi_sdr.h:356:4: warning: type of bit-field 'thresholds' is a GCC extension [-Wpedantic] uint8_t thresholds:1; ^ ../include/ipmitool/ipmi_sdr.h:357:4: warning: type of bit-field 'events' is a GCC extension [-Wpedantic] uint8_t events:1; ^ ../include/ipmitool/ipmi_fru.h:375:2: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] unsigned char reserved:6; ^ ../include/ipmitool/ipmi_sdr.h:358:4: warning: type of bit-field 'scanning' is a GCC extension [-Wpedantic] uint8_t scanning:1; ^ ../include/ipmitool/ipmi_sdr.h:359:4: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:1; ^ ../include/ipmitool/ipmi_fru.h:486:2: warning: type of bit-field 'remote_port' is a GCC extension [-Wpedantic] unsigned short remote_port:5; ^ ../include/ipmitool/ipmi_sdr.h:370:4: warning: type of bit-field 'event_msg' is a GCC extension [-Wpedantic] uint8_t event_msg:2; ^ ../include/ipmitool/ipmi_fru.h:487:2: warning: type of bit-field 'local_port' is a GCC extension [-Wpedantic] unsigned short local_port:5; ^ ../include/ipmitool/ipmi_sdr.h:371:4: warning: type of bit-field 'threshold' is a GCC extension [-Wpedantic] uint8_t threshold:2; ^ ../include/ipmitool/ipmi_fru.h:488:2: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] unsigned short reserved:6; ^ ../include/ipmitool/ipmi_sdr.h:372:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:2; ^ ../include/ipmitool/ipmi_sdr.h:373:4: warning: type of bit-field 'rearm' is a GCC extension [-Wpedantic] uint8_t rearm:1; ^ ../include/ipmitool/ipmi_fru.h:505:2: warning: type of bit-field 'resource_id' is a GCC extension [-Wpedantic] unsigned char resource_id :4; ^ ../include/ipmitool/ipmi_sdr.h:374:4: warning: type of bit-field 'ignore' is a GCC extension [-Wpedantic] uint8_t ignore:1; ^ ../include/ipmitool/ipmi_fru.h:506:2: warning: type of bit-field '' is a GCC extension [-Wpedantic] unsigned char /* reserved */ :3; ^ ../include/ipmitool/ipmi_sdr.h:391:3: warning: type of bit-field 'pct' is a GCC extension [-Wpedantic] uint8_t pct:1; ^ ../include/ipmitool/ipmi_fru.h:507:2: warning: type of bit-field 'record_type' is a GCC extension [-Wpedantic] unsigned char record_type :1; ^ ../include/ipmitool/ipmi_sdr.h:392:3: warning: type of bit-field 'modifier' is a GCC extension [-Wpedantic] uint8_t modifier:2; ^ ../include/ipmitool/ipmi_sdr.h:393:3: warning: type of bit-field 'rate' is a GCC extension [-Wpedantic] uint8_t rate:3; ^ ../include/ipmitool/ipmi_sdr.h:394:3: warning: type of bit-field 'analog' is a GCC extension [-Wpedantic] uint8_t analog:2; ^ ../include/ipmitool/ipmi_sdr.h:422:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../include/ipmitool/ipmi_sdr.h:423:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../include/ipmitool/ipmi_sdr.h:424:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:430:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../include/ipmitool/ipmi_sdr.h:431:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../include/ipmitool/ipmi_sdr.h:462:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:463:3: warning: type of bit-field 'fru_owner' is a GCC extension [-Wpedantic] uint8_t fru_owner:2; /* fru device owner lun */ ^ ../include/ipmitool/ipmi_sdr.h:464:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../include/ipmitool/ipmi_sdr.h:480:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../include/ipmitool/ipmi_sdr.h:481:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../include/ipmitool/ipmi_sdr.h:482:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:488:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../include/ipmitool/ipmi_sdr.h:489:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../include/ipmitool/ipmi_sdr.h:534:3: warning: type of bit-field 'nominal_read' is a GCC extension [-Wpedantic] uint8_t nominal_read:1; /* nominal reading field specified */ ^ ../include/ipmitool/ipmi_sdr.h:535:3: warning: type of bit-field 'normal_max' is a GCC extension [-Wpedantic] uint8_t normal_max:1; /* normal max field specified */ ^ In file included from ipmitool.c:51:0: ../include/ipmitool/ipmi_channel.h:98:2: warning: type of bit-field 'enabled_auth_types' is a GCC extension [-Wpedantic] uint8_t enabled_auth_types : 6; /* IPMI v1.5 enabled auth types */ ^ ../include/ipmitool/ipmi_sdr.h:536:3: warning: type of bit-field 'normal_min' is a GCC extension [-Wpedantic] uint8_t normal_min:1; /* normal min field specified */ ^ ../include/ipmitool/ipmi_channel.h:99:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1 : 1; ^ ../include/ipmitool/ipmi_channel.h:100:2: warning: type of bit-field 'v20_data_available' is a GCC extension [-Wpedantic] uint8_t v20_data_available : 1; /* IPMI v2.0 data is available */ ^ ../include/ipmitool/ipmi_sdr.h:537:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_channel.h:111:2: warning: type of bit-field 'anon_login_enabled' is a GCC extension [-Wpedantic] uint8_t anon_login_enabled : 1; /* a null-named, null-pwd user exists */ ^ ../include/ipmitool/ipmi_channel.h:112:2: warning: type of bit-field 'null_usernames' is a GCC extension [-Wpedantic] uint8_t null_usernames : 1; /* one or more null usernames non-null pwds */ ^ ../include/ipmitool/ipmi_channel.h:113:2: warning: type of bit-field 'non_null_usernames' is a GCC extension [-Wpedantic] uint8_t non_null_usernames : 1; /* one or more non-null users exist */ ^ ../include/ipmitool/ipmi_channel.h:114:2: warning: type of bit-field 'user_level_auth' is a GCC extension [-Wpedantic] uint8_t user_level_auth : 1; /* user-level authentication status */ ^ ../include/ipmitool/ipmi_channel.h:115:2: warning: type of bit-field 'per_message_auth' is a GCC extension [-Wpedantic] uint8_t per_message_auth : 1; /* per-message authentication status */ ^ ../include/ipmitool/ipmi_sdr.h:581:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_channel.h:116:2: warning: type of bit-field 'kg_status' is a GCC extension [-Wpedantic] uint8_t kg_status : 1; /* two-key login status */ ^ ../include/ipmitool/ipmi_channel.h:117:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2 : 2; ^ ../include/ipmitool/ipmi_sdr.h:582:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:4; ^ ../include/ipmitool/ipmi_channel.h:124:2: warning: type of bit-field 'ipmiv15_support' is a GCC extension [-Wpedantic] uint8_t ipmiv15_support : 1; /* channel supports IPMI v1.5 connections */ ^ ../include/ipmitool/ipmi_channel.h:125:2: warning: type of bit-field 'ipmiv20_support' is a GCC extension [-Wpedantic] uint8_t ipmiv20_support : 1; /* channel supports IPMI v2.0 connections */ ^ ../include/ipmitool/ipmi_sdr.h:589:2: warning: type of bit-field 'global_init' is a GCC extension [-Wpedantic] uint8_t global_init:4; ^ ../include/ipmitool/ipmi_channel.h:126:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3 : 6; ^ ../include/ipmitool/ipmi_sdr.h:590:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:1; ^ ../include/ipmitool/ipmi_sdr.h:591:2: warning: type of bit-field 'pwr_state_notif' is a GCC extension [-Wpedantic] uint8_t pwr_state_notif:3; ^ ../include/ipmitool/ipmi_channel.h:155:2: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel :4; ^ ../include/ipmitool/ipmi_channel.h:156:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1 :4; ^ ../include/ipmitool/ipmi_channel.h:158:2: warning: type of bit-field 'operation' is a GCC extension [-Wpedantic] uint8_t operation :2; ^ ../include/ipmitool/ipmi_channel.h:159:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2 :6; ^ ../include/ipmitool/ipmi_sdr.h:613:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../include/ipmitool/ipmi_channel.h:172:2: warning: type of bit-field 'lock_status' is a GCC extension [-Wpedantic] uint8_t lock_status :2; ^ ../include/ipmitool/ipmi_sdr.h:614:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_channel.h:173:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1 :6; ^ ../include/ipmitool/ipmi_sdr.h:615:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:2; ^ ../include/ipmitool/ipmi_sdr.h:616:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical:1; ^ In file included from ipmitool.c:52:0: ../include/ipmitool/ipmi_session.h:57:2: warning: type of bit-field 'session_slot_count' is a GCC extension [-Wpedantic] uint8_t session_slot_count : 6; /* 1-based */ ^ ../include/ipmitool/ipmi_session.h:58:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1 : 2; ^ ../include/ipmitool/ipmi_session.h:65:2: warning: type of bit-field 'active_session_count' is a GCC extension [-Wpedantic] uint8_t active_session_count : 6; /* 1-based */ ^ ../include/ipmitool/ipmi_sdr.h:622:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:4; ^ ../include/ipmitool/ipmi_session.h:66:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2 : 2; ^ ../include/ipmitool/ipmi_session.h:73:2: warning: type of bit-field 'user_id' is a GCC extension [-Wpedantic] uint8_t user_id : 6; ^ ../include/ipmitool/ipmi_sdr.h:623:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_session.h:74:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3 : 2; ^ ../include/ipmitool/ipmi_session.h:81:2: warning: type of bit-field 'privilege_level' is a GCC extension [-Wpedantic] uint8_t privilege_level : 4; ^ ../include/ipmitool/ipmi_session.h:82:2: warning: type of bit-field '__reserved4' is a GCC extension [-Wpedantic] uint8_t __reserved4 : 4; ^ ../include/ipmitool/ipmi_session.h:89:2: warning: type of bit-field 'channel_number' is a GCC extension [-Wpedantic] uint8_t channel_number : 4; ^ ../include/ipmitool/ipmi_sdr.h:648:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../include/ipmitool/ipmi_session.h:90:2: warning: type of bit-field 'auxiliary_data' is a GCC extension [-Wpedantic] uint8_t auxiliary_data : 4; ^ ../include/ipmitool/ipmi_session.h:112:4: warning: type of bit-field 'destination_selector' is a GCC extension [-Wpedantic] uint8_t destination_selector : 4; ^ ../include/ipmitool/ipmi_sdr.h:649:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_session.h:113:4: warning: type of bit-field '__reserved5' is a GCC extension [-Wpedantic] uint8_t __reserved5 : 4; ^ ../include/ipmitool/ipmi_sdr.h:650:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:3; ^ ../include/ipmitool/ipmi_sdr.h:656:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:5; ^ In file included from ipmitool.c:53:0: ../include/ipmitool/ipmi_event.h:55:2: warning: type of bit-field 'event_type' is a GCC extension [-Wpedantic] uint8_t event_type : 7; ^ ../include/ipmitool/ipmi_sdr.h:657:2: warning: type of bit-field 'addr_span' is a GCC extension [-Wpedantic] uint8_t addr_span:3; ^ ../include/ipmitool/ipmi_event.h:56:2: warning: type of bit-field 'event_dir' is a GCC extension [-Wpedantic] uint8_t event_dir : 1; ^ ../include/ipmitool/ipmi_sdr.h:683:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_sdr.h:684:3: warning: type of bit-field 'isaccessable' is a GCC extension [-Wpedantic] uint8_t isaccessable:1; ^ ../include/ipmitool/ipmi_sdr.h:685:3: warning: type of bit-field 'islinked' is a GCC extension [-Wpedantic] uint8_t islinked:1; ^ ../include/ipmitool/ipmi_sdr.h:686:3: warning: type of bit-field 'isrange' is a GCC extension [-Wpedantic] uint8_t isrange:1; ^ ../include/ipmitool/ipmi_sdr.h:730:2: warning: type of bit-field 'get_sdr_repository_allo_info_supported' is a GCC extension [-Wpedantic] uint8_t get_sdr_repository_allo_info_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:731:2: warning: type of bit-field 'reserve_sdr_repository_supported' is a GCC extension [-Wpedantic] uint8_t reserve_sdr_repository_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:732:2: warning: type of bit-field 'partial_add_sdr_supported' is a GCC extension [-Wpedantic] uint8_t partial_add_sdr_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:733:2: warning: type of bit-field 'delete_sdr_supported' is a GCC extension [-Wpedantic] uint8_t delete_sdr_supported:1; ^ ../include/ipmitool/ipmi_sdr.h:734:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:1; ^ ../include/ipmitool/ipmi_sdr.h:735:2: warning: type of bit-field 'modal_update_support' is a GCC extension [-Wpedantic] uint8_t modal_update_support:2; ^ ../include/ipmitool/ipmi_sdr.h:736:2: warning: type of bit-field 'overflow_flag' is a GCC extension [-Wpedantic] uint8_t overflow_flag:1; ^ In file included from ipmievd.c:81:0: ../include/ipmitool/ipmi_sel.h:83:2: warning: type of bit-field 'event_type' is a GCC extension [-Wpedantic] uint8_t event_type : 7; ^ ../include/ipmitool/ipmi_sel.h:84:2: warning: type of bit-field 'event_dir' is a GCC extension [-Wpedantic] uint8_t event_dir : 1; ^ In file included from ipmitool.c:59:0: ../include/ipmitool/ipmi_fwum.h:140:3: warning: type of bit-field 'mode' is a GCC extension [-Wpedantic] unsigned char mode:1; ^ ../include/ipmitool/ipmi_fwum.h:141:3: warning: type of bit-field 'seqAdd' is a GCC extension [-Wpedantic] unsigned char seqAdd:1; ^ ../include/ipmitool/ipmi_fwum.h:142:3: warning: type of bit-field 'res' is a GCC extension [-Wpedantic] unsigned char res : 6; ^ In file included from ipmitool.c:60:0: ../include/ipmitool/ipmi_picmg.h:186:4: warning: type of bit-field 'lane0' is a GCC extension [-Wpedantic] unsigned short lane0 : 1; ^ ../include/ipmitool/ipmi_picmg.h:187:4: warning: type of bit-field 'lane1' is a GCC extension [-Wpedantic] unsigned short lane1 : 1; ^ ../include/ipmitool/ipmi_picmg.h:188:4: warning: type of bit-field 'lane2' is a GCC extension [-Wpedantic] unsigned short lane2 : 1; ^ ../include/ipmitool/ipmi_picmg.h:189:4: warning: type of bit-field 'lane3' is a GCC extension [-Wpedantic] unsigned short lane3 : 1; ^ ../include/ipmitool/ipmi_picmg.h:190:4: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] unsigned short type : 8; ^ ../include/ipmitool/ipmi_picmg.h:191:4: warning: type of bit-field 'type_ext' is a GCC extension [-Wpedantic] unsigned short type_ext : 4; ^ ../include/ipmitool/ipmi_picmg.h:192:4: warning: type of bit-field 'group_id' is a GCC extension [-Wpedantic] unsigned char group_id : 8; ^ In file included from ipmitool.c:63:0: ../include/ipmitool/ipmi_hpmfwupg.h:130:4: warning: type of bit-field 'component0' is a GCC extension [-Wpedantic] unsigned char component0 : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:131:4: warning: type of bit-field 'component1' is a GCC extension [-Wpedantic] unsigned char component1 : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:132:4: warning: type of bit-field 'component2' is a GCC extension [-Wpedantic] unsigned char component2 : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:133:4: warning: type of bit-field 'component3' is a GCC extension [-Wpedantic] unsigned char component3 : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:134:4: warning: type of bit-field 'component4' is a GCC extension [-Wpedantic] unsigned char component4 : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:135:4: warning: type of bit-field 'component5' is a GCC extension [-Wpedantic] unsigned char component5 : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:136:4: warning: type of bit-field 'component6' is a GCC extension [-Wpedantic] unsigned char component6 : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:137:4: warning: type of bit-field 'component7' is a GCC extension [-Wpedantic] unsigned char component7 : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:184:4: warning: type of bit-field 'ipmcSelftestCap' is a GCC extension [-Wpedantic] unsigned char ipmcSelftestCap : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:185:4: warning: type of bit-field 'autRollback' is a GCC extension [-Wpedantic] unsigned char autRollback : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:186:4: warning: type of bit-field 'manualRollback' is a GCC extension [-Wpedantic] unsigned char manualRollback : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:187:4: warning: type of bit-field 'servAffectDuringUpg' is a GCC extension [-Wpedantic] unsigned char servAffectDuringUpg : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:188:4: warning: type of bit-field 'deferActivation' is a GCC extension [-Wpedantic] unsigned char deferActivation : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:189:4: warning: type of bit-field 'ipmcDegradedDurinUpg' is a GCC extension [-Wpedantic] unsigned char ipmcDegradedDurinUpg: 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:190:4: warning: type of bit-field 'autRollbackOverride' is a GCC extension [-Wpedantic] unsigned char autRollbackOverride : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:191:4: warning: type of bit-field 'fwUpgUndesirable' is a GCC extension [-Wpedantic] unsigned char fwUpgUndesirable : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:255:4: warning: type of bit-field 'rollbackBackup' is a GCC extension [-Wpedantic] unsigned char rollbackBackup : 2; ^ ../include/ipmitool/ipmi_hpmfwupg.h:256:4: warning: type of bit-field 'preparationSupport' is a GCC extension [-Wpedantic] unsigned char preparationSupport : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:257:4: warning: type of bit-field 'comparisonSupport' is a GCC extension [-Wpedantic] unsigned char comparisonSupport : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:258:4: warning: type of bit-field 'deferredActivation' is a GCC extension [-Wpedantic] unsigned char deferredActivation : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:259:4: warning: type of bit-field 'payloadColdReset' is a GCC extension [-Wpedantic] unsigned char payloadColdReset : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:260:4: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] unsigned char reserved : 2; ^ ../include/ipmitool/ipmi_hpmfwupg.h:700:4: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] unsigned char reserved : 4; ^ ../include/ipmitool/ipmi_hpmfwupg.h:701:4: warning: type of bit-field 'servAffected' is a GCC extension [-Wpedantic] unsigned char servAffected : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:702:4: warning: type of bit-field 'manRollback' is a GCC extension [-Wpedantic] unsigned char manRollback : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:703:4: warning: type of bit-field 'autRollback' is a GCC extension [-Wpedantic] unsigned char autRollback : 1; ^ ../include/ipmitool/ipmi_hpmfwupg.h:704:4: warning: type of bit-field 'imageSelfTest' is a GCC extension [-Wpedantic] unsigned char imageSelfTest : 1; ^ In file included from ipmitool.c:64:0: ../include/ipmitool/ipmi_delloem.h:110:17: warning: type of bit-field 'encoding' is a GCC extension [-Wpedantic] uint8_t encoding : 4; /* 0 is printable ASCII 7-bit */ ^ ../include/ipmitool/ipmi_delloem.h:128:17: warning: type of bit-field 'encoding' is a GCC extension [-Wpedantic] uint8_t encoding : 4; /* 0 is printable ASCII 7-bit */ ^ ipmievd.c: In function 'ipmievd_cleanup': ipmievd.c:686:21: warning: unused parameter 'signal' [-Wunused-parameter] ipmievd_cleanup(int signal) ^ In file included from ipmitool.c:63:0: ../include/ipmitool/ipmi_hpmfwupg.h:85:12: warning: 'errorCount' defined but not used [-Wunused-variable] static int errorCount; ^ /bin/sh ../libtool --silent --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ipmitool ipmitool.o ipmishell.o ../lib/libipmitool.la plugins/libintf.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto /bin/sh ../libtool --silent --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ipmievd ipmievd.o ../lib/libipmitool.la plugins/libintf.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto make[3]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/src' make[2]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/src' Making all in include make[2]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/include' Making all in ipmitool make[3]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/include/ipmitool' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/include/ipmitool' make[3]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/include' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/include' make[2]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/include' Making all in doc make[2]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/doc' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/doc' Making all in contrib make[2]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/contrib' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/contrib' Making all in control make[2]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/control' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/control' make[2]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18' make[2]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18' make[1]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.FCSwvf + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ipmitool-1.8.18-10.el7_9.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ipmitool-1.8.18-10.el7_9.arm ++ dirname /builddir/build/BUILDROOT/ipmitool-1.8.18-10.el7_9.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ipmitool-1.8.18-10.el7_9.arm + cd ipmitool-1.8.18 + make DESTDIR=/builddir/build/BUILDROOT/ipmitool-1.8.18-10.el7_9.arm install Making install in lib make[1]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/lib' make[2]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/lib' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/lib' make[1]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/lib' Making install in src make[1]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/src' Making install in plugins make[2]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins' Making install in lan make[3]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins/lan' make[4]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins/lan' make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. make[4]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins/lan' make[3]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins/lan' Making install in lanplus make[3]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins/lanplus' make[4]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins/lanplus' make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. make[4]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins/lanplus' make[3]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins/lanplus' Making install in open make[3]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins/open' make[4]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins/open' make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. make[4]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins/open' make[3]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins/open' Making install in imb make[3]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins/imb' make[4]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins/imb' make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. make[4]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins/imb' make[3]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins/imb' Making install in serial make[3]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins/serial' make[4]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins/serial' make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. make[4]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins/serial' make[3]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins/serial' Making install in usb make[3]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins/usb' make[4]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins/usb' make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. make[4]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins/usb' make[3]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins/usb' make[3]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins' make[4]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins' make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. make[4]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins' make[3]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins' make[2]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/src/plugins' make[2]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/src' make[3]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ipmitool-1.8.18-10.el7_9.arm/usr/bin' /bin/sh ../libtool --silent --mode=install /usr/bin/install -c ipmitool '/builddir/build/BUILDROOT/ipmitool-1.8.18-10.el7_9.arm/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ipmitool-1.8.18-10.el7_9.arm/usr/sbin' /bin/sh ../libtool --silent --mode=install /usr/bin/install -c ipmievd '/builddir/build/BUILDROOT/ipmitool-1.8.18-10.el7_9.arm/usr/sbin' make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/src' make[2]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/src' make[1]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/src' Making install in include make[1]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/include' Making install in ipmitool make[2]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/include/ipmitool' make[3]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/include/ipmitool' make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/include/ipmitool' make[2]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/include/ipmitool' make[2]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/include' make[3]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/include' make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/include' make[2]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/include' make[1]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/include' Making install in doc make[1]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/doc' make[2]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/doc' make[2]: Nothing to be done for `install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ipmitool-1.8.18-10.el7_9.arm/usr/share/man/man1' /usr/bin/install -c -m 644 ipmitool.1 '/builddir/build/BUILDROOT/ipmitool-1.8.18-10.el7_9.arm/usr/share/man/man1' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ipmitool-1.8.18-10.el7_9.arm/usr/share/man/man8' /usr/bin/install -c -m 644 ipmievd.8 '/builddir/build/BUILDROOT/ipmitool-1.8.18-10.el7_9.arm/usr/share/man/man8' make[2]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/doc' make[1]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/doc' Making install in contrib make[1]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/contrib' make[2]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/contrib' make[2]: Nothing to be done for `install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ipmitool-1.8.18-10.el7_9.arm/usr/share/ipmitool' /usr/bin/install -c -m 644 oem_ibm_sel_map '/builddir/build/BUILDROOT/ipmitool-1.8.18-10.el7_9.arm/usr/share/ipmitool' make[2]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/contrib' make[1]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/contrib' Making install in control make[1]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/control' make[2]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18/control' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/control' make[1]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18/control' make[1]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18' make[2]: Entering directory `/builddir/build/BUILD/ipmitool-1.8.18' make[2]: Nothing to be done for `install-exec-am'. mkdir -p /builddir/build/BUILDROOT/ipmitool-1.8.18-10.el7_9.arm/usr/share/doc/ipmitool /usr/bin/install -c -m 644 ./README ./COPYING ./AUTHORS ./ChangeLog /builddir/build/BUILDROOT/ipmitool-1.8.18-10.el7_9.arm/usr/share/doc/ipmitool make[2]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18' make[1]: Leaving directory `/builddir/build/BUILD/ipmitool-1.8.18' + install -Dpm 644 /builddir/build/SOURCES/ipmievd.service /builddir/build/BUILDROOT/ipmitool-1.8.18-10.el7_9.arm/usr/lib/systemd/system/ipmievd.service + install -Dpm 644 /builddir/build/SOURCES/openipmi-ipmievd.sysconf /builddir/build/BUILDROOT/ipmitool-1.8.18-10.el7_9.arm/etc/sysconfig/ipmievd + install -Dm 644 /builddir/build/SOURCES/exchange-bmc-os-info.service /builddir/build/BUILDROOT/ipmitool-1.8.18-10.el7_9.arm/usr/lib/systemd/system/exchange-bmc-os-info.service + install -Dm 644 /builddir/build/SOURCES/exchange-bmc-os-info.sysconf /builddir/build/BUILDROOT/ipmitool-1.8.18-10.el7_9.arm/etc/sysconfig/exchange-bmc-os-info + install -Dm 644 /builddir/build/SOURCES/set-bmc-url.sh /builddir/build/BUILDROOT/ipmitool-1.8.18-10.el7_9.arm/etc/profile.d/set-bmc-url.sh + install -Dm 755 /builddir/build/SOURCES/exchange-bmc-os-info /builddir/build/BUILDROOT/ipmitool-1.8.18-10.el7_9.arm/usr/libexec/exchange-bmc-os-info + install -Dm 644 contrib/bmc-snmp-proxy.sysconf /builddir/build/BUILDROOT/ipmitool-1.8.18-10.el7_9.arm/etc/sysconfig/bmc-snmp-proxy + install -Dm 644 contrib/bmc-snmp-proxy.service /builddir/build/BUILDROOT/ipmitool-1.8.18-10.el7_9.arm/usr/lib/systemd/system/bmc-snmp-proxy.service + install -Dm 755 contrib/bmc-snmp-proxy /builddir/build/BUILDROOT/ipmitool-1.8.18-10.el7_9.arm/usr/libexec/bmc-snmp-proxy + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/ipmitool-1.8.18 extracting debug info from /builddir/build/BUILDROOT/ipmitool-1.8.18-10.el7_9.arm/usr/sbin/ipmievd extracting debug info from /builddir/build/BUILDROOT/ipmitool-1.8.18-10.el7_9.arm/usr/bin/ipmitool /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 4721 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: ipmitool-1.8.18-10.el7_9.armv7hl Provides: OpenIPMI-tools = 2.0.14-3 config(ipmitool) = 1.8.18-10.el7_9 ipmitool = 1.8.18-10.el7_9 ipmitool(armv7hl-32) = 1.8.18-10.el7_9 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd-sysv systemd-units Requires(preun): /bin/sh systemd-units Requires(postun): /bin/sh systemd-units Requires: ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libcrypto.so.10 libcrypto.so.10(libcrypto.so.10) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libm.so.6 libm.so.6(GLIBC_2.4) libncurses.so.5 libreadline.so.6 libtinfo.so.5 rtld(GNU_HASH) Obsoletes: OpenIPMI-tools < 2.0.14-3 Processing files: bmc-snmp-proxy-1.8.18-10.el7_9.noarch Provides: bmc-snmp-proxy = 1.8.18-10.el7_9 config(bmc-snmp-proxy) = 1.8.18-10.el7_9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh Processing files: exchange-bmc-os-info-1.8.18-10.el7_9.noarch Provides: config(exchange-bmc-os-info) = 1.8.18-10.el7_9 exchange-bmc-os-info = 1.8.18-10.el7_9 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd-sysv systemd-units Requires(preun): /bin/sh systemd-units Requires(postun): /bin/sh systemd-units Requires: /bin/sh Processing files: ipmitool-debuginfo-1.8.18-10.el7_9.armv7hl Provides: ipmitool-debuginfo = 1.8.18-10.el7_9 ipmitool-debuginfo(armv7hl-32) = 1.8.18-10.el7_9 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ipmitool-1.8.18-10.el7_9.arm Wrote: /builddir/build/RPMS/ipmitool-1.8.18-10.el7_9.armv7hl.rpm Wrote: /builddir/build/RPMS/bmc-snmp-proxy-1.8.18-10.el7_9.noarch.rpm Wrote: /builddir/build/RPMS/exchange-bmc-os-info-1.8.18-10.el7_9.noarch.rpm Wrote: /builddir/build/RPMS/ipmitool-debuginfo-1.8.18-10.el7_9.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.H4ytpS + umask 022 + cd /builddir/build/BUILD + cd ipmitool-1.8.18 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ipmitool-1.8.18-10.el7_9.arm + exit 0 Child return code was: 0