>>> ipmitool 1.8.18 Extracting bzcat /tmp/instance-0/dl/ipmitool/ipmitool-1.8.18.tar.bz2 | /tmp/instance-0/output-1/host/bin/tar --strip-components=1 -C /tmp/instance-0/output-1/build/ipmitool-1.8.18 -xf - >>> ipmitool 1.8.18 Patching Applying 0001-Fix-missing-stddef.h-include.patch using patch: patching file src/plugins/imb/imbapi.h Applying 0002-ID-461-OpenSSL-1.1-compatibility-error-storage-size-.patch using patch: patching file src/plugins/lanplus/lanplus_crypt_impl.c Applying 0003-ID-461-Make-compiler-happier-about-changes-related-t.patch using patch: patching file src/plugins/lanplus/lanplus_crypt_impl.c Applying 0004-ID-480-ipmitool-coredumps-in-EVP_CIPHER_CTX_init.patch using patch: patching file src/plugins/lanplus/lanplus_crypt_impl.c Applying 0005-ID-480-Call-EVP_CIPHER_CTX_free-instead-of-EVP_CIPHE.patch using patch: patching file src/plugins/lanplus/lanplus_crypt_impl.c Applying 0006-lanplus-Fix-compile-with-deprecated-APIs-disabled.patch using patch: patching file src/plugins/lanplus/lanplus_crypt_impl.c Applying 0008-fru-Fix-buffer-overflow-vulnerabilities.patch using patch: patching file lib/ipmi_fru.c Applying 0009-fru-Fix-buffer-overflow-in-ipmi_spd_print_fru.patch using patch: patching file lib/dimm_spd.c Applying 0010-session-Fix-buffer-overflow-in-ipmi_get_session_info.patch using patch: patching file lib/ipmi_session.c Applying 0011-channel-Fix-buffer-overflow.patch using patch: patching file lib/ipmi_channel.c Applying 0012-lanp-Fix-buffer-overflows-in-get_lan_param_select.patch using patch: patching file lib/ipmi_lanp.c Applying 0013-fru-sdr-Fix-id_string-buffer-overflows.patch using patch: patching file lib/ipmi_fru.c patching file lib/ipmi_sdr.c >>> ipmitool 1.8.18 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /tmp/instance-0/output-1/build/ipmitool-1.8.18 -name $file); do cp support/gnuconfig/$file $i; done; done >>> ipmitool 1.8.18 Patching libtool patching file /tmp/instance-0/output-1/build/ipmitool-1.8.18/ltmain.sh Hunk #7 succeeded at 6699 (offset 3 lines). Hunk #8 succeeded at 9280 (offset 6 lines). >>> ipmitool 1.8.18 Configuring (cd /tmp/instance-0/output-1/build/ipmitool-1.8.18/ && rm -rf config.cache && PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" AR="/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-ar" AS="/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-as" LD="/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-ld" NM="/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-nm" CC="/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc" GCC="/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc" CPP="/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-cpp" CXX="/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-g++" FC="/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gfortran" F77="/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gfortran" RANLIB="/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-ranlib" READELF="/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-readelf" STRIP="/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-strip" OBJCOPY="/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-objcopy" OBJDUMP="/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/tmp/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/tmp/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/tmp/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/tmp/instance-0/output-1/host/lib -Wl,-rpath,/tmp/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-as" DEFAULT_LINKER="/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2" LDFLAGS="" FCFLAGS=" -Os " FFLAGS=" -Os " PKG_CONFIG="/tmp/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot" INTLTOOL_PERL=/usr/bin/perl ac_cv_lbl_unaligned_fail=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no CONFIG_SITE=/dev/null ./configure --target=arm-buildroot-linux-gnueabi --host=arm-buildroot-linux-gnueabi --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared --disable-intf-lanplus --enable-intf-usb --disable-ipmishell ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls checking build system type... x86_64-pc-linux-gnu checking host system type... arm-buildroot-linux-gnueabi checking target system type... arm-buildroot-linux-gnueabi checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for arm-buildroot-linux-gnueabi-strip... /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-strip checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for arm-buildroot-linux-gnueabi-gcc... /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-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... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc accepts -g... yes checking for /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc option to accept ISO C89... none needed checking whether /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc... none checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for rpmbuild... rpm checking for sed... sed checking how to run the C preprocessor... /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-cpp checking for grep that handles long lines and -e... /bin/grep checking for egrep... /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... (cached) 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... no checking for pow... no checking for pow in -lm... 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... /bin/grep -F checking for ld used by /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc... /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-ld checking if the linker (/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-nm checking the name lister (/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-nm) 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 x86_64-pc-linux-gnu file names to arm-buildroot-linux-gnueabi format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-ld option to reload object files... -r checking for arm-buildroot-linux-gnueabi-objdump... /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-objdump checking how to recognize dependent libraries... pass_all checking for arm-buildroot-linux-gnueabi-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for arm-buildroot-linux-gnueabi-ar... /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-ar checking for archiver @FILE support... @ checking for arm-buildroot-linux-gnueabi-strip... (cached) /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-strip checking for arm-buildroot-linux-gnueabi-ranlib... /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-ranlib checking command to parse /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-nm output from /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc object... ok checking for sysroot... no checking for arm-buildroot-linux-gnueabi-mt... no checking for mt... mt configure: WARNING: using cross tools not prefixed with host triplet checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc supports -fno-rtti -fno-exceptions... no checking for /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc option to produce PIC... -fPIC -DPIC checking if /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc PIC flag -fPIC -DPIC works... yes checking if /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc static flag -static works... yes checking if /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc supports -c -o file.o... yes checking if /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc supports -c -o file.o... (cached) yes checking whether the /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc linker (/tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-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... no 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... no 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... -lncurses checking for library containing initscr... none required checking for library containing readline... -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 configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls ipmitool 1.8.18 Interfaces lan : yes lanplus : no open : yes free : no imb : yes bmc : no usb : yes lipmi : no serial : yes dummy : no Extra tools ipmievd : yes ipmishell : no >>> ipmitool 1.8.18 Building PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j32 -C /tmp/instance-0/output-1/build/ipmitool-1.8.18/ make[1]: Entering directory '/tmp/instance-0/output-1/build/ipmitool-1.8.18' /usr/bin/make all-recursive make[2]: Entering directory '/tmp/instance-0/output-1/build/ipmitool-1.8.18' Making all in lib make[3]: Entering directory '/tmp/instance-0/output-1/build/ipmitool-1.8.18/lib' /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o helper.lo helper.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sdr.lo ipmi_sdr.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sel.lo ipmi_sel.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sol.lo ipmi_sol.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_pef.lo ipmi_pef.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_lanp.lo ipmi_lanp.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_fru.lo ipmi_fru.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_chassis.lo ipmi_chassis.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_mc.lo ipmi_mc.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o log.lo log.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o dimm_spd.lo dimm_spd.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sensor.lo ipmi_sensor.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_channel.lo ipmi_channel.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_event.lo ipmi_event.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_session.lo ipmi_session.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_strings.lo ipmi_strings.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_user.lo ipmi_user.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_raw.lo ipmi_raw.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_oem.lo ipmi_oem.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_isol.lo ipmi_isol.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sunoem.lo ipmi_sunoem.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_fwum.lo ipmi_fwum.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_picmg.lo ipmi_picmg.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_main.lo ipmi_main.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_tsol.lo ipmi_tsol.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_firewall.lo ipmi_firewall.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_kontronoem.lo ipmi_kontronoem.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_hpmfwupg.lo ipmi_hpmfwupg.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sdradd.lo ipmi_sdradd.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_ekanalyzer.lo ipmi_ekanalyzer.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_gendev.lo ipmi_gendev.c /bin/bash ../libtool --silent --tag=CC --mode=compile /tmp/instance-0/output-1/host/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_ime.lo ipmi_ime.c In file included from dimm_spd.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 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_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_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 ipmi_chassis.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_mc.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 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; ^ 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_picmg.h:188:4: warning: type of bit-field 'lane2' is a GCC extension [-Wpedantic] unsigned short lane2 : 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_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 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; ^ ipmi_mc.c:115:2: warning: type of bit-field 'receive_msg_intr' is a GCC extension [-Wpedantic] uint8_t receive_msg_intr : 1; ^ ipmi_mc.c:116:2: warning: type of bit-field 'event_msgbuf_intr' is a GCC extension [-Wpedantic] uint8_t event_msgbuf_intr : 1; ^ ipmi_mc.c:117:2: warning: type of bit-field 'event_msgbuf' is a GCC extension [-Wpedantic] uint8_t event_msgbuf : 1; ^ ipmi_mc.c:118:2: warning: type of bit-field 'system_event_log' is a GCC extension [-Wpedantic] uint8_t system_event_log : 1; ^ ipmi_mc.c:119:2: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved : 1; ^ ipmi_mc.c:120:2: warning: type of bit-field 'oem0' is a GCC extension [-Wpedantic] uint8_t oem0 : 1; ^ ipmi_mc.c:121:2: warning: type of bit-field 'oem1' is a GCC extension [-Wpedantic] uint8_t oem1 : 1; ^ ipmi_mc.c:122:2: warning: type of bit-field 'oem2' is a GCC extension [-Wpedantic] uint8_t oem2 : 1; ^ 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 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; ^ 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; ^ 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_sdr.h:265:4: warning: type of bit-field 'reserved_2' is a GCC extension [-Wpedantic] uint16_t reserved_2:1; ^ ../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ipmi_mc.c: In function 'ipmi_mc_getsysinfo': ../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; ^ ipmi_mc.c:945:9: warning: missing braces around initializer [-Wmissing-braces] struct ipmi_rq req = {0}; ^ ipmi_mc.c:945:9: warning: (near initialization for 'req.msg') [-Wmissing-braces] ../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; ^ ipmi_mc.c: In function 'ipmi_mc_setsysinfo': In file included from ../include/ipmitool/ipmi.h:41:0, from helper.c:66: helper.c: In function 'str2val': ../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/helper.h:128: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) ^ ipmi_mc.c:999:9: warning: missing braces around initializer [-Wmissing-braces] struct ipmi_rq req = {0}; ^ ipmi_mc.c:999:9: warning: (near initialization for 'req.msg') [-Wmissing-braces] ../include/ipmitool/ipmi_sdr.h:303:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ 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; ^ ../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; ^ ipmi_mc.c: In function 'ipmi_sysinfo_main': ../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; ^ ipmi_mc.c:1063:5: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(paramdata + 4, str + pos, IPMI_SYSINFO_SET0_SIZE); ^ In file included from /tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/features.h:364:0, from /tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/stdlib.h:24, from ipmi_mc.c:33: /tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/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, ^ ../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 */ ^ ipmi_mc.c:1067:5: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(paramdata + 2, str + pos, IPMI_SYSINFO_SETN_SIZE); ^ In file included from /tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/features.h:364:0, from /tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/stdlib.h:24, from ipmi_mc.c:33: /tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/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, ^ ../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; ^ ipmi_raw.c: In function 'ipmi_raw_main': ../include/ipmitool/ipmi_sdr.h:393:3: warning: type of bit-field 'rate' is a GCC extension [-Wpedantic] uint8_t rate:3; ^ ipmi_raw.c:334:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] else if (argc > sizeof(data)) ^ ../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 */ ^ 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_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.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../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; ^ 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_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; ^ 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; ^ ipmi_isol.c: In function 'ipmi_isol_red_pill': ../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../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:581:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ 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); ^ ../include/ipmitool/ipmi_sdr.h:582:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:4; ^ ipmi_isol.c:457:1: note: expected 'uint8_t *' but argument is of type 'char *' processiSolUserInput(struct ipmi_intf * intf, ^ ../include/ipmitool/ipmi_sdr.h:589:2: warning: type of bit-field 'global_init' is a GCC extension [-Wpedantic] uint8_t global_init:4; ^ 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; ^ In file included from ../include/ipmitool/ipmi_sdr.h:44:0, from ../include/ipmitool/ipmi_fru.h:38, from dimm_spd.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.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_entity.h:46:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical : 1; /* physical/logical */ ^ ../include/ipmitool/ipmi_sdr.h:590:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:1; ^ 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; ^ ../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; ^ In file included from ../include/ipmitool/ipmi_fru.h:38:0, from dimm_spd.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:613:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../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:614:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ 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_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.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../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:615:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:2; ^ ../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; ^ 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_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.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../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:616:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical: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:622:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:4; ^ ../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; ^ ipmi_sol.c: In function 'ipmi_sol_set_param_isvalid_uint8_t': ../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:623:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../include/ipmitool/ipmi_sdr.h:230:4: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:1; ^ ipmi_sol.c:659:10: warning: unused parameter 'base' [-Wunused-parameter] int base, ^ ../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:648:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../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; ^ 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.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../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:649:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../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:650:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:3; ^ ../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; ^ In file included from ipmi_pef.c:40:0: ../include/ipmitool/ipmi_channel.h:94: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:259:4: warning: type of bit-field 'deassert_ucr_high' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_high:1; ^ ../include/ipmitool/ipmi_channel.h:95:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1 : 1; ^ ../include/ipmitool/ipmi_channel.h:96: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:260:4: warning: type of bit-field 'deassert_unr_low' is a GCC extension [-Wpedantic] uint16_t deassert_unr_low:1; ^ ../include/ipmitool/ipmi_channel.h:107: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_sdr.h:656:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:5; ^ ../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_channel.h:108: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:109: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_sdr.h:262:4: warning: type of bit-field 'status_unc' is a GCC extension [-Wpedantic] uint16_t status_unc:1; ^ ../include/ipmitool/ipmi_channel.h:110: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_sdr.h:263:4: warning: type of bit-field 'status_ucr' is a GCC extension [-Wpedantic] uint16_t status_ucr:1; ^ ../include/ipmitool/ipmi_channel.h:111: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:657:2: warning: type of bit-field 'addr_span' is a GCC extension [-Wpedantic] uint8_t addr_span:3; ^ ../include/ipmitool/ipmi_channel.h:112: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_sdr.h:264:4: warning: type of bit-field 'status_unr' is a GCC extension [-Wpedantic] uint16_t status_unr:1; ^ ../include/ipmitool/ipmi_channel.h:113:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2 : 2; ^ ../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_channel.h:120: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:121: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:280:6: warning: type of bit-field 'readable' is a GCC extension [-Wpedantic] uint16_t readable:8; ^ ../include/ipmitool/ipmi_channel.h:122:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3 : 6; ^ ../include/ipmitool/ipmi_sdr.h:281:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ 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_sdr.h:683:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ helper.c: In function 'ipmi_start_daemon': ../include/ipmitool/ipmi_entity.h:46:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical : 1; /* physical/logical */ ^ ../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:684:3: warning: type of bit-field 'isaccessable' is a GCC extension [-Wpedantic] uint8_t isaccessable:1; ^ helper.c:831:7: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^ ../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; ^ 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:287:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../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:302:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ 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; ^ helper.c:842:5: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(fd); ^ 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 */ ^ ../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:216:4: warning: type of bit-field 'assert_lnc_high' is a GCC extension [-Wpedantic] uint16_t assert_lnc_high:1; ^ 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_sdr.h:686:3: warning: type of bit-field 'isrange' is a GCC extension [-Wpedantic] uint8_t isrange:1; ^ ../include/ipmitool/ipmi_entity.h:46:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical : 1; /* physical/logical */ ^ ../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:304:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr: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:305:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc: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:306:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ipmi_user.c: In function '_ipmi_get_user_access': ../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; ^ 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] ../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: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:308:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../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:309:6: warning: type of bit-field 'settable' is a GCC extension [-Wpedantic] uint16_t settable:8; ^ ../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; ^ 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: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 ../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:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ../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: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: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: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; ^ 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_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: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: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:218:4: warning: type of bit-field 'assert_lcr_high' is a GCC extension [-Wpedantic] uint16_t assert_lcr_high:1; ^ ../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_name': ../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: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: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:219:4: warning: type of bit-field 'assert_lnr_low' is a GCC extension [-Wpedantic] uint16_t assert_lnr_low:1; ^ 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] ../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: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:220:4: warning: type of bit-field 'assert_lnr_high' is a GCC extension [-Wpedantic] uint16_t assert_lnr_high:1; ^ In file included from ipmi_channel.c:50:0: ../include/ipmitool/ipmi_channel.h:94: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:332:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../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:222:4: warning: type of bit-field 'assert_unc_high' is a GCC extension [-Wpedantic] uint16_t assert_unc_high:1; ^ ../include/ipmitool/ipmi_channel.h:95:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1 : 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:333:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../include/ipmitool/ipmi_channel.h:96: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: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:223:4: warning: type of bit-field 'assert_ucr_low' is a GCC extension [-Wpedantic] uint16_t assert_ucr_low:1; ^ ../include/ipmitool/ipmi_channel.h:107: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_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: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:224:4: warning: type of bit-field 'assert_ucr_high' is a GCC extension [-Wpedantic] uint16_t assert_ucr_high:1; ^ ../include/ipmitool/ipmi_channel.h:108: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_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:352:4: warning: type of bit-field 'sensor_scan' is a GCC extension [-Wpedantic] uint8_t sensor_scan: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_channel.h:109: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_sdr.h:225:4: warning: type of bit-field 'assert_unr_low' is a GCC extension [-Wpedantic] uint16_t assert_unr_low:1; ^ 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_sdr.h:223:4: warning: type of bit-field 'assert_ucr_low' is a GCC extension [-Wpedantic] uint16_t assert_ucr_low:1; ^ ipmi_user.c: In function '_ipmi_set_user_access': ../include/ipmitool/ipmi_channel.h:110: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_sdr.h:353:4: warning: type of bit-field 'event_gen' is a GCC extension [-Wpedantic] uint8_t event_gen:1; ^ ../include/ipmitool/ipmi_entity.h:46:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical : 1; /* physical/logical */ ^ ../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: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:224:4: warning: type of bit-field 'assert_ucr_high' is a GCC extension [-Wpedantic] uint16_t assert_ucr_high:1; ^ ../include/ipmitool/ipmi_channel.h:111:2: warning: type of bit-field 'per_message_auth' is a GCC extension [-Wpedantic] uint8_t per_message_auth : 1; /* per-message authentication status */ ^ ipmi_user.c:152:9: warning: missing braces around initializer [-Wmissing-braces] struct ipmi_rq req = {0}; ^ ../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: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:354:4: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] uint8_t type:1; ^ ipmi_user.c:152:9: warning: (near initialization for 'req.msg') [-Wmissing-braces] ../include/ipmitool/ipmi_channel.h:112: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_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: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:228:4: warning: type of bit-field 'status_lcr' is a GCC extension [-Wpedantic] uint16_t status_lcr: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_channel.h:113:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2 : 2; ^ ../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: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:229:4: warning: type of bit-field 'status_lnr' is a GCC extension [-Wpedantic] uint16_t status_lnr:1; ^ ../include/ipmitool/ipmi_channel.h:120: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_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:227:4: warning: type of bit-field 'status_lnc' is a GCC extension [-Wpedantic] uint16_t status_lnc: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_channel.h:121: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:230:4: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved: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:257:4: warning: type of bit-field 'deassert_unc_high' is a GCC extension [-Wpedantic] uint16_t deassert_unc_high:1; ^ ../include/ipmitool/ipmi_channel.h:122:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3 : 6; ^ ../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:357:4: warning: type of bit-field 'events' is a GCC extension [-Wpedantic] uint8_t events: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: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: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:230:4: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved: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: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:251:4: warning: type of bit-field 'deassert_lnc_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnc_high:1; ^ ipmi_user.c: In function '_ipmi_set_user_password': 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: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: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: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:359:4: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:1; ^ 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] ../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:216:4: warning: type of bit-field 'assert_lnc_high' is a GCC extension [-Wpedantic] uint16_t assert_lnc_high:1; ^ In file included from ipmi_lanp.c:55:0: ../include/ipmitool/ipmi_channel.h:94: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:95:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1 : 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: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: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: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:370:4: warning: type of bit-field 'event_msg' is a GCC extension [-Wpedantic] uint8_t event_msg:2; ^ ../include/ipmitool/ipmi_channel.h:96: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: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: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:262:4: warning: type of bit-field 'status_unc' is a GCC extension [-Wpedantic] uint16_t status_unc: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:371:4: warning: type of bit-field 'threshold' is a GCC extension [-Wpedantic] uint8_t threshold:2; ^ ../include/ipmitool/ipmi_channel.h:107: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_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: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: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:263:4: warning: type of bit-field 'status_ucr' is a GCC extension [-Wpedantic] uint16_t status_ucr: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_channel.h:108: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_sdr.h:372:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:2; ^ ../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; ^ 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: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:264:4: warning: type of bit-field 'status_unr' is a GCC extension [-Wpedantic] uint16_t status_unr: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_channel.h:109: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_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:373:4: warning: type of bit-field 'rearm' is a GCC extension [-Wpedantic] uint8_t rearm:1; ^ ../include/ipmitool/ipmi_channel.h:110: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_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_channel.h:111: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: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: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:374:4: warning: type of bit-field 'ignore' is a GCC extension [-Wpedantic] uint8_t ignore:1; ^ ../include/ipmitool/ipmi_channel.h:112: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_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: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_channel.h:113:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2 : 2; ^ ../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: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:391:3: warning: type of bit-field 'pct' is a GCC extension [-Wpedantic] uint8_t pct:1; ^ ../include/ipmitool/ipmi_channel.h:120: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_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:259:4: warning: type of bit-field 'deassert_ucr_high' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_high:1; ^ ipmi_channel.c: In function '_ipmi_get_channel_access': ../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_channel.h:121:2: warning: type of bit-field 'ipmiv20_support' is a GCC extension [-Wpedantic] uint8_t ipmiv20_support : 1; /* channel supports IPMI v2.0 connections */ ^ 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_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:392:3: warning: type of bit-field 'modifier' is a GCC extension [-Wpedantic] uint8_t modifier:2; ^ 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] ../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_entity.h:46:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical : 1; /* physical/logical */ ^ ../include/ipmitool/ipmi_channel.h:122:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3 : 6; ^ ../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: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:393:3: warning: type of bit-field 'rate' is a GCC extension [-Wpedantic] uint8_t rate:3; ^ ../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:227:4: warning: type of bit-field 'status_lnc' is a GCC extension [-Wpedantic] uint16_t status_lnc: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:228:4: warning: type of bit-field 'status_lcr' is a GCC extension [-Wpedantic] uint16_t status_lcr: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:394:3: warning: type of bit-field 'analog' is a GCC extension [-Wpedantic] uint8_t analog:2; ^ ../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:229:4: warning: type of bit-field 'status_lnr' is a GCC extension [-Wpedantic] uint16_t status_lnr: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:264:4: warning: type of bit-field 'status_unr' is a GCC extension [-Wpedantic] uint16_t status_unr: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:265:4: warning: type of bit-field 'reserved_2' is a GCC extension [-Wpedantic] uint16_t reserved_2: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:422:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../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; ^ ipmi_channel.c: In function '_ipmi_get_channel_info': ../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: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:280:6: warning: type of bit-field 'readable' is a GCC extension [-Wpedantic] uint16_t readable:8; ^ ipmi_channel.c:118:9: warning: missing braces around initializer [-Wmissing-braces] struct ipmi_rq req = {0}; ^ ../include/ipmitool/ipmi_sdr.h:423:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ipmi_channel.c:118:9: warning: (near initialization for 'req.msg') [-Wmissing-braces] ../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: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:281:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ 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:424:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../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: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:282:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr: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:283:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr: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:283:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../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: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: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:284:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc: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:284:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../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: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:285:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr: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:285:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr: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: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:286:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr: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: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: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:287:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../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: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: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:462:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ 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_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:260:4: warning: type of bit-field 'deassert_unr_low' is a GCC extension [-Wpedantic] uint16_t deassert_unr_low:1; ^ ../include/ipmitool/ipmi_entity.h:46:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical : 1; /* physical/logical */ ^ ../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:302:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc: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: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: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: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:303:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr: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: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:262:4: warning: type of bit-field 'status_unc' is a GCC extension [-Wpedantic] uint16_t status_unc:1; ^ ../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:304:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr: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:304:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr: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:280:6: warning: type of bit-field 'readable' is a GCC extension [-Wpedantic] uint16_t readable:8; ^ ../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:305:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc: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:264:4: warning: type of bit-field 'status_unr' is a GCC extension [-Wpedantic] uint16_t status_unr: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:480:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../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:306:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr: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:306:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr: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:282:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr: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:481:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../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:280:6: warning: type of bit-field 'readable' is a GCC extension [-Wpedantic] uint16_t readable:8; ^ ../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:283:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ 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_sdr.h:308:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../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:308:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../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:482:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ 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.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../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:282:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr: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_sdr.h:309:6: warning: type of bit-field 'settable' is a GCC extension [-Wpedantic] uint16_t settable:8; ^ ../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: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:285:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr: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:488:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../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: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:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ../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:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ../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: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: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:489:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst: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: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: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:287:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../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: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: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: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:287:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../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: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: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: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:302:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc: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: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:332:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_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: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: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:333:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../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: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:303:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../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: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: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:304:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr: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: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: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:352:4: warning: type of bit-field 'sensor_scan' is a GCC extension [-Wpedantic] uint8_t sensor_scan:1; ^ ../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:305:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc: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:352:4: warning: type of bit-field 'sensor_scan' is a GCC extension [-Wpedantic] uint8_t sensor_scan: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: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:353:4: warning: type of bit-field 'event_gen' is a GCC extension [-Wpedantic] uint8_t event_gen: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:306:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr: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:306:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../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: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:228:4: warning: type of bit-field 'status_lcr' is a GCC extension [-Wpedantic] uint16_t status_lcr: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:307:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr: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_sdr.h:354:4: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] uint8_t type: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:229:4: warning: type of bit-field 'status_lnr' is a GCC extension [-Wpedantic] uint16_t status_lnr: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_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:355:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis: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:308:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../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:263:4: warning: type of bit-field 'status_ucr' is a GCC extension [-Wpedantic] uint16_t status_ucr: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:356:4: warning: type of bit-field 'thresholds' is a GCC extension [-Wpedantic] uint8_t thresholds: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_sdr.h:356:4: warning: type of bit-field 'thresholds' is a GCC extension [-Wpedantic] uint8_t thresholds: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: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:309:6: warning: type of bit-field 'settable' is a GCC extension [-Wpedantic] uint16_t settable:8; ^ ../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:265:4: warning: type of bit-field 'reserved_2' is a GCC extension [-Wpedantic] uint16_t reserved_2:1; ^ ../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: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:357:4: warning: type of bit-field 'events' is a GCC extension [-Wpedantic] uint8_t events:1; ^ ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ../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: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:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ../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:358:4: warning: type of bit-field 'scanning' is a GCC extension [-Wpedantic] uint8_t scanning:1; ^ ipmi_channel.c: In function 'ipmi_get_channel_cipher_suites': ../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: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:359:4: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:1; ^ ../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:359:4: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved: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:331:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; /* sensor owner lun */ ^ ipmi_channel.c:418:44: error: 'MAX_CIPHER_SUITE_DATA_LEN' undeclared (first use in this function) || rsp->data_len > sizeof(uint8_t) + MAX_CIPHER_SUITE_DATA_LEN) ^ ../include/ipmitool/ipmi_sdr.h:282:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ipmi_channel.c:418:44: note: each undeclared identifier is reported only once for each function it appears in ../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: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:370:4: warning: type of bit-field 'event_msg' is a GCC extension [-Wpedantic] uint8_t event_msg:2; ^ ../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:283:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr: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: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: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:333:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../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:284:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../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:371:4: warning: type of bit-field 'threshold' is a GCC extension [-Wpedantic] uint8_t threshold:2; ^ ../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:332:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved: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:285:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr: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: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:372:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:2; ^ ../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:286:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../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:373:4: warning: type of bit-field 'rearm' is a GCC extension [-Wpedantic] uint8_t rearm: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:353:4: warning: type of bit-field 'event_gen' is a GCC extension [-Wpedantic] uint8_t event_gen:1; ^ ../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:287:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../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: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:354:4: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] uint8_t type: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:352:4: warning: type of bit-field 'sensor_scan' is a GCC extension [-Wpedantic] uint8_t sensor_scan: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:613:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../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:302:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc: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:262:4: warning: type of bit-field 'status_unc' is a GCC extension [-Wpedantic] uint16_t status_unc: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:303:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr: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:391:3: warning: type of bit-field 'pct' is a GCC extension [-Wpedantic] uint8_t pct:1; ^ ../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:263:4: warning: type of bit-field 'status_ucr' is a GCC extension [-Wpedantic] uint16_t status_ucr: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:354:4: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] uint8_t type: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:357:4: warning: type of bit-field 'events' is a GCC extension [-Wpedantic] uint8_t events: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:264:4: warning: type of bit-field 'status_unr' is a GCC extension [-Wpedantic] uint16_t status_unr:1; ^ ../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:305:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc: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:358:4: warning: type of bit-field 'scanning' is a GCC extension [-Wpedantic] uint8_t scanning:1; ^ ../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:265:4: warning: type of bit-field 'reserved_2' is a GCC extension [-Wpedantic] uint16_t reserved_2:1; ^ ../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:306:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../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:359:4: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved: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:280:6: warning: type of bit-field 'readable' is a GCC extension [-Wpedantic] uint16_t readable:8; ^ ../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:307:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../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:357:4: warning: type of bit-field 'events' is a GCC extension [-Wpedantic] uint8_t events:1; ^ ../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:308:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../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:422:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../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:358:4: warning: type of bit-field 'scanning' is a GCC extension [-Wpedantic] uint8_t scanning: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:309:6: warning: type of bit-field 'settable' is a GCC extension [-Wpedantic] uint16_t settable:8; ^ ../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:422:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../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:423:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../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:372:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:2; ^ ../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:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ../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: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:373:4: warning: type of bit-field 'rearm' is a GCC extension [-Wpedantic] uint8_t rearm: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:370:4: warning: type of bit-field 'event_msg' is a GCC extension [-Wpedantic] uint8_t event_msg: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:374:4: warning: type of bit-field 'ignore' is a GCC extension [-Wpedantic] uint8_t ignore: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:430:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../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:371:4: warning: type of bit-field 'threshold' is a GCC extension [-Wpedantic] uint8_t threshold:2; ^ 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_sdr.h:648:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../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: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_entity.h:46:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical : 1; /* physical/logical */ ^ ../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:391:3: warning: type of bit-field 'pct' is a GCC extension [-Wpedantic] uint8_t pct: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:431:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../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:649:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun: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:392:3: warning: type of bit-field 'modifier' is a GCC extension [-Wpedantic] uint8_t modifier: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:303:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../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: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:374:4: warning: type of bit-field 'ignore' is a GCC extension [-Wpedantic] uint8_t ignore: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:650:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:3; ^ ../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:394:3: warning: type of bit-field 'analog' is a GCC extension [-Wpedantic] uint8_t analog:2; ^ ../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:305:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc: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; ^ 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_sdr.h:656:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:5; ^ ../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:306:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../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:354:4: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] uint8_t type:1; ^ ../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.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun: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:307:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ 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:355:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis: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:657:2: warning: type of bit-field 'addr_span' is a GCC extension [-Wpedantic] uint8_t addr_span:3; ^ ../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:423:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../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:308:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../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:356:4: warning: type of bit-field 'thresholds' is a GCC extension [-Wpedantic] uint8_t thresholds:1; ^ ../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:424:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_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: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:480:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../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:481:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../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: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:430:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../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:358:4: warning: type of bit-field 'scanning' is a GCC extension [-Wpedantic] uint8_t scanning:1; ^ ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ../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: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:431:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst: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: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:482:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../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:488:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../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: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: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: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:370:4: warning: type of bit-field 'event_msg' is a GCC extension [-Wpedantic] uint8_t event_msg: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:423:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../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: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:332:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../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:371:4: warning: type of bit-field 'threshold' is a GCC extension [-Wpedantic] uint8_t threshold:2; ^ ../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:424:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../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:333:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../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:686:3: warning: type of bit-field 'isrange' is a GCC extension [-Wpedantic] uint8_t isrange: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: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:430:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../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: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:373:4: warning: type of bit-field 'rearm' is a GCC extension [-Wpedantic] uint8_t rearm:1; ^ ../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:352:4: warning: type of bit-field 'sensor_scan' is a GCC extension [-Wpedantic] uint8_t sensor_scan: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: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:431:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../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:374:4: warning: type of bit-field 'ignore' is a GCC extension [-Wpedantic] uint8_t ignore: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:228:4: warning: type of bit-field 'status_lcr' is a GCC extension [-Wpedantic] uint16_t status_lcr:1; ^ ../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: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:229:4: warning: type of bit-field 'status_lnr' is a GCC extension [-Wpedantic] uint16_t status_lnr: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: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: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:230:4: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:1; ^ ../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:391:3: warning: type of bit-field 'pct' is a GCC extension [-Wpedantic] uint8_t pct:1; ^ ../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:355:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:1; ^ ../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: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: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:482:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../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:392:3: warning: type of bit-field 'modifier' is a GCC extension [-Wpedantic] uint8_t modifier: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:537:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../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: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:488:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../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:357:4: warning: type of bit-field 'events' is a GCC extension [-Wpedantic] uint8_t events: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:464:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../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:358:4: warning: type of bit-field 'scanning' is a GCC extension [-Wpedantic] uint8_t scanning: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:489:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst: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:581:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../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:581:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../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:480:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../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:582:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:4; ^ ../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:422:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../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:582:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:4; ^ ../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: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:481:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../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:371:4: warning: type of bit-field 'threshold' is a GCC extension [-Wpedantic] uint8_t threshold:2; ^ ../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: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:734:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:1; ^ ../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:589:2: warning: type of bit-field 'global_init' is a GCC extension [-Wpedantic] uint8_t global_init:4; ^ ../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:372:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:2; ^ ../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:424:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../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: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: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:373:4: warning: type of bit-field 'rearm' is a GCC extension [-Wpedantic] uint8_t rearm: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:590:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:1; ^ ../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:430:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../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:374:4: warning: type of bit-field 'ignore' is a GCC extension [-Wpedantic] uint8_t ignore:1; ^ ../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: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:262:4: warning: type of bit-field 'status_unc' is a GCC extension [-Wpedantic] uint16_t status_unc:1; ^ ../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: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:431:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst: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:263:4: warning: type of bit-field 'status_ucr' is a GCC extension [-Wpedantic] uint16_t status_ucr: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:264:4: warning: type of bit-field 'status_unr' is a GCC extension [-Wpedantic] uint16_t status_unr:1; ^ ../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:392:3: warning: type of bit-field 'modifier' is a GCC extension [-Wpedantic] uint8_t modifier:2; ^ ../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:613:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../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: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: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:393:3: warning: type of bit-field 'rate' is a GCC extension [-Wpedantic] uint8_t rate:3; ^ ../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:614:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun: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_sdr.h:582:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:4; ^ ../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:281:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../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:394:3: warning: type of bit-field 'analog' is a GCC extension [-Wpedantic] uint8_t analog:2; ^ ../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:615:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2: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:464:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../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:589:2: warning: type of bit-field 'global_init' is a GCC extension [-Wpedantic] uint8_t global_init:4; ^ ../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:422:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../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:616:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical: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:537:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../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:480: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:285:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr: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:622:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:4; ^ ../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:481:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../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:424:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../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:482: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:623:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num: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:581:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../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:431:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../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:488:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../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:303:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../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:489:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../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:648:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../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:589:2: warning: type of bit-field 'global_init' is a GCC extension [-Wpedantic] uint8_t global_init:4; ^ ../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:305:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../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:649:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../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:306:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ../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:590:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3: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:616:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical:1; ^ ../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:307:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../include/ipmitool/ipmi_sdr.h:650:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:3; ^ 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_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: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:308:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../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.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../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:622:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:4; ^ ../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:309:6: warning: type of bit-field 'settable' is a GCC extension [-Wpedantic] uint16_t settable:8; ^ ../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: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:657:2: warning: type of bit-field 'addr_span' is a GCC extension [-Wpedantic] uint8_t addr_span:3; ^ ../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:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ../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:613:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../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:537:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../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:614:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../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: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:683:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../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:488:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../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:615:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:2; ^ ../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:684:3: warning: type of bit-field 'isaccessable' is a GCC extension [-Wpedantic] uint8_t isaccessable:1; ^ ../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:581:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../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:489:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst: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:650:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:3; ^ In file included from dimm_spd.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_sdr.h:685:3: warning: type of bit-field 'islinked' is a GCC extension [-Wpedantic] uint8_t islinked:1; ^ ../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:352:4: warning: type of bit-field 'sensor_scan' is a GCC extension [-Wpedantic] uint8_t sensor_scan:1; ^ ../include/ipmitool/ipmi_sdr.h:685:3: warning: type of bit-field 'islinked' is a GCC extension [-Wpedantic] uint8_t islinked:1; ^ 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_sdr.h:622:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:4; ^ ../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ ../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:353:4: warning: type of bit-field 'event_gen' is a GCC extension [-Wpedantic] uint8_t event_gen: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:686:3: warning: type of bit-field 'isrange' is a GCC extension [-Wpedantic] uint8_t isrange:1; ^ ../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:686:3: warning: type of bit-field 'isrange' is a GCC extension [-Wpedantic] uint8_t isrange:1; ^ 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_sdr.h:354:4: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] uint8_t type:1; ^ ../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.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../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:657:2: warning: type of bit-field 'addr_span' is a GCC extension [-Wpedantic] uint8_t addr_span:3; ^ ../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:590:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3: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:356:4: warning: type of bit-field 'thresholds' is a GCC extension [-Wpedantic] uint8_t thresholds:1; ^ ../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_fru.h:154:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint16_t __reserved1:4; ^ ../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: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:357:4: warning: type of bit-field 'events' is a GCC extension [-Wpedantic] uint8_t events: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:648:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus: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:537:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../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_sdr.h:358:4: warning: type of bit-field 'scanning' is a GCC extension [-Wpedantic] uint8_t scanning: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: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: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:649:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../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:613:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../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: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_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: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:650:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:3; ^ ../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_sdr.h:685:3: warning: type of bit-field 'islinked' is a GCC extension [-Wpedantic] uint8_t islinked:1; ^ ../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:370:4: warning: type of bit-field 'event_msg' is a GCC extension [-Wpedantic] uint8_t event_msg:2; ^ ../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_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_sdr.h:371:4: warning: type of bit-field 'threshold' is a GCC extension [-Wpedantic] uint8_t threshold:2; ^ ../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: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:686:3: warning: type of bit-field 'isrange' is a GCC extension [-Wpedantic] uint8_t isrange:1; ^ ../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:615: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_sdr.h:372:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis: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:734:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:1; ^ ../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:616:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical:1; ^ ../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:589:2: warning: type of bit-field 'global_init' is a GCC extension [-Wpedantic] uint8_t global_init: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_sdr.h:374:4: warning: type of bit-field 'ignore' is a GCC extension [-Wpedantic] uint8_t ignore: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: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: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:590:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3: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_fru.h:210:2: warning: type of bit-field 'standby' is a GCC extension [-Wpedantic] uint8_t standby: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:391:3: warning: type of bit-field 'pct' is a GCC extension [-Wpedantic] uint8_t pct: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_fru.h:231:2: warning: type of bit-field 'output_number' is a GCC extension [-Wpedantic] uint8_t output_number:4; ^ ../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:736:2: warning: type of bit-field 'overflow_flag' is a GCC extension [-Wpedantic] uint8_t overflow_flag:1; ^ ../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:731:2: warning: type of bit-field 'reserve_sdr_repository_supported' is a GCC extension [-Wpedantic] uint8_t reserve_sdr_repository_supported:1; ^ 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_fru.h:232:2: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:4; ^ ../include/ipmitool/ipmi_sdr.h:392:3: warning: type of bit-field 'modifier' is a GCC extension [-Wpedantic] uint8_t modifier: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_session.h:58:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1 : 2; ^ ../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_entity.h:46:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical : 1; /* physical/logical */ ^ ../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: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:393:3: warning: type of bit-field 'rate' is a GCC extension [-Wpedantic] uint8_t rate:3; ^ ../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_sdr.h:613:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../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:73:2: warning: type of bit-field 'user_id' is a GCC extension [-Wpedantic] uint8_t user_id : 6; ^ ../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:685:3: warning: type of bit-field 'islinked' is a GCC extension [-Wpedantic] uint8_t islinked:1; ^ ../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_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_session.h:81:2: warning: type of bit-field 'privilege_level' is a GCC extension [-Wpedantic] uint8_t privilege_level : 4; ^ ../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:649:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../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_sdr.h:686:3: warning: type of bit-field 'isrange' is a GCC extension [-Wpedantic] uint8_t isrange:1; ^ ../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:422:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../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:615:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:2; ^ ../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_fru.h:374:2: warning: type of bit-field 'asymetricMatch' is a GCC extension [-Wpedantic] unsigned char asymetricMatch: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:423:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../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_fru.h:375:2: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] unsigned char reserved:6; ^ ../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:735:2: warning: type of bit-field 'modal_update_support' is a GCC extension [-Wpedantic] uint8_t modal_update_support:2; ^ ../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_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:424:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../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: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: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:622:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:4; ^ ../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:430:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../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:657:2: warning: type of bit-field 'addr_span' is a GCC extension [-Wpedantic] uint8_t addr_span:3; ^ ../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: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: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:623:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../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: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: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_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:683:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../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: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:648:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../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_fru.h:488:2: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] unsigned short reserved:6; ^ ../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; ^ 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_sdr.h:684:3: warning: type of bit-field 'isaccessable' is a GCC extension [-Wpedantic] uint8_t isaccessable:1; ^ ../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: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:649:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../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: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:464:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../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:734:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1: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: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:650:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:3; ^ ../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: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: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:480:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../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:227:4: warning: type of bit-field 'status_lnc' is a GCC extension [-Wpedantic] uint16_t status_lnc: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:656:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:5; ^ ../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:481:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../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:736:2: warning: type of bit-field 'overflow_flag' is a GCC extension [-Wpedantic] uint8_t overflow_flag:1; ^ ../include/ipmitool/ipmi_sdr.h:657:2: warning: type of bit-field 'addr_span' is a GCC extension [-Wpedantic] uint8_t addr_span:3; ^ ipmi_tsol.c: In function 'ipmi_tsol_command': ../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:482:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ 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=] ../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: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:488:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../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:489:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst: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: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:731:2: warning: type of bit-field 'reserve_sdr_repository_supported' is a GCC extension [-Wpedantic] uint8_t reserve_sdr_repository_supported:1; ^ 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_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_entity.h:46:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical : 1; /* physical/logical */ ^ ../include/ipmitool/ipmi_sdr.h:684:3: warning: type of bit-field 'isaccessable' is a GCC extension [-Wpedantic] uint8_t isaccessable: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_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_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: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: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: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:685:3: warning: type of bit-field 'islinked' is a GCC extension [-Wpedantic] uint8_t islinked: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_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: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: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: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:686:3: warning: type of bit-field 'isrange' is a GCC extension [-Wpedantic] uint8_t isrange:1; ^ ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ ../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:734:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:1; ^ ../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:259:4: warning: type of bit-field 'deassert_ucr_high' is a GCC extension [-Wpedantic] uint16_t deassert_ucr_high:1; ^ 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_sdr.h:260:4: warning: type of bit-field 'deassert_unr_low' is a GCC extension [-Wpedantic] uint16_t deassert_unr_low:1; ^ 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:537:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_fwum.h:142:3: warning: type of bit-field 'res' is a GCC extension [-Wpedantic] unsigned char res : 6; ^ ../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: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: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:216:4: warning: type of bit-field 'assert_lnc_high' is a GCC extension [-Wpedantic] uint16_t assert_lnc_high: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:262:4: warning: type of bit-field 'status_unc' is a GCC extension [-Wpedantic] uint16_t status_unc: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: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:736:2: warning: type of bit-field 'overflow_flag' is a GCC extension [-Wpedantic] uint8_t overflow_flag: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: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: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_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:264:4: warning: type of bit-field 'status_unr' is a GCC extension [-Wpedantic] uint16_t status_unr: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_fru.h:175:2: warning: type of bit-field 'pfc' is a GCC extension [-Wpedantic] uint8_t pfc:1; ^ ../include/ipmitool/ipmi_sdr.h:581:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ 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_sdr.h:265:4: warning: type of bit-field 'reserved_2' is a GCC extension [-Wpedantic] uint16_t reserved_2: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: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:732:2: warning: type of bit-field 'partial_add_sdr_supported' is a GCC extension [-Wpedantic] uint8_t partial_add_sdr_supported:1; ^ ipmi_sensor.c: In function 'print_thresh_setting': ../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_fru.h:177:2: warning: type of bit-field 'hotswap' is a GCC extension [-Wpedantic] uint8_t hotswap: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:280:6: warning: type of bit-field 'readable' is a GCC extension [-Wpedantic] uint16_t readable:8; ^ ../include/ipmitool/ipmi_sdr.h:582:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:4; ^ ipmi_sensor.c:235:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] printf(na_fmt, "na"); ^ ../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: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: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:281:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc: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_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:589:2: warning: type of bit-field 'global_init' is a GCC extension [-Wpedantic] uint8_t global_init:4; ^ ../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:282:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ 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)); ^ ../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_fru.h:187:2: warning: type of bit-field 'combined_voltage1' is a GCC extension [-Wpedantic] uint8_t combined_voltage1:4; ^ ../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:283:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr: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; ^ ipmi_sensor.c:241:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] printf(discrete_fmt, setting); ^ ../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: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:284:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc: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: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:227:4: warning: type of bit-field 'status_lnc' is a GCC extension [-Wpedantic] uint16_t status_lnc:1; ^ ../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:285:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ 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/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_fru.h:209:2: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:3; ^ ../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:736:2: warning: type of bit-field 'overflow_flag' is a GCC extension [-Wpedantic] uint8_t overflow_flag: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_fru.h:210:2: warning: type of bit-field 'standby' is a GCC extension [-Wpedantic] uint8_t standby: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/helper.h:116: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/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:613:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../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_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:302:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/ipmi_fru.h:232:2: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:4; ^ ../include/ipmitool/helper.h:116: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/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: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:303:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr: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:304:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../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 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/helper.h:116: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/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:305:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc: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:306:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr: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_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ ../include/ipmitool/helper.h:116: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/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:307:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr: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:622:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:4; ^ ../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:308:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved: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_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:309:6: warning: type of bit-field 'settable' is a GCC extension [-Wpedantic] uint16_t settable:8; ^ ../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_fru.h:153:2: warning: type of bit-field 'capacity' is a GCC extension [-Wpedantic] uint16_t capacity:12; ^ ../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_fru.h:154:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint16_t __reserved1:4; ^ ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ../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_fru.h:174:2: warning: type of bit-field 'predictive_fail' is a GCC extension [-Wpedantic] uint8_t predictive_fail:1; ^ ../include/ipmitool/helper.h:116: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/ipmi_sdr.h:648:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../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_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_fru.h:486:2: warning: type of bit-field 'remote_port' is a GCC extension [-Wpedantic] unsigned short remote_port:5; ^ 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_fru.h:176:2: warning: type of bit-field 'autoswitch' is a GCC extension [-Wpedantic] uint8_t autoswitch:1; ^ ../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:262:4: warning: type of bit-field 'status_unc' is a GCC extension [-Wpedantic] uint16_t status_unc:1; ^ ../include/ipmitool/ipmi_entity.h:46:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical : 1; /* physical/logical */ ^ ../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:649:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun: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:263:4: warning: type of bit-field 'status_ucr' is a GCC extension [-Wpedantic] uint16_t status_ucr: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_fru.h:178:2: warning: type of bit-field 'tach' is a GCC extension [-Wpedantic] uint8_t tach:1; ^ ../include/ipmitool/helper.h:116: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/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:333:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../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:488:2: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] unsigned short reserved:6; ^ 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_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:265:4: warning: type of bit-field 'reserved_2' is a GCC extension [-Wpedantic] uint16_t reserved_2:1; ^ ../include/ipmitool/ipmi_entity.h:46:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical : 1; /* physical/logical */ ^ ../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_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:280:6: warning: type of bit-field 'readable' is a GCC extension [-Wpedantic] uint16_t readable:8; ^ ../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:656:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:5; ^ ../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:353:4: warning: type of bit-field 'event_gen' is a GCC extension [-Wpedantic] uint8_t event_gen: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:282:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../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:354:4: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] uint8_t type: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; ^ 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:283:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../include/ipmitool/helper.h:116: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/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:355:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis: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:284:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../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_sdr.h:356:4: warning: type of bit-field 'thresholds' is a GCC extension [-Wpedantic] uint8_t thresholds: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_fru.h:210:2: warning: type of bit-field 'standby' is a GCC extension [-Wpedantic] uint8_t standby:1; ^ ../include/ipmitool/ipmi_sdr.h:285:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ 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:683:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../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:357:4: warning: type of bit-field 'events' is a GCC extension [-Wpedantic] uint8_t events: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:286:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr: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_fru.h:231:2: warning: type of bit-field 'output_number' is a GCC extension [-Wpedantic] uint8_t output_number:4; ^ ../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:358:4: warning: type of bit-field 'scanning' is a GCC extension [-Wpedantic] uint8_t scanning:1; ^ ../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:287:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../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_fru.h:232:2: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:4; ^ ../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: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:359:4: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:1; ^ ../include/ipmitool/helper.h:116: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))); ^ ../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: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:302:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc: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: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: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:370:4: warning: type of bit-field 'event_msg' is a GCC extension [-Wpedantic] uint8_t event_msg:2; ^ ipmi_tsol.c: In function 'ipmi_tsol_main': ../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: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: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:686:3: warning: type of bit-field 'isrange' is a GCC extension [-Wpedantic] uint8_t isrange: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:304:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ ../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:225:4: warning: type of bit-field 'assert_unr_low' is a GCC extension [-Wpedantic] uint16_t assert_unr_low: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; ^ 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/ipmi_sdr.h:223:4: warning: type of bit-field 'assert_ucr_low' is a GCC extension [-Wpedantic] uint16_t assert_ucr_low:1; ^ 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)) { ^ ../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:305:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc: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: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:227:4: warning: type of bit-field 'status_lnc' is a GCC extension [-Wpedantic] uint16_t status_lnc:1; ^ ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ ../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:225:4: warning: type of bit-field 'assert_unr_low' is a GCC extension [-Wpedantic] uint16_t assert_unr_low: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:373:4: warning: type of bit-field 'rearm' is a GCC extension [-Wpedantic] uint8_t rearm: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:226:4: warning: type of bit-field 'assert_unr_high' is a GCC extension [-Wpedantic] uint16_t assert_unr_high:1; ^ 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) { ^ ../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:229:4: warning: type of bit-field 'status_lnr' is a GCC extension [-Wpedantic] uint16_t status_lnr: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_fru.h:375:2: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] unsigned char reserved:6; ^ ../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:227:4: warning: type of bit-field 'status_lnc' is a GCC extension [-Wpedantic] uint16_t status_lnc: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:308:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../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_fru.h:153:2: warning: type of bit-field 'capacity' is a GCC extension [-Wpedantic] uint16_t capacity:12; ^ ../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_fru.h:154:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint16_t __reserved1:4; ^ ../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:309:6: warning: type of bit-field 'settable' is a GCC extension [-Wpedantic] uint16_t settable:8; ^ ../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:391:3: warning: type of bit-field 'pct' is a GCC extension [-Wpedantic] uint8_t pct:1; ^ ../include/ipmitool/helper.h:116: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/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:230:4: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved: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:392:3: warning: type of bit-field 'modifier' is a GCC extension [-Wpedantic] uint8_t modifier:2; ^ ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ../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_sdr.h:252:4: warning: type of bit-field 'deassert_lcr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_low:1; ^ 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)) { ^ ../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: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_fru.h:176:2: warning: type of bit-field 'autoswitch' is a GCC extension [-Wpedantic] uint8_t autoswitch: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:393:3: warning: type of bit-field 'rate' is a GCC extension [-Wpedantic] uint8_t rate:3; ^ ../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_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:177:2: warning: type of bit-field 'hotswap' is a GCC extension [-Wpedantic] uint8_t hotswap: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:252:4: warning: type of bit-field 'deassert_lcr_low' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_low: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_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:394:3: warning: type of bit-field 'analog' is a GCC extension [-Wpedantic] uint8_t analog:2; ^ ../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: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:179:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:3; ^ ../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:253:4: warning: type of bit-field 'deassert_lcr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lcr_high:1; ^ ../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: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: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:332:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved: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:734:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:1; ^ ../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/helper.h:116: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/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: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:333:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../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: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: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:735:2: warning: type of bit-field 'modal_update_support' is a GCC extension [-Wpedantic] uint8_t modal_update_support:2; ^ ../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: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: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:423:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../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_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: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:260:4: warning: type of bit-field 'deassert_unr_low' is a GCC extension [-Wpedantic] uint16_t deassert_unr_low:1; ^ ../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:506:2: warning: type of bit-field '' is a GCC extension [-Wpedantic] unsigned char /* reserved */ :3; ^ ../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:353:4: warning: type of bit-field 'event_gen' is a GCC extension [-Wpedantic] uint8_t event_gen: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: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:261:4: warning: type of bit-field 'deassert_unr_high' is a GCC extension [-Wpedantic] uint16_t deassert_unr_high:1; ^ ../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:354:4: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] uint8_t type: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:262:4: warning: type of bit-field 'status_unc' is a GCC extension [-Wpedantic] uint16_t status_unc:1; ^ ../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_fru.h:507:2: warning: type of bit-field 'record_type' is a GCC extension [-Wpedantic] unsigned char record_type :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_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:263:4: warning: type of bit-field 'status_ucr' is a GCC extension [-Wpedantic] uint16_t status_ucr: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:431:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../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:262:4: warning: type of bit-field 'status_unc' is a GCC extension [-Wpedantic] uint16_t status_unc: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; ^ 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_sdr.h:356:4: warning: type of bit-field 'thresholds' is a GCC extension [-Wpedantic] uint8_t thresholds:1; ^ ../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:263:4: warning: type of bit-field 'status_ucr' is a GCC extension [-Wpedantic] uint16_t status_ucr: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:357:4: warning: type of bit-field 'events' is a GCC extension [-Wpedantic] uint8_t events:1; ^ ../include/ipmitool/helper.h:116: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/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:280:6: warning: type of bit-field 'readable' is a GCC extension [-Wpedantic] uint16_t readable:8; ^ ../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:358:4: warning: type of bit-field 'scanning' is a GCC extension [-Wpedantic] uint8_t scanning: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:281:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc: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: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:282:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/ipmi_fru.h:374:2: warning: type of bit-field 'asymetricMatch' is a GCC extension [-Wpedantic] unsigned char asymetricMatch:2; ^ ipmi_fwum.c: In function 'KfwumSetupBuffersFromFile': ../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:370:4: warning: type of bit-field 'event_msg' is a GCC extension [-Wpedantic] uint8_t event_msg:2; ^ ../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_fru.h:375:2: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] unsigned char reserved:6; ^ ipmi_fwum.c:365:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] modulus, pFileHandle) == modulus) { ^ ../include/ipmitool/helper.h:116: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/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:371:4: warning: type of bit-field 'threshold' is a GCC extension [-Wpedantic] uint8_t threshold:2; ^ ../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:285:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr: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:286:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../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:373:4: warning: type of bit-field 'rearm' is a GCC extension [-Wpedantic] uint8_t rearm: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:482:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../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:486:2: warning: type of bit-field 'remote_port' is a GCC extension [-Wpedantic] unsigned short remote_port:5; ^ ../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:488:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../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:391:3: warning: type of bit-field 'pct' is a GCC extension [-Wpedantic] uint8_t pct: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:489:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../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:304:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr: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:280:6: warning: type of bit-field 'readable' is a GCC extension [-Wpedantic] uint16_t readable:8; ^ ../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:281:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc:1; ^ ../include/ipmitool/helper.h:116: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/ipmi_sdr.h:393:3: warning: type of bit-field 'rate' is a GCC extension [-Wpedantic] uint8_t rate:3; ^ ../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:306:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr: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:394:3: warning: type of bit-field 'analog' is a GCC extension [-Wpedantic] uint8_t analog:2; ^ ../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:307:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr: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_fru.h:506:2: warning: type of bit-field '' is a GCC extension [-Wpedantic] unsigned char /* reserved */ :3; ^ ../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:308:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../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_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:285:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr: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_sdr.h:422:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../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: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:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ../include/ipmitool/helper.h:116: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/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:287:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../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:424:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_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: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:303:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../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:332:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:304:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr: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_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:333:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../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:305:6: warning: type of bit-field 'unc' is a GCC extension [-Wpedantic] uint16_t unc:1; ^ ../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:306:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr: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:307:6: warning: type of bit-field 'unr' is a GCC extension [-Wpedantic] uint16_t unr:1; ^ ../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:353:4: warning: type of bit-field 'event_gen' is a GCC extension [-Wpedantic] uint8_t event_gen: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: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:354:4: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] uint8_t type:1; ^ ../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:309:6: warning: type of bit-field 'settable' is a GCC extension [-Wpedantic] uint16_t settable:8; ^ ../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:355:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:1; ^ ../include/ipmitool/helper.h:116: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/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ../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:464:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../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:591:2: warning: type of bit-field 'pwr_state_notif' is a GCC extension [-Wpedantic] uint8_t pwr_state_notif:3; ^ 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 */ ^ ../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: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:358:4: warning: type of bit-field 'scanning' is a GCC extension [-Wpedantic] uint8_t scanning: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:359:4: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:1; ^ ../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:613:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../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/helper.h:116: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/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:482:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved: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_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:371:4: warning: type of bit-field 'threshold' is a GCC extension [-Wpedantic] uint8_t threshold: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:353:4: warning: type of bit-field 'event_gen' is a GCC extension [-Wpedantic] uint8_t event_gen: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:615:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:2; ^ ../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:354:4: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] uint8_t type:1; ^ ../include/ipmitool/ipmi_sdr.h:373:4: warning: type of bit-field 'rearm' is a GCC extension [-Wpedantic] uint8_t rearm:1; ^ 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:616:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical: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:374:4: warning: type of bit-field 'ignore' is a GCC extension [-Wpedantic] uint8_t ignore: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:622:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:4; ^ ../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: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:391:3: warning: type of bit-field 'pct' is a GCC extension [-Wpedantic] uint8_t pct: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: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:623:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../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:392:3: warning: type of bit-field 'modifier' is a GCC extension [-Wpedantic] uint8_t modifier:2; ^ ../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: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:221:4: warning: type of bit-field 'assert_unc_low' is a GCC extension [-Wpedantic] uint16_t assert_unc_low:1; ^ ../include/ipmitool/helper.h:116: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/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: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:356:4: warning: type of bit-field 'thresholds' is a GCC extension [-Wpedantic] uint8_t thresholds:1; ^ ../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:648:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../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:357:4: warning: type of bit-field 'events' is a GCC extension [-Wpedantic] uint8_t events:1; ^ ../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: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:358:4: warning: type of bit-field 'scanning' is a GCC extension [-Wpedantic] uint8_t scanning:1; ^ ../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: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:359:4: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved: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:422:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count: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:227:4: warning: type of bit-field 'status_lnc' is a GCC extension [-Wpedantic] uint16_t status_lnc:1; ^ ../include/ipmitool/helper.h:116: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/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:423:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../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:228:4: warning: type of bit-field 'status_lcr' is a GCC extension [-Wpedantic] uint16_t status_lcr:1; ^ ../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:656:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:5; ^ ../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:424:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../include/ipmitool/ipmi_sdr.h:582:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:4; ^ ipmi_oem.c: In function 'ipmi_oem_ibm': ../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:372:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis: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; ^ ipmi_oem.c:86:33: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_oem_ibm(struct ipmi_intf * intf) ^ ../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:589:2: warning: type of bit-field 'global_init' is a GCC extension [-Wpedantic] uint8_t global_init:4; ^ ../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: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:431:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst: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:374:4: warning: type of bit-field 'ignore' is a GCC extension [-Wpedantic] uint8_t ignore:1; ^ ../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: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:683:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ipmi_picmg.c: In function 'ipmi_picmg_fru_activation': ../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: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:391:3: warning: type of bit-field 'pct' is a GCC extension [-Wpedantic] uint8_t pct: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: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:392:3: warning: type of bit-field 'modifier' is a GCC extension [-Wpedantic] uint8_t modifier:2; ^ ../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: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:255:4: warning: type of bit-field 'deassert_lnr_high' is a GCC extension [-Wpedantic] uint16_t deassert_lnr_high:1; ^ 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) ^ ../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: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:464:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../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:685:3: warning: type of bit-field 'islinked' is a GCC extension [-Wpedantic] uint8_t islinked:1; ^ ../include/ipmitool/ipmi_sdr.h:394:3: warning: type of bit-field 'analog' is a GCC extension [-Wpedantic] uint8_t analog:2; ^ ../include/ipmitool/helper.h:116: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/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:614:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../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:686:3: warning: type of bit-field 'isrange' is a GCC extension [-Wpedantic] uint8_t isrange: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:422: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; ^ ipmi_picmg.c: In function 'ipmi_picmg_fru_activation_policy_get': ../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: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:423:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../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:482:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved: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:424:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ 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) ^ ../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/helper.h:116: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/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: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:263:4: warning: type of bit-field 'status_ucr' is a GCC extension [-Wpedantic] uint16_t status_ucr:1; ^ ../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:622:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:4; ^ ../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:489:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ ../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: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:265:4: warning: type of bit-field 'reserved_2' is a GCC extension [-Wpedantic] uint16_t reserved_2:1; ^ ../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:280:6: warning: type of bit-field 'readable' is a GCC extension [-Wpedantic] uint16_t readable:8; ^ ../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; ^ ipmi_picmg.c: In function 'ipmi_picmg_fru_activation_policy_set': ../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:281:6: warning: type of bit-field 'lnc' is a GCC extension [-Wpedantic] uint16_t lnc: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:282:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../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: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: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:733:2: warning: type of bit-field 'delete_sdr_supported' is a GCC extension [-Wpedantic] uint8_t delete_sdr_supported:1; ^ 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) ^ ../include/ipmitool/ipmi_sdr.h:283:6: warning: type of bit-field 'lnr' is a GCC extension [-Wpedantic] uint16_t lnr:1; ^ 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; ^ ../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: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:649:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../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:734:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:1; ^ ../include/ipmitool/helper.h:116: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/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:537:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../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:650:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:3; ^ ../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: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:481:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../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:656:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:5; ^ ../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:482:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_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:581:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../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:303:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ../include/ipmitool/helper.h:116: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))); ^ ../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:582:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:4; ^ ../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:489:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst: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:683:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../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:684:3: warning: type of bit-field 'isaccessable' is a GCC extension [-Wpedantic] uint8_t isaccessable: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:308:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ../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:309:6: warning: type of bit-field 'settable' is a GCC extension [-Wpedantic] uint16_t settable:8; ^ ../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:589:2: warning: type of bit-field 'global_init' is a GCC extension [-Wpedantic] uint8_t global_init:4; ^ ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ../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:686:3: warning: type of bit-field 'isrange' is a GCC extension [-Wpedantic] uint8_t isrange:1; ^ ../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:537:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../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: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: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:333:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../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:613:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ../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:352:4: warning: type of bit-field 'sensor_scan' is a GCC extension [-Wpedantic] uint8_t sensor_scan:1; ^ ../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: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: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:589:2: warning: type of bit-field 'global_init' is a GCC extension [-Wpedantic] uint8_t global_init:4; ^ ../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:355:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:1; ^ 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_sdr.h:590:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3: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:734:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:1; ^ ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ ../include/ipmitool/ipmi_sdr.h:357:4: warning: type of bit-field 'events' is a GCC extension [-Wpedantic] uint8_t events:1; ^ ipmi_ekanalyzer.c: In function 'ipmi_ekanalyzer_main': ../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; ^ ipmi_fru.c: In function 'write_fru_area': ../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:735:2: warning: type of bit-field 'modal_update_support' is a GCC extension [-Wpedantic] uint8_t modal_update_support:2; ^ 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++ ) { ^ ../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:614:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ 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); ^ ../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_fru.h:153:2: warning: type of bit-field 'capacity' is a GCC extension [-Wpedantic] uint16_t capacity:12; ^ ../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:370:4: warning: type of bit-field 'event_msg' is a GCC extension [-Wpedantic] uint8_t event_msg:2; ^ ../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:615:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2: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_sdr.h:371:4: warning: type of bit-field 'threshold' is a GCC extension [-Wpedantic] uint8_t threshold:2; ^ ../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:616:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical: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_sdr.h:372:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis: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_fru.h:176:2: warning: type of bit-field 'autoswitch' is a GCC extension [-Wpedantic] uint8_t autoswitch:1; ^ ../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:622:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:4; ^ ../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_sdr.h:616:2: warning: type of bit-field 'logical' is a GCC extension [-Wpedantic] uint8_t logical: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_sdr.h:374:4: warning: type of bit-field 'ignore' is a GCC extension [-Wpedantic] uint8_t ignore: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_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:623:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../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:622:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:4; ^ ../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:187:2: warning: type of bit-field 'combined_voltage1' is a GCC extension [-Wpedantic] uint8_t combined_voltage1:4; ^ ipmi_picmg.c: In function 'ipmi_picmg_get_led_properties': ../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: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; ^ 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 */ ^ ../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:649:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../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_fru.h:208:2: warning: type of bit-field 'output_number' is a GCC extension [-Wpedantic] uint8_t output_number:4; ^ ipmi_picmg.c:1161:60: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_get_led_properties(struct ipmi_intf * intf, int argc, char ** argv) ^ ../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_fru.h:209:2: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:3; ^ ../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_fru.h:210:2: warning: type of bit-field 'standby' is a GCC extension [-Wpedantic] uint8_t standby:1; ^ ../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:422:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ipmi_fru.c: In function 'read_fru_area': ../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:423:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../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_sdr.h:650:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:3; ^ 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; ^ ../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:657:2: warning: type of bit-field 'addr_span' is a GCC extension [-Wpedantic] uint8_t addr_span:3; ^ ../include/ipmitool/ipmi_sdr.h:424:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ 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:656:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:5; ^ ipmi_picmg.c: In function 'ipmi_picmg_get_led_capabilities': ../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:430:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../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; ^ ipmi_ekanalyzer.c:457:40: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_ekanalyzer_main(struct ipmi_intf *intf, int argc, char **argv) ^ ../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:431:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst: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: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; ^ ipmi_picmg.c:1200:62: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_get_led_capabilities(struct ipmi_intf * intf, int argc, char ** argv) ^ ../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:684:3: warning: type of bit-field 'isaccessable' is a GCC extension [-Wpedantic] uint8_t isaccessable: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:683:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../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: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:222:4: warning: type of bit-field 'assert_unc_high' is a GCC extension [-Wpedantic] uint16_t assert_unc_high: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:685:3: warning: type of bit-field 'islinked' is a GCC extension [-Wpedantic] uint8_t islinked:1; ^ ../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: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: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: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:686:3: warning: type of bit-field 'isrange' is a GCC extension [-Wpedantic] uint8_t isrange:1; ^ ipmi_fru.c:717:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] || tmp > rsp->data_len - 1 ^ ../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:685:3: warning: type of bit-field 'islinked' is a GCC extension [-Wpedantic] uint8_t islinked: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:686:3: warning: type of bit-field 'isrange' is a GCC extension [-Wpedantic] uint8_t isrange: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:480:3: warning: type of bit-field 'count' is a GCC extension [-Wpedantic] uint8_t count:4; ^ ../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:228:4: warning: type of bit-field 'status_lcr' is a GCC extension [-Wpedantic] uint16_t status_lcr: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:481:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../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_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:230:4: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved: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_fru.h:488:2: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] unsigned short reserved:6; ^ ../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; ^ ipmi_picmg.c: In function 'ipmi_picmg_get_led_state': ../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: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:488:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ ../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: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_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: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: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:489:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst: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_fru.h:506:2: warning: type of bit-field '' is a GCC extension [-Wpedantic] unsigned char /* reserved */ :3; ^ ipmi_picmg.c:1250:55: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_get_led_state(struct ipmi_intf * intf, int argc, char ** argv) ^ ../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: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:732:2: warning: type of bit-field 'partial_add_sdr_supported' is a GCC extension [-Wpedantic] uint8_t partial_add_sdr_supported:1; ^ ipmi_fru.c: In function 'read_fru_area_section': ../include/ipmitool/ipmi_fru.h:507:2: warning: type of bit-field 'record_type' is a GCC extension [-Wpedantic] unsigned char record_type :1; ^ make[3]: *** [Makefile:499: ipmi_channel.lo] Error 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; ^ make[3]: *** Waiting for unfinished jobs.... ../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: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: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: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:257:4: warning: type of bit-field 'deassert_unc_high' is a GCC extension [-Wpedantic] uint16_t deassert_unc_high:1; ^ ipmi_fru.c:829:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] || tmp > rsp->data_len - 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: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: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:734:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1: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: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:736:2: warning: type of bit-field 'overflow_flag' is a GCC extension [-Wpedantic] uint8_t overflow_flag: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:735:2: warning: type of bit-field 'modal_update_support' is a GCC extension [-Wpedantic] uint8_t modal_update_support:2; ^ ipmi_picmg.c: In function 'ipmi_picmg_set_led_state': ../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:537:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../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:736:2: warning: type of bit-field 'overflow_flag' is a GCC extension [-Wpedantic] uint8_t overflow_flag: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; ^ 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; ^ ../include/ipmitool/ipmi_sdr.h:264:4: warning: type of bit-field 'status_unr' is a GCC extension [-Wpedantic] uint16_t status_unr:1; ^ ipmi_picmg.c:1337:55: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_set_led_state(struct ipmi_intf * intf, int argc, char ** argv) ^ ../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:581:2: warning: type of bit-field 'channel_num' is a GCC extension [-Wpedantic] uint8_t channel_num:4; ^ ../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:582:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:4; ^ ../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:589:2: warning: type of bit-field 'global_init' is a GCC extension [-Wpedantic] uint8_t global_init:4; ^ ../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:590:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:1; ^ 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_sdr.h:285:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ipmi_picmg.c: In function 'ipmi_picmg_get_power_level': ../include/ipmitool/ipmi.h:75:3: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ipmi_sel.c: In function 'ipmi_sel_oem_readval': ../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:591:2: warning: type of bit-field 'pwr_state_notif' is a GCC extension [-Wpedantic] uint8_t pwr_state_notif:3; ^ 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) { ^ ../include/ipmitool/ipmi_sdr.h:287:6: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] uint16_t reserved:2; ^ ipmi_fru.c: In function 'fru_area_print_chassis': ipmi_picmg.c:1413:57: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_get_power_level(struct ipmi_intf * intf, int argc, char ** argv) ^ ../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:613:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ 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_sdr.h:303:6: warning: type of bit-field 'lcr' is a GCC extension [-Wpedantic] uint16_t lcr:1; ^ ipmi_fru.c:1001:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i == j) { ^ ../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:614:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ../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:615:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2:2; ^ ../include/ipmitool/ipmi_sdr.h:306:6: warning: type of bit-field 'ucr' is a GCC extension [-Wpedantic] uint16_t ucr:1; ^ ipmi_picmg.c: In function 'ipmi_picmg_set_power_level': ../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: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:622:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3:4; ^ ../include/ipmitool/ipmi_sdr.h:309:6: warning: type of bit-field 'settable' is a GCC extension [-Wpedantic] uint16_t settable:8; ^ ipmi_picmg.c:1464:57: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_set_power_level(struct ipmi_intf * intf, int argc, char ** argv) ^ ../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:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ../include/ipmitool/ipmi_sdr.h:648:2: warning: type of bit-field 'bus' is a GCC extension [-Wpedantic] uint8_t bus:3; ^ ipmi_fru.c: In function 'fru_area_print_board': ../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 */ ^ ipmi_pef.c: In function 'ipmi_pef_bit_desc': ../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:649:2: warning: type of bit-field 'lun' is a GCC extension [-Wpedantic] uint8_t lun:2; ^ ipmi_pef.c:103:4: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] sprintf(p, listitem[index], pmap->desc); ^ ../include/ipmitool/ipmi_sdr.h:333:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ipmi_fru.c:1126:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i == j) ^ ../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:352:4: warning: type of bit-field 'sensor_scan' is a GCC extension [-Wpedantic] uint8_t sensor_scan: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; ^ ipmi_picmg.c: In function 'ipmi_picmg_fru_control': ../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:353:4: warning: type of bit-field 'event_gen' is a GCC extension [-Wpedantic] uint8_t event_gen:1; ^ ipmi_pef.c: In function 'ipmi_pef_print_flags': ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ ../include/ipmitool/ipmi_sdr.h:354:4: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] uint8_t type:1; ^ 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)); ^ ../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:355:4: warning: type of bit-field 'hysteresis' is a GCC extension [-Wpedantic] uint8_t hysteresis:1; ^ 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); ^ ../include/ipmitool/ipmi_sdr.h:356:4: warning: type of bit-field 'thresholds' is a GCC extension [-Wpedantic] uint8_t thresholds:1; ^ ipmi_ekanalyzer.c: In function 'ipmi_ek_matching_process': ipmi_picmg.c:1568:53: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_fru_control(struct ipmi_intf * intf, int argc, char ** argv) ^ ../include/ipmitool/ipmi_fru.h:153:2: warning: type of bit-field 'capacity' is a GCC extension [-Wpedantic] uint16_t capacity:12; ^ 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 */ ^ ../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:683:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:5; ^ ../include/ipmitool/ipmi_fru.h:154:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint16_t __reserved1:4; ^ ipmi_pef.c:150:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] printf(fmt[1], val); ^ ../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_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:684:3: warning: type of bit-field 'isaccessable' is a GCC extension [-Wpedantic] uint8_t isaccessable: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:175:2: warning: type of bit-field 'pfc' is a GCC extension [-Wpedantic] uint8_t pfc:1; ^ ipmi_ekanalyzer.c:1241:38: warning: unused parameter 'list_last' [-Wunused-parameter] struct ipmi_ek_multi_header ** list_last, char * opt, ^ ../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:685:3: warning: type of bit-field 'islinked' is a GCC extension [-Wpedantic] uint8_t islinked: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_fru.h:177:2: warning: type of bit-field 'hotswap' is a GCC extension [-Wpedantic] uint8_t hotswap:1; ^ ipmi_fru.c: In function 'fru_area_print_product': ipmi_sel.c: In function 'ipmi_sel_oem_message': ../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:371:4: warning: type of bit-field 'threshold' is a GCC extension [-Wpedantic] uint8_t threshold:2; ^ ../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_sdr.h:686:3: warning: type of bit-field 'isrange' is a GCC extension [-Wpedantic] uint8_t isrange:1; ^ ipmi_sel.c:196:69: warning: unused parameter 'verbose' [-Wunused-parameter] static void ipmi_sel_oem_message(struct sel_event_record * evt, int verbose) ^ ../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_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_sdr.h:373:4: warning: type of bit-field 'rearm' is a GCC extension [-Wpedantic] uint8_t rearm:1; ^ ipmi_fru.c:1261:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i == j) ^ 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_sdr.h:374:4: warning: type of bit-field 'ignore' is a GCC extension [-Wpedantic] uint8_t ignore: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_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_fru.h:208:2: warning: type of bit-field 'output_number' is a GCC extension [-Wpedantic] uint8_t output_number:4; ^ ../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_sdr.h:391:3: warning: type of bit-field 'pct' is a GCC extension [-Wpedantic] uint8_t pct:1; ^ ../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_hpmfwupg.h:135:4: warning: type of bit-field 'component5' is a GCC extension [-Wpedantic] unsigned char component5 : 1; ^ 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_fru.h:210:2: warning: type of bit-field 'standby' is a GCC extension [-Wpedantic] uint8_t standby: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_hpmfwupg.h:136:4: warning: type of bit-field 'component6' is a GCC extension [-Wpedantic] unsigned char component6 : 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_session.h:58:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1 : 2; ^ ../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_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_sdr.h:393:3: warning: type of bit-field 'rate' is a GCC extension [-Wpedantic] uint8_t rate:3; ^ ../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_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_session.h:73:2: warning: type of bit-field 'user_id' is a GCC extension [-Wpedantic] uint8_t user_id : 6; ^ ../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_session.h:74:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3 : 2; ^ ../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_session.h:81:2: warning: type of bit-field 'privilege_level' is a GCC extension [-Wpedantic] uint8_t privilege_level : 4; ^ ../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_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_session.h:82:2: warning: type of bit-field '__reserved4' is a GCC extension [-Wpedantic] uint8_t __reserved4 : 4; ^ ../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_session.h:89:2: warning: type of bit-field 'channel_number' is a GCC extension [-Wpedantic] uint8_t channel_number : 4; ^ ipmi_picmg.c: In function 'ipmi_picmg_clk_set': ../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_session.h:90:2: warning: type of bit-field 'auxiliary_data' is a GCC extension [-Wpedantic] uint8_t auxiliary_data : 4; ^ ../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_hpmfwupg.h:187:4: warning: type of bit-field 'servAffectDuringUpg' is a GCC extension [-Wpedantic] unsigned char servAffectDuringUpg : 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:423:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../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_session.h:112:4: warning: type of bit-field 'destination_selector' is a GCC extension [-Wpedantic] uint8_t destination_selector : 4; ^ ../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_session.h:113:4: warning: type of bit-field '__reserved5' is a GCC extension [-Wpedantic] uint8_t __reserved5 : 4; ^ ../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:735:2: warning: type of bit-field 'modal_update_support' is a GCC extension [-Wpedantic] uint8_t modal_update_support:2; ^ ../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_fru.h:374:2: warning: type of bit-field 'asymetricMatch' is a GCC extension [-Wpedantic] unsigned char asymetricMatch:2; ^ ../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_sdr.h:430:3: warning: type of bit-field 'mod_offset' is a GCC extension [-Wpedantic] uint8_t mod_offset:7; ^ 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) { ^ ../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:736:2: warning: type of bit-field 'overflow_flag' is a GCC extension [-Wpedantic] uint8_t overflow_flag:1; ^ 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) ^ ../include/ipmitool/ipmi_sdr.h:431:3: warning: type of bit-field 'entity_inst' is a GCC extension [-Wpedantic] uint8_t entity_inst:1; ^ dimm_spd.c: In function 'ipmi_spd_print_fru': ../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_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_hpmfwupg.h:257:4: warning: type of bit-field 'comparisonSupport' is a GCC extension [-Wpedantic] unsigned char comparisonSupport : 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_hpmfwupg.h:258:4: warning: type of bit-field 'deferredActivation' is a GCC extension [-Wpedantic] unsigned char deferredActivation : 1; ^ ../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_fru.h:487:2: warning: type of bit-field 'local_port' is a GCC extension [-Wpedantic] unsigned short local_port:5; ^ dimm_spd.c:1701:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] || len > rsp->data_len - 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_sdr.h:464:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../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_fru.h:488:2: warning: type of bit-field 'reserved' is a GCC extension [-Wpedantic] unsigned short reserved:6; ^ ../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_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:481:3: warning: type of bit-field 'mod_type' is a GCC extension [-Wpedantic] uint8_t mod_type:2; ^ ../include/ipmitool/ipmi_fru.h:506:2: warning: type of bit-field '' is a GCC extension [-Wpedantic] unsigned char /* reserved */ :3; ^ ipmi_fru.c: In function 'ipmi_fru_query_new_value': ../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_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: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; ^ ipmi_fru.c:1494:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for( i=0;isize < 0) ^ ../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; ^ ipmi_fru.c: In function 'ipmi_fru_oemkontron_edit': ipmi_ime.c: At top level: ../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; ^ ipmi_pef.c: In function 'ipmi_pef_print_dest': ../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; ^ ipmi_ime.c:799:12: warning: 'ImeUpdateShowStatus' defined but not used [-Wunused-function] static int ImeUpdateShowStatus(struct ipmi_intf *intf) ^ 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) ^ ../include/ipmitool/ipmi_sdr.h:734:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1:1; ^ ipmi_fru.c:1910:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(index=0;index<(sizeof(struct fru_multirec_header) -1);index++){ ^ ../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; ^ 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) ^ ../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_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) { ^ ipmi_fru.c: In function 'ipmi_fru_picmg_ext_edit': 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_fru.c:2027:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(index=0;index<(sizeof(struct fru_multirec_header) -1);index++){ ^ 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) ^ 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 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; ^ ipmi_fru.c: In function 'ipmi_fru_picmg_ext_print': ipmi_fru.c:2294:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j=0; j < sizeof(struct fru_picmgext_guid); ^ 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) ^ In file included from ipmi_sunoem.c:60:0: ../include/ipmitool/ipmi_channel.h:94: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:95:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1 : 1; ^ ../include/ipmitool/ipmi_channel.h:96: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:107: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:108: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:109: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 */ ^ ipmi_fru.c:2539:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j=0; j < sizeof(struct fru_picmgext_guid); ^ ../include/ipmitool/ipmi_channel.h:110: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:111: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:112: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:113:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2 : 2; ^ ../include/ipmitool/ipmi_channel.h:120: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:121: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:122:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3 : 6; ^ 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_sdr.c: In function 'ipmi_sdr_print_sensor_mc_locator': ipmi_sdr.c:2129: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_fru.c:2851:8: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'unsigned int' [-Wformat=] freq, min_freq, max_freq); ^ ipmi_fru.c:2851:8: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'unsigned int' [-Wformat=] ipmi_fru.c:2851:8: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'unsigned int' [-Wformat=] ipmi_sdr.c:2225: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:2282: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:2341:54: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_sdr_print_sensor_entity_assoc(struct ipmi_intf *intf, ^ In file included from ipmi_event.c:52:0: ../include/ipmitool/ipmi_channel.h:94: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:95:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1 : 1; ^ ipmi_sdr.c:2342:40: warning: unused parameter 'assoc' [-Wunused-parameter] struct sdr_record_entity_assoc *assoc) ^ ../include/ipmitool/ipmi_channel.h:96: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:107: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:108: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:109: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:110: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:111: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:112: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:113:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2 : 2; ^ ../include/ipmitool/ipmi_channel.h:120: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:121: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:122:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3 : 6; ^ ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_oem_intel': 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; ^ ipmi_sdr.c:2356:51: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_sdr_print_sensor_oem_intel(struct ipmi_intf *intf, ^ ipmi_sdr.c: In function 'ipmi_sdr_print_name_from_rawentry': 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 */ ^ ipmi_sdr.c:2500:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] id_string = record.full->id_string; ^ 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; ^ ipmi_sdr.c:2506:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] id_string = record.compact->id_string; ^ ipmi_ekanalyzer.c: At top level: ../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; ^ 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/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/helper.h:128: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) { ^ ../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; ^ ipmi_sdr.c:2512:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] id_string = record.eventonly->id_string; ^ ../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; ^ 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) ^ ../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; ^ ipmi_sdr.c:2518:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] id_string = record.mcloc->id_string; ^ ../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; ^ ipmi_sdr.c:2476:53: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_sdr_print_name_from_rawentry(struct ipmi_intf *intf, uint16_t id, ^ ../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; ^ ipmi_event.c: In function 'ipmi_event_fromsensor': ../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; ^ 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++) { ^ ../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; ^ 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++) { ^ ../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; ^ ipmi_sunoem.c: In function 'ipmi_sunoem_echo': ../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; ^ 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); ^ ../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; ^ ipmi_sdr.c: In function 'ipmi_sdr_get_reservation': ../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; ^ In file included from ipmi_sel.c:48:0: ipmi_sel.c: At top level: ../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 */ ^ ipmi_sdr.c:2808:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reserve_id = ((struct sdr_reserve_repo_rs *) &(rsp->data))->reserve_id; ^ ../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_sdr.h:332:3: warning: type of bit-field '__reserved' is a GCC extension [-Wpedantic] uint8_t __reserved:2; ^ ../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_sdr.h:333:3: warning: type of bit-field 'channel' is a GCC extension [-Wpedantic] uint8_t channel:4; /* channel number */ ^ ../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_sdr.h:352:4: warning: type of bit-field 'sensor_scan' is a GCC extension [-Wpedantic] uint8_t sensor_scan:1; ^ ../include/ipmitool/ipmi_sel_supermicro.h:114:17: warning: 'supermicro_x8' defined but not used [-Wunused-variable] static uint16_t supermicro_x8[] = { ^ ../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; ^ ipmi_sdr.c: In function 'ipmi_sdr_end': ../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; ^ ipmi_sdr.c:3087:32: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_sdr_end(struct ipmi_intf *intf, struct ipmi_sdr_iterator *itr) ^ ../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; ^ ipmi_sunoem.c: In function 'ipmi_sunoem_getbehavior': ../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 */ ^ 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); ^ ../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 */ ^ In file included from /tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/features.h:364:0, from /tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/stdlib.h:24, from ipmi_sunoem.c:34: /tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/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, ^ ../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; ^ ipmi_fru.c: In function 'ipmi_fru_set_field_string': ../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; ^ ipmi_fru.c:4835:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < fru_section_len - 1; i++) ^ ../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; ^ ipmi_fru.c: In function 'ipmi_fru_set_field_string_rebuild': ../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_list_cache_fromfile': ipmi_fru.c:5018:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] num_byte_change = strlen(f_string) - strlen(fru_area); ^ In file included from ../include/ipmitool/helper.h:39:0, from ../include/ipmitool/ipmi.h:41, from ipmi_fru.c:33: /tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'uint8_t *' extern size_t strlen (const char *__s) ^ ipmi_sdr.c:3933: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': 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; ^ ipmi_hpmfwupg.c: In function 'HpmfwupgPreUpgradeCheck': ipmi_fru.c:5139:53: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] if(((header.offset.product * 8) + product_len_new - remaining_offset) < 0) ^ ../include/ipmitool/helper.h:116:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_sdr.c:4215:9: note: in expansion of macro '__min' __min(sizeof (struct get_sdr_repository_info_rsp), ^ ipmi_hpmfwupg.c:837:43: warning: unused parameter 'intf' [-Wunused-parameter] HpmfwupgPreUpgradeCheck(struct ipmi_intf *intf, ^ ../include/ipmitool/helper.h:116:40: warning: signed and unsigned type in conditional expression [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_sdr.c:4215:9: note: in expansion of macro '__min' __min(sizeof (struct get_sdr_repository_info_rsp), ^ ipmi_fru.c:5184:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strlen(fru_area)), ^ In file included from ../include/ipmitool/helper.h:39:0, from ../include/ipmitool/ipmi.h:41, from ipmi_fru.c:33: /tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'uint8_t *' extern size_t strlen (const char *__s) ^ ipmi_fru.c:5189:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(counter = 0; counter < padding_len; counter ++) ^ ipmi_sdr.c: In function 'ipmi_sdr_print_type': 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) { ^ ipmi_fru.c: At top level: ipmi_fru.c:855:1: warning: 'fru_area_print_multirec_bloc' defined but not used [-Wunused-function] fru_area_print_multirec_bloc(struct ipmi_intf * intf, struct fru_info * fru, ^ ../include/ipmitool/helper.h:128: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:4485:6: note: in expansion of macro '__maxlen' __maxlen(type, ^ ipmi_sdr.c: In function 'ipmi_sdr_print_entity': ../include/ipmitool/helper.h:128: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:4550:7: note: in expansion of macro '__maxlen' __maxlen(entitystr, entity_id_vals[i].str)) == 0) { ^ 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; ^ ipmi_hpmfwupg.c: In function 'HpmfwupgCalculateChecksum': ../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; ^ ipmi_hpmfwupg.c:2342:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (dataIdx = 0; dataIdx < length; dataIdx++) { ^ ../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:94: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:95:2: warning: type of bit-field '__reserved1' is a GCC extension [-Wpedantic] uint8_t __reserved1 : 1; ^ ../include/ipmitool/ipmi_channel.h:96: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:107: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:108: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:109: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:110: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:111: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:112: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:113:2: warning: type of bit-field '__reserved2' is a GCC extension [-Wpedantic] uint8_t __reserved2 : 2; ^ ../include/ipmitool/ipmi_channel.h:120: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:121: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:122:2: warning: type of bit-field '__reserved3' is a GCC extension [-Wpedantic] uint8_t __reserved3 : 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; ^ In file included from ipmi_main.c:51:0: ipmi_main.c: In function 'ipmi_cmd_run': ../include/ipmitool/helper.h:128: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_main.c:207:32: note: in expansion of macro '__maxlen' if (strncmp(name, cmd->name, __maxlen(cmd->name, name)) == 0) ^ 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; ^ ipmi_fru.c: In function 'ipmi_fru_print_all': ipmi_fru.c:3116:6: warning: 'rc' may be used uninitialized in this function [-Wmaybe-uninitialized] int rc; ^ make[3]: Leaving directory '/tmp/instance-0/output-1/build/ipmitool-1.8.18/lib' make[2]: *** [Makefile:457: all-recursive] Error 1 make[2]: Leaving directory '/tmp/instance-0/output-1/build/ipmitool-1.8.18' make[1]: *** [Makefile:388: all] Error 2 make[1]: Leaving directory '/tmp/instance-0/output-1/build/ipmitool-1.8.18' make: *** [package/pkg-generic.mk:269: /tmp/instance-0/output-1/build/ipmitool-1.8.18/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-0/buildroot'