* Package: x11-misc/bbacpi-0.1.5-r4:0 * Repository: gentoo * Maintainer: desktop-misc@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking bbacpi-0.1.5.tar.gz to /var/tmp/portage/x11-misc/bbacpi-0.1.5-r4/work >>> Source unpacked in /var/tmp/portage/x11-misc/bbacpi-0.1.5-r4/work >>> Preparing source in /var/tmp/portage/x11-misc/bbacpi-0.1.5-r4/work/bbacpi-0.1.5 ... * Applying bbacpi-0.1.5-noextraquals.diff ... [ ok ] * Applying bbacpi-0.1.5-overflows.diff ... [ ok ] * Running eautoreconf in '/var/tmp/portage/x11-misc/bbacpi-0.1.5-r4/work/bbacpi-0.1.5' ... * Running 'aclocal --system-acdir=/var/tmp/portage/x11-misc/bbacpi-0.1.5-r4/temp/aclocal' ... [ ok ] * Moving configure.in to configure.ac (bug #426262) * Running 'autoconf --force' ... [ ok ] * Running 'automake --add-missing --copy --force-missing' ... [ ok ] * Running elibtoolize in: bbacpi-0.1.5/ >>> Source prepared. * Modern C testing: this build is using a /etc/portage/bashrc hook (2023-11-30T22:24)! * Modern C testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>> Configuring source in /var/tmp/portage/x11-misc/bbacpi-0.1.5-r4/work/bbacpi-0.1.5 ... * econf: updating bbacpi-0.1.5/config.guess with /usr/share/gnuconfig/config.guess * econf: updating bbacpi-0.1.5/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/bbacpi-0.1.5-r4 --htmldir=/usr/share/doc/bbacpi-0.1.5-r4/html --libdir=/usr/lib64 checking for a BSD-compatible install... /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for sed... sed checking whether to include interlacing image code... yes checking whether to use new mouse button style... yes checking for x86_64-pc-linux-gnu-gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether clang accepts -g... yes checking for clang option to enable C11 features... none needed checking whether clang understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of clang... none checking whether the compiler supports GNU C++... yes checking whether clang++ accepts -g... yes checking for clang++ option to enable C++11 features... none needed checking dependency style of clang++... none checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/time.h... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ctype.h... yes checking for fcntl.h... yes checking for libgen.h... yes checking for locale.h... yes checking for process.h... no checking for signal.h... yes checking for stdio.h... (cached) yes checking for time.h... yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for sys/select.h... yes checking for sys/stat.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/wait.h... yes checking how to run the C preprocessor... clang-cpp checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for XOpenDisplay in -lX11... yes checking for Imlib... checking for imlib-config... /usr/bin/imlib-config checking for egrep... (cached) /bin/grep -E checking for malloc.h... yes checking for an ANSI C-conforming const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for setlocale... yes checking for sigaction... yes checking for strftime... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating version.h config.status: creating Makefile config.status: creating data/Makefile config.status: executing depfiles commands >>> Source configured. '/var/tmp/portage/x11-misc/bbacpi-0.1.5-r4/temp/clang16-errors.log' -> '/var/tmp/clang/x11-misc/bbacpi-0.1.5-r4/clang16-errors.log' '/var/tmp/portage/x11-misc/bbacpi-0.1.5-r4/temp/clang16-safe.log' -> '/var/tmp/clang/x11-misc/bbacpi-0.1.5-r4/clang16-safe.log' >>> Compiling source in /var/tmp/portage/x11-misc/bbacpi-0.1.5-r4/work/bbacpi-0.1.5 ... make -j4 Making all in data make[1]: Entering directory '/var/tmp/portage/x11-misc/bbacpi-0.1.5-r4/work/bbacpi-0.1.5/data' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/var/tmp/portage/x11-misc/bbacpi-0.1.5-r4/work/bbacpi-0.1.5/data' make[1]: Entering directory '/var/tmp/portage/x11-misc/bbacpi-0.1.5-r4/work/bbacpi-0.1.5' clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"bbacpi\" -DVERSION=\"0.1.5\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_CTYPE_H=1 -DHAVE_FCNTL_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_STDIO_H=1 -DHAVE_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_LIBX11=1 -DHAVE_MALLOC_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SETLOCALE=1 -DHAVE_SIGACTION=1 -DHAVE_STRFTIME=1 -I. -DINTERLACE -DGLOBAL_BB=\"/usr/share/bbtools/bbacpi.bb\" -DGLOBAL_NOBB=\"/usr/share/bbtools/bbacpi.nobb\" -DGLOBAL_DATA=\"/usr/share/bbtools\" -D__IMLIB -O2 -pipe -march=native -fno-diagnostics-color -c -o bbacpi.o bbacpi.cc clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"bbacpi\" -DVERSION=\"0.1.5\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_CTYPE_H=1 -DHAVE_FCNTL_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_STDIO_H=1 -DHAVE_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_LIBX11=1 -DHAVE_MALLOC_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SETLOCALE=1 -DHAVE_SIGACTION=1 -DHAVE_STRFTIME=1 -I. -DINTERLACE -DGLOBAL_BB=\"/usr/share/bbtools/bbacpi.bb\" -DGLOBAL_NOBB=\"/usr/share/bbtools/bbacpi.nobb\" -DGLOBAL_DATA=\"/usr/share/bbtools\" -D__IMLIB -O2 -pipe -march=native -fno-diagnostics-color -c -o Image.o Image.cc clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"bbacpi\" -DVERSION=\"0.1.5\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_CTYPE_H=1 -DHAVE_FCNTL_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_STDIO_H=1 -DHAVE_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_LIBX11=1 -DHAVE_MALLOC_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SETLOCALE=1 -DHAVE_SIGACTION=1 -DHAVE_STRFTIME=1 -I. -DINTERLACE -DGLOBAL_BB=\"/usr/share/bbtools/bbacpi.bb\" -DGLOBAL_NOBB=\"/usr/share/bbtools/bbacpi.nobb\" -DGLOBAL_DATA=\"/usr/share/bbtools\" -D__IMLIB -O2 -pipe -march=native -fno-diagnostics-color -c -o LinkedList.o LinkedList.cc clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"bbacpi\" -DVERSION=\"0.1.5\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_CTYPE_H=1 -DHAVE_FCNTL_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_STDIO_H=1 -DHAVE_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_LIBX11=1 -DHAVE_MALLOC_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SETLOCALE=1 -DHAVE_SIGACTION=1 -DHAVE_STRFTIME=1 -I. -DINTERLACE -DGLOBAL_BB=\"/usr/share/bbtools/bbacpi.bb\" -DGLOBAL_NOBB=\"/usr/share/bbtools/bbacpi.nobb\" -DGLOBAL_DATA=\"/usr/share/bbtools\" -D__IMLIB -O2 -pipe -march=native -fno-diagnostics-color -c -o resource.o resource.cc LinkedList.cc:79:12: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 79 | for (register int i = 0; i < index; i++) | ^~~~~~~~ LinkedList.cc:116:8: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 116 | for (register int i = 0, r = elements; i < r; i++) | ^~~~~~~~ LinkedList.cc:116:8: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 116 | for (register int i = 0, r = elements; i < r; i++) | ^~~~~~~~ LinkedList.cc:171:12: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 171 | for (register int i = 1; i < index; i++) | ^~~~~~~~ LinkedList.cc:224:10: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 224 | for (register int i = 1; i < elements; i++) | ^~~~~~~~ LinkedList.cc:245:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 245 | } else { | ^ LinkedList.cc:283:10: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 283 | for (register int i = 1; i < index; i++) | ^~~~~~~~ LinkedList.cc:329:10: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 329 | for (register int i = 1; i < index; i++) | ^~~~~~~~ 1 warning and 7 errors generated. make[1]: *** [Makefile:487: LinkedList.o] Error 1 make[1]: *** Waiting for unfinished jobs.... Image.cc:157:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 157 | register unsigned int i = 0; | ^~~~~~~~ Image.cc:279:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 279 | register unsigned int x, y, dithx, dithy, r, g, b, o, er, eg, eb, offset; | ^~~~~~~~ Image.cc:279:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 279 | register unsigned int x, y, dithx, dithy, r, g, b, o, er, eg, eb, offset; | ^~~~~~~~ Image.cc:279:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 279 | register unsigned int x, y, dithx, dithy, r, g, b, o, er, eg, eb, offset; | ^~~~~~~~ Image.cc:279:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 279 | register unsigned int x, y, dithx, dithy, r, g, b, o, er, eg, eb, offset; | ^~~~~~~~ Image.cc:279:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 279 | register unsigned int x, y, dithx, dithy, r, g, b, o, er, eg, eb, offset; | ^~~~~~~~ Image.cc:279:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 279 | register unsigned int x, y, dithx, dithy, r, g, b, o, er, eg, eb, offset; | ^~~~~~~~ Image.cc:279:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 279 | register unsigned int x, y, dithx, dithy, r, g, b, o, er, eg, eb, offset; | ^~~~~~~~ Image.cc:279:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 279 | register unsigned int x, y, dithx, dithy, r, g, b, o, er, eg, eb, offset; | ^~~~~~~~ Image.cc:279:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 279 | register unsigned int x, y, dithx, dithy, r, g, b, o, er, eg, eb, offset; | ^~~~~~~~ Image.cc:279:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 279 | register unsigned int x, y, dithx, dithy, r, g, b, o, er, eg, eb, offset; | ^~~~~~~~ Image.cc:279:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 279 | register unsigned int x, y, dithx, dithy, r, g, b, o, er, eg, eb, offset; | ^~~~~~~~ Image.cc:279:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 279 | register unsigned int x, y, dithx, dithy, r, g, b, o, er, eg, eb, offset; | ^~~~~~~~ Image.cc:688:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 688 | register unsigned char r, g, b, rr ,gg ,bb; | ^~~~~~~~ Image.cc:688:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 688 | register unsigned char r, g, b, rr ,gg ,bb; | ^~~~~~~~ Image.cc:688:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 688 | register unsigned char r, g, b, rr ,gg ,bb; | ^~~~~~~~ Image.cc:688:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 688 | register unsigned char r, g, b, rr ,gg ,bb; | ^~~~~~~~ Image.cc:688:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 688 | register unsigned char r, g, b, rr ,gg ,bb; | ^~~~~~~~ Image.cc:688:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 688 | register unsigned char r, g, b, rr ,gg ,bb; | ^~~~~~~~ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[1]: *** [Makefile:487: Image.o] Error 1 In file included from resource.cc:25: In file included from ./resource.hh:24: In file included from ./bbacpi.hh:30: In file included from /usr/include/c++/v1/fstream:187: In file included from /usr/include/c++/v1/__locale:21: In file included from /usr/include/c++/v1/mutex:192: In file included from /usr/include/c++/v1/__condition_variable/condition_variable.h:17: In file included from /usr/include/c++/v1/__mutex/unique_lock.h:17: In file included from /usr/include/c++/v1/__system_error/system_error.h:14: In file included from /usr/include/c++/v1/__system_error/error_category.h:15: In file included from /usr/include/c++/v1/string:622: In file included from /usr/include/c++/v1/string_view:1059: In file included from /usr/include/c++/v1/algorithm:1960: In file included from /usr/include/c++/v1/iterator:683: In file included from /usr/include/c++/v1/__iterator/common_iterator.h:31: /usr/include/c++/v1/variant:535:39: error: too few arguments provided to function-like macro invocation 535 | return __at(__fmatrix, __vs.index()...)( | ^ /usr/include/X11/Xos.h:67:12: note: macro 'index' defined here 67 | # define index(s,c) (strchr((s),(c))) | ^ In file included from resource.cc:25: In file included from ./resource.hh:24: In file included from ./bbacpi.hh:30: In file included from /usr/include/c++/v1/fstream:187: In file included from /usr/include/c++/v1/__locale:21: In file included from /usr/include/c++/v1/mutex:192: In file included from /usr/include/c++/v1/__condition_variable/condition_variable.h:17: In file included from /usr/include/c++/v1/__mutex/unique_lock.h:17: In file included from /usr/include/c++/v1/__system_error/system_error.h:14: In file included from /usr/include/c++/v1/__system_error/error_category.h:15: In file included from /usr/include/c++/v1/string:622: In file included from /usr/include/c++/v1/string_view:1059: In file included from /usr/include/c++/v1/algorithm:1960: In file included from /usr/include/c++/v1/iterator:683: In file included from /usr/include/c++/v1/__iterator/common_iterator.h:31: /usr/include/c++/v1/variant:816:18: error: too few arguments provided to function-like macro invocation 816 | return index() == variant_npos; | ^ /usr/include/X11/Xos.h:67:12: note: macro 'index' defined here 67 | # define index(s,c) (strchr((s),(c))) | ^ In file included from resource.cc:25: In file included from ./resource.hh:24: In file included from ./bbacpi.hh:30: In file included from /usr/include/c++/v1/fstream:187: In file included from /usr/include/c++/v1/__locale:21: In file included from /usr/include/c++/v1/mutex:192: In file included from /usr/include/c++/v1/__condition_variable/condition_variable.h:17: In file included from /usr/include/c++/v1/__mutex/unique_lock.h:17: In file included from /usr/include/c++/v1/__system_error/system_error.h:14: In file included from /usr/include/c++/v1/__system_error/error_category.h:15: In file included from /usr/include/c++/v1/string:622: In file included from /usr/include/c++/v1/string_view:1059: In file included from /usr/include/c++/v1/algorithm:1960: In file included from /usr/include/c++/v1/iterator:683: In file included from /usr/include/c++/v1/__iterator/common_iterator.h:31: /usr/include/c++/v1/variant:820:26: error: too few arguments provided to function-like macro invocation 820 | constexpr size_t index() const noexcept { | ^ /usr/include/X11/Xos.h:67:12: note: macro 'index' defined here 67 | # define index(s,c) (strchr((s),(c))) | ^ In file included from resource.cc:25: In file included from ./resource.hh:24: In file included from ./bbacpi.hh:30: In file included from /usr/include/c++/v1/fstream:187: In file included from /usr/include/c++/v1/__locale:21: In file included from /usr/include/c++/v1/mutex:192: In file included from /usr/include/c++/v1/__condition_variable/condition_variable.h:17: In file included from /usr/include/c++/v1/__mutex/unique_lock.h:17: In file included from /usr/include/c++/v1/__system_error/system_error.h:14: In file included from /usr/include/c++/v1/__system_error/error_category.h:15: In file included from /usr/include/c++/v1/string:622: In file included from /usr/include/c++/v1/string_view:1059: In file included from /usr/include/c++/v1/algorithm:1960: In file included from /usr/include/c++/v1/iterator:683: In file included from /usr/include/c++/v1/__iterator/common_iterator.h:31: /usr/include/c++/v1/variant:820:3: error: non-static data member cannot be constexpr; did you intend to make it const? 820 | constexpr size_t index() const noexcept { | ^ /usr/include/c++/v1/variant:819:3: error: '__abi_tag__' attribute only applies to structs, variables, functions, and namespaces 819 | _LIBCPP_HIDE_FROM_ABI | ^ /usr/include/c++/v1/__config:820:26: note: expanded from macro '_LIBCPP_HIDE_FROM_ABI' 820 | __attribute__((__abi_tag__(_LIBCPP_TOSTRING(_LIBCPP_ODR_SIGNATURE)))) | ^ In file included from resource.cc:25: In file included from ./resource.hh:24: In file included from ./bbacpi.hh:30: In file included from /usr/include/c++/v1/fstream:187: In file included from /usr/include/c++/v1/__locale:21: In file included from /usr/include/c++/v1/mutex:192: In file included from /usr/include/c++/v1/__condition_variable/condition_variable.h:17: In file included from /usr/include/c++/v1/__mutex/unique_lock.h:17: In file included from /usr/include/c++/v1/__system_error/system_error.h:14: In file included from /usr/include/c++/v1/__system_error/error_category.h:15: In file included from /usr/include/c++/v1/string:622: In file included from /usr/include/c++/v1/string_view:1059: In file included from /usr/include/c++/v1/algorithm:1960: In file included from /usr/include/c++/v1/iterator:683: In file included from /usr/include/c++/v1/__iterator/common_iterator.h:31: /usr/include/c++/v1/variant:820:25: error: expected ';' at end of declaration list 820 | constexpr size_t index() const noexcept { | ^ /usr/include/c++/v1/variant:805:9: error: member initializer '__data' does not name a non-static data member or base class 805 | : __data(__tag), __index(__variant_npos<__index_t>) {} | ^~~~~~~~~~~~~ /usr/include/c++/v1/variant:811:9: error: member initializer '__data' does not name a non-static data member or base class 811 | __data(in_place_index<_Ip>, _VSTD::forward<_Args>(__args)...), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/v1/variant:923:23: error: too few arguments provided to function-like macro invocation 923 | __rhs.index(), | ^ /usr/include/X11/Xos.h:67:12: note: macro 'index' defined here 67 | # define index(s,c) (strchr((s),(c))) | ^ In file included from resource.cc:25: In file included from ./resource.hh:24: In file included from ./bbacpi.hh:30: In file included from /usr/include/c++/v1/fstream:187: In file included from /usr/include/c++/v1/__locale:21: In file included from /usr/include/c++/v1/mutex:192: In file included from /usr/include/c++/v1/__condition_variable/condition_variable.h:17: In file included from /usr/include/c++/v1/__mutex/unique_lock.h:17: In file included from /usr/include/c++/v1/__system_error/system_error.h:14: In file included from /usr/include/c++/v1/__system_error/error_category.h:15: In file included from /usr/include/c++/v1/string:622: In file included from /usr/include/c++/v1/string_view:1059: In file included from /usr/include/c++/v1/algorithm:1960: In file included from /usr/include/c++/v1/iterator:683: In file included from /usr/include/c++/v1/__iterator/common_iterator.h:31: /usr/include/c++/v1/variant:930:35: error: too few arguments provided to function-like macro invocation 930 | __lhs.__index = __rhs.index(); | ^ /usr/include/X11/Xos.h:67:12: note: macro 'index' defined here 67 | # define index(s,c) (strchr((s),(c))) | ^ In file included from resource.cc:25: In file included from ./resource.hh:24: In file included from ./bbacpi.hh:30: In file included from /usr/include/c++/v1/fstream:187: In file included from /usr/include/c++/v1/__locale:21: In file included from /usr/include/c++/v1/mutex:192: In file included from /usr/include/c++/v1/__condition_variable/condition_variable.h:17: In file included from /usr/include/c++/v1/__mutex/unique_lock.h:17: In file included from /usr/include/c++/v1/__system_error/system_error.h:14: In file included from /usr/include/c++/v1/__system_error/error_category.h:15: In file included from /usr/include/c++/v1/string:622: In file included from /usr/include/c++/v1/string_view:1059: In file included from /usr/include/c++/v1/algorithm:1960: In file included from /usr/include/c++/v1/iterator:683: In file included from /usr/include/c++/v1/__iterator/common_iterator.h:31: /usr/include/c++/v1/variant:1036:21: error: too few arguments provided to function-like macro invocation 1036 | if (this->index() == _Ip) { | ^ /usr/include/X11/Xos.h:67:12: note: macro 'index' defined here 67 | # define index(s,c) (strchr((s),(c))) | ^ In file included from resource.cc:25: In file included from ./resource.hh:24: In file included from ./bbacpi.hh:30: In file included from /usr/include/c++/v1/fstream:187: In file included from /usr/include/c++/v1/__locale:21: In file included from /usr/include/c++/v1/mutex:192: In file included from /usr/include/c++/v1/__condition_variable/condition_variable.h:17: In file included from /usr/include/c++/v1/__mutex/unique_lock.h:17: In file included from /usr/include/c++/v1/__system_error/system_error.h:14: In file included from /usr/include/c++/v1/__system_error/error_category.h:15: In file included from /usr/include/c++/v1/string:622: In file included from /usr/include/c++/v1/string_view:1059: In file included from /usr/include/c++/v1/algorithm:1960: In file included from /usr/include/c++/v1/iterator:683: In file included from /usr/include/c++/v1/__iterator/common_iterator.h:31: /usr/include/c++/v1/variant:1063:24: error: too few arguments provided to function-like macro invocation 1063 | __that.index(), | ^ /usr/include/X11/Xos.h:67:12: note: macro 'index' defined here 67 | # define index(s,c) (strchr((s),(c))) | ^ In file included from resource.cc:25: In file included from ./resource.hh:24: In file included from ./bbacpi.hh:30: In file included from /usr/include/c++/v1/fstream:187: In file included from /usr/include/c++/v1/__locale:21: In file included from /usr/include/c++/v1/mutex:192: In file included from /usr/include/c++/v1/__condition_variable/condition_variable.h:17: In file included from /usr/include/c++/v1/__mutex/unique_lock.h:17: In file included from /usr/include/c++/v1/__system_error/system_error.h:14: In file included from /usr/include/c++/v1/__system_error/error_category.h:15: In file included from /usr/include/c++/v1/string:622: In file included from /usr/include/c++/v1/string_view:1059: In file included from /usr/include/c++/v1/algorithm:1960: In file included from /usr/include/c++/v1/iterator:683: In file included from /usr/include/c++/v1/__iterator/common_iterator.h:31: /usr/include/c++/v1/variant:1177:28: error: too few arguments provided to function-like macro invocation 1177 | } else if (this->index() == __that.index()) { | ^ /usr/include/X11/Xos.h:67:12: note: macro 'index' defined here 67 | # define index(s,c) (strchr((s),(c))) | ^ In file included from resource.cc:25: In file included from ./resource.hh:24: In file included from ./bbacpi.hh:30: In file included from /usr/include/c++/v1/fstream:187: In file included from /usr/include/c++/v1/__locale:21: In file included from /usr/include/c++/v1/mutex:192: In file included from /usr/include/c++/v1/__condition_variable/condition_variable.h:17: In file included from /usr/include/c++/v1/__mutex/unique_lock.h:17: In file included from /usr/include/c++/v1/__system_error/system_error.h:14: In file included from /usr/include/c++/v1/__system_error/error_category.h:15: In file included from /usr/include/c++/v1/string:622: In file included from /usr/include/c++/v1/string_view:1059: In file included from /usr/include/c++/v1/algorithm:1960: In file included from /usr/include/c++/v1/iterator:683: In file included from /usr/include/c++/v1/__iterator/common_iterator.h:31: /usr/include/c++/v1/variant:1177:46: error: too few arguments provided to function-like macro invocation 1177 | } else if (this->index() == __that.index()) { | ^ /usr/include/X11/Xos.h:67:12: note: macro 'index' defined here 67 | # define index(s,c) (strchr((s),(c))) | ^ In file included from resource.cc:25: In file included from ./resource.hh:24: In file included from ./bbacpi.hh:30: In file included from /usr/include/c++/v1/fstream:187: In file included from /usr/include/c++/v1/__locale:21: In file included from /usr/include/c++/v1/mutex:192: In file included from /usr/include/c++/v1/__condition_variable/condition_variable.h:17: In file included from /usr/include/c++/v1/__mutex/unique_lock.h:17: In file included from /usr/include/c++/v1/__system_error/system_error.h:14: In file included from /usr/include/c++/v1/__system_error/error_category.h:15: In file included from /usr/include/c++/v1/string:622: In file included from /usr/include/c++/v1/string_view:1059: In file included from /usr/include/c++/v1/algorithm:1960: In file included from /usr/include/c++/v1/iterator:683: In file included from /usr/include/c++/v1/__iterator/common_iterator.h:31: /usr/include/c++/v1/variant:1179:23: error: too few arguments provided to function-like macro invocation 1179 | this->index(), | ^ /usr/include/X11/Xos.h:67:12: note: macro 'index' defined here 67 | # define index(s,c) (strchr((s),(c))) | ^ In file included from resource.cc:25: In file included from ./resource.hh:24: In file included from ./bbacpi.hh:30: In file included from /usr/include/c++/v1/fstream:187: In file included from /usr/include/c++/v1/__locale:21: In file included from /usr/include/c++/v1/mutex:192: In file included from /usr/include/c++/v1/__condition_variable/condition_variable.h:17: In file included from /usr/include/c++/v1/__mutex/unique_lock.h:17: In file included from /usr/include/c++/v1/__system_error/system_error.h:14: In file included from /usr/include/c++/v1/__system_error/error_category.h:15: In file included from /usr/include/c++/v1/string:622: In file included from /usr/include/c++/v1/string_view:1059: In file included from /usr/include/c++/v1/algorithm:1960: In file included from /usr/include/c++/v1/iterator:683: In file included from /usr/include/c++/v1/__iterator/common_iterator.h:31: /usr/include/c++/v1/variant:1222:68: error: too few arguments provided to function-like macro invocation 1222 | return this->valueless_by_exception() || __results[this->index()]; | ^ /usr/include/X11/Xos.h:67:12: note: macro 'index' defined here 67 | # define index(s,c) (strchr((s),(c))) | ^ In file included from resource.cc:25: In file included from ./resource.hh:24: In file included from ./bbacpi.hh:30: In file included from /usr/include/c++/v1/fstream:187: In file included from /usr/include/c++/v1/__locale:21: In file included from /usr/include/c++/v1/mutex:192: In file included from /usr/include/c++/v1/__condition_variable/condition_variable.h:17: In file included from /usr/include/c++/v1/__mutex/unique_lock.h:17: In file included from /usr/include/c++/v1/__system_error/system_error.h:14: In file included from /usr/include/c++/v1/__system_error/error_category.h:15: In file included from /usr/include/c++/v1/string:622: In file included from /usr/include/c++/v1/string_view:1059: In file included from /usr/include/c++/v1/algorithm:1960: In file included from /usr/include/c++/v1/iterator:683: In file included from /usr/include/c++/v1/__iterator/common_iterator.h:31: /usr/include/c++/v1/variant:1474:26: error: too few arguments provided to function-like macro invocation 1474 | constexpr size_t index() const noexcept { return __impl_.index(); } | ^ /usr/include/X11/Xos.h:67:12: note: macro 'index' defined here 67 | # define index(s,c) (strchr((s),(c))) | ^ In file included from resource.cc:25: In file included from ./resource.hh:24: In file included from ./bbacpi.hh:30: In file included from /usr/include/c++/v1/fstream:187: In file included from /usr/include/c++/v1/__locale:21: In file included from /usr/include/c++/v1/mutex:192: In file included from /usr/include/c++/v1/__condition_variable/condition_variable.h:17: In file included from /usr/include/c++/v1/__mutex/unique_lock.h:17: In file included from /usr/include/c++/v1/__system_error/system_error.h:14: In file included from /usr/include/c++/v1/__system_error/error_category.h:15: In file included from /usr/include/c++/v1/string:622: In file included from /usr/include/c++/v1/string_view:1059: In file included from /usr/include/c++/v1/algorithm:1960: In file included from /usr/include/c++/v1/iterator:683: In file included from /usr/include/c++/v1/__iterator/common_iterator.h:31: /usr/include/c++/v1/variant:1474:3: error: non-static data member cannot be constexpr; did you intend to make it const? 1474 | constexpr size_t index() const noexcept { return __impl_.index(); } | ^ /usr/include/c++/v1/variant:1473:3: error: '__abi_tag__' attribute only applies to structs, variables, functions, and namespaces 1473 | _LIBCPP_HIDE_FROM_ABI | ^ /usr/include/c++/v1/__config:820:26: note: expanded from macro '_LIBCPP_HIDE_FROM_ABI' 820 | __attribute__((__abi_tag__(_LIBCPP_TOSTRING(_LIBCPP_ODR_SIGNATURE)))) | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] In file included from bbacpi.cc:24: In file included from ./bbacpi.hh:30: In file included from /usr/include/c++/v1/fstream:187: In file included from /usr/include/c++/v1/__locale:21: In file included from /usr/include/c++/v1/mutex:192: In file included from /usr/include/c++/v1/__condition_variable/condition_variable.h:17: In file included from /usr/include/c++/v1/__mutex/unique_lock.h:17: In file included from /usr/include/c++/v1/__system_error/system_error.h:14: In file included from /usr/include/c++/v1/__system_error/error_category.h:15: In file included from /usr/include/c++/v1/string:622: In file included from /usr/include/c++/v1/string_view:1059: In file included from /usr/include/c++/v1/algorithm:1960: In file included from /usr/include/c++/v1/iterator:683: In file included from /usr/include/c++/v1/__iterator/common_iterator.h:31: /usr/include/c++/v1/variant:535:39: error: too few arguments provided to function-like macro invocation 535 | return __at(__fmatrix, __vs.index()...)( | ^ /usr/include/X11/Xos.h:67:12: note: macro 'index' defined here 67 | # define index(s,c) (strchr((s),(c))) | ^ In file included from bbacpi.cc:24: In file included from ./bbacpi.hh:30: In file included from /usr/include/c++/v1/fstream:187: In file included from /usr/include/c++/v1/__locale:21: In file included from /usr/include/c++/v1/mutex:192: In file included from /usr/include/c++/v1/__condition_variable/condition_variable.h:17: In file included from /usr/include/c++/v1/__mutex/unique_lock.h:17: In file included from /usr/include/c++/v1/__system_error/system_error.h:14: In file included from /usr/include/c++/v1/__system_error/error_category.h:15: In file included from /usr/include/c++/v1/string:622: In file included from /usr/include/c++/v1/string_view:1059: In file included from /usr/include/c++/v1/algorithm:1960: In file included from /usr/include/c++/v1/iterator:683: In file included from /usr/include/c++/v1/__iterator/common_iterator.h:31: /usr/include/c++/v1/variant:816:18: error: too few arguments provided to function-like macro invocation 816 | return index() == variant_npos; | ^ /usr/include/X11/Xos.h:67:12: note: macro 'index' defined here 67 | # define index(s,c) (strchr((s),(c))) | ^ In file included from bbacpi.cc:24: In file included from ./bbacpi.hh:30: In file included from /usr/include/c++/v1/fstream:187: In file included from /usr/include/c++/v1/__locale:21: In file included from /usr/include/c++/v1/mutex:192: In file included from /usr/include/c++/v1/__condition_variable/condition_variable.h:17: In file included from /usr/include/c++/v1/__mutex/unique_lock.h:17: In file included from /usr/include/c++/v1/__system_error/system_error.h:14: In file included from /usr/include/c++/v1/__system_error/error_category.h:15: In file included from /usr/include/c++/v1/string:622: In file included from /usr/include/c++/v1/string_view:1059: In file included from /usr/include/c++/v1/algorithm:1960: In file included from /usr/include/c++/v1/iterator:683: In file included from /usr/include/c++/v1/__iterator/common_iterator.h:31: /usr/include/c++/v1/variant:820:26: error: too few arguments provided to function-like macro invocation 820 | constexpr size_t index() const noexcept { | ^ /usr/include/X11/Xos.h:67:12: note: macro 'index' defined here 67 | # define index(s,c) (strchr((s),(c))) | ^ In file included from bbacpi.cc:24: In file included from ./bbacpi.hh:30: In file included from /usr/include/c++/v1/fstream:187: In file included from /usr/include/c++/v1/__locale:21: In file included from /usr/include/c++/v1/mutex:192: In file included from /usr/include/c++/v1/__condition_variable/condition_variable.h:17: In file included from /usr/include/c++/v1/__mutex/unique_lock.h:17: In file included from /usr/include/c++/v1/__system_error/system_error.h:14: In file included from /usr/include/c++/v1/__system_error/error_category.h:15: In file included from /usr/include/c++/v1/string:622: In file included from /usr/include/c++/v1/string_view:1059: In file included from /usr/include/c++/v1/algorithm:1960: In file included from /usr/include/c++/v1/iterator:683: In file included from /usr/include/c++/v1/__iterator/common_iterator.h:31: /usr/include/c++/v1/variant:820:3: error: non-static data member cannot be constexpr; did you intend to make it const? 820 | constexpr size_t index() const noexcept { | ^ /usr/include/c++/v1/variant:819:3: error: '__abi_tag__' attribute only applies to structs, variables, functions, and namespaces 819 | _LIBCPP_HIDE_FROM_ABI | ^ /usr/include/c++/v1/__config:820:26: note: expanded from macro '_LIBCPP_HIDE_FROM_ABI' 820 | __attribute__((__abi_tag__(_LIBCPP_TOSTRING(_LIBCPP_ODR_SIGNATURE)))) | ^ In file included from bbacpi.cc:24: In file included from ./bbacpi.hh:30: In file included from /usr/include/c++/v1/fstream:187: In file included from /usr/include/c++/v1/__locale:21: In file included from /usr/include/c++/v1/mutex:192: In file included from /usr/include/c++/v1/__condition_variable/condition_variable.h:17: In file included from /usr/include/c++/v1/__mutex/unique_lock.h:17: In file included from /usr/include/c++/v1/__system_error/system_error.h:14: In file included from /usr/include/c++/v1/__system_error/error_category.h:15: In file included from /usr/include/c++/v1/string:622: In file included from /usr/include/c++/v1/string_view:1059: In file included from /usr/include/c++/v1/algorithm:1960: In file included from /usr/include/c++/v1/iterator:683: In file included from /usr/include/c++/v1/__iterator/common_iterator.h:31: /usr/include/c++/v1/variant:820:25: error: expected ';' at end of declaration list 820 | constexpr size_t index() const noexcept { | ^ /usr/include/c++/v1/variant:805:9: error: member initializer '__data' does not name a non-static data member or base class 805 | : __data(__tag), __index(__variant_npos<__index_t>) {} | ^~~~~~~~~~~~~ /usr/include/c++/v1/variant:811:9: error: member initializer '__data' does not name a non-static data member or base class 811 | __data(in_place_index<_Ip>, _VSTD::forward<_Args>(__args)...), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/v1/variant:923:23: error: too few arguments provided to function-like macro invocation 923 | __rhs.index(), | ^ /usr/include/X11/Xos.h:67:12: note: macro 'index' defined here 67 | # define index(s,c) (strchr((s),(c))) | ^ In file included from bbacpi.cc:24: In file included from ./bbacpi.hh:30: In file included from /usr/include/c++/v1/fstream:187: In file included from /usr/include/c++/v1/__locale:21: In file included from /usr/include/c++/v1/mutex:192: In file included from /usr/include/c++/v1/__condition_variable/condition_variable.h:17: In file included from /usr/include/c++/v1/__mutex/unique_lock.h:17: In file included from /usr/include/c++/v1/__system_error/system_error.h:14: In file included from /usr/include/c++/v1/__system_error/error_category.h:15: In file included from /usr/include/c++/v1/string:622: In file included from /usr/include/c++/v1/string_view:1059: In file included from /usr/include/c++/v1/algorithm:1960: In file included from /usr/include/c++/v1/iterator:683: In file included from /usr/include/c++/v1/__iterator/common_iterator.h:31: /usr/include/c++/v1/variant:930:35: error: too few arguments provided to function-like macro invocation 930 | __lhs.__index = __rhs.index(); | ^ /usr/include/X11/Xos.h:67:12: note: macro 'index' defined here 67 | # define index(s,c) (strchr((s),(c))) | ^ In file included from bbacpi.cc:24: In file included from ./bbacpi.hh:30: In file included from /usr/include/c++/v1/fstream:187: In file included from /usr/include/c++/v1/__locale:21: In file included from /usr/include/c++/v1/mutex:192: In file included from /usr/include/c++/v1/__condition_variable/condition_variable.h:17: In file included from /usr/include/c++/v1/__mutex/unique_lock.h:17: In file included from /usr/include/c++/v1/__system_error/system_error.h:14: In file included from /usr/include/c++/v1/__system_error/error_category.h:15: In file included from /usr/include/c++/v1/string:622: In file included from /usr/include/c++/v1/string_view:1059: In file included from /usr/include/c++/v1/algorithm:1960: In file included from /usr/include/c++/v1/iterator:683: In file included from /usr/include/c++/v1/__iterator/common_iterator.h:31: /usr/include/c++/v1/variant:1036:21: error: too few arguments provided to function-like macro invocation 1036 | if (this->index() == _Ip) { | ^ /usr/include/X11/Xos.h:67:12: note: macro 'index' defined here 67 | # define index(s,c) (strchr((s),(c))) | ^ In file included from bbacpi.cc:24: In file included from ./bbacpi.hh:30: In file included from /usr/include/c++/v1/fstream:187: In file included from /usr/include/c++/v1/__locale:21: In file included from /usr/include/c++/v1/mutex:192: In file included from /usr/include/c++/v1/__condition_variable/condition_variable.h:17: In file included from /usr/include/c++/v1/__mutex/unique_lock.h:17: In file included from /usr/include/c++/v1/__system_error/system_error.h:14: In file included from /usr/include/c++/v1/__system_error/error_category.h:15: In file included from /usr/include/c++/v1/string:622: In file included from /usr/include/c++/v1/string_view:1059: In file included from /usr/include/c++/v1/algorithm:1960: In file included from /usr/include/c++/v1/iterator:683: In file included from /usr/include/c++/v1/__iterator/common_iterator.h:31: /usr/include/c++/v1/variant:1063:24: error: too few arguments provided to function-like macro invocation 1063 | __that.index(), | ^ /usr/include/X11/Xos.h:67:12: note: macro 'index' defined here 67 | # define index(s,c) (strchr((s),(c))) | ^ In file included from bbacpi.cc:24: In file included from ./bbacpi.hh:30: In file included from /usr/include/c++/v1/fstream:187: In file included from /usr/include/c++/v1/__locale:21: In file included from /usr/include/c++/v1/mutex:192: In file included from /usr/include/c++/v1/__condition_variable/condition_variable.h:17: In file included from /usr/include/c++/v1/__mutex/unique_lock.h:17: In file included from /usr/include/c++/v1/__system_error/system_error.h:14: In file included from /usr/include/c++/v1/__system_error/error_category.h:15: In file included from /usr/include/c++/v1/string:622: In file included from /usr/include/c++/v1/string_view:1059: In file included from /usr/include/c++/v1/algorithm:1960: In file included from /usr/include/c++/v1/iterator:683: In file included from /usr/include/c++/v1/__iterator/common_iterator.h:31: /usr/include/c++/v1/variant:1177:28: error: too few arguments provided to function-like macro invocation 1177 | } else if (this->index() == __that.index()) { | ^ /usr/include/X11/Xos.h:67:12: note: macro 'index' defined here 67 | # define index(s,c) (strchr((s),(c))) | ^ In file included from bbacpi.cc:24: In file included from ./bbacpi.hh:30: In file included from /usr/include/c++/v1/fstream:187: In file included from /usr/include/c++/v1/__locale:21: In file included from /usr/include/c++/v1/mutex:192: In file included from /usr/include/c++/v1/__condition_variable/condition_variable.h:17: In file included from /usr/include/c++/v1/__mutex/unique_lock.h:17: In file included from /usr/include/c++/v1/__system_error/system_error.h:14: In file included from /usr/include/c++/v1/__system_error/error_category.h:15: In file included from /usr/include/c++/v1/string:622: In file included from /usr/include/c++/v1/string_view:1059: In file included from /usr/include/c++/v1/algorithm:1960: In file included from /usr/include/c++/v1/iterator:683: In file included from /usr/include/c++/v1/__iterator/common_iterator.h:31: /usr/include/c++/v1/variant:1177:46: error: too few arguments provided to function-like macro invocation 1177 | } else if (this->index() == __that.index()) { | ^ /usr/include/X11/Xos.h:67:12: note: macro 'index' defined here 67 | # define index(s,c) (strchr((s),(c))) | ^ In file included from bbacpi.cc:24: In file included from ./bbacpi.hh:30: In file included from /usr/include/c++/v1/fstream:187: In file included from /usr/include/c++/v1/__locale:21: In file included from /usr/include/c++/v1/mutex:192: In file included from /usr/include/c++/v1/__condition_variable/condition_variable.h:17: In file included from /usr/include/c++/v1/__mutex/unique_lock.h:17: In file included from /usr/include/c++/v1/__system_error/system_error.h:14: In file included from /usr/include/c++/v1/__system_error/error_category.h:15: In file included from /usr/include/c++/v1/string:622: In file included from /usr/include/c++/v1/string_view:1059: In file included from /usr/include/c++/v1/algorithm:1960: In file included from /usr/include/c++/v1/iterator:683: In file included from /usr/include/c++/v1/__iterator/common_iterator.h:31: /usr/include/c++/v1/variant:1179:23: error: too few arguments provided to function-like macro invocation 1179 | this->index(), | ^ /usr/include/X11/Xos.h:67:12: note: macro 'index' defined here 67 | # define index(s,c) (strchr((s),(c))) | ^ In file included from bbacpi.cc:24: In file included from ./bbacpi.hh:30: In file included from /usr/include/c++/v1/fstream:187: In file included from /usr/include/c++/v1/__locale:21: In file included from /usr/include/c++/v1/mutex:192: In file included from /usr/include/c++/v1/__condition_variable/condition_variable.h:17: In file included from /usr/include/c++/v1/__mutex/unique_lock.h:17: In file included from /usr/include/c++/v1/__system_error/system_error.h:14: In file included from /usr/include/c++/v1/__system_error/error_category.h:15: In file included from /usr/include/c++/v1/string:622: In file included from /usr/include/c++/v1/string_view:1059: In file included from /usr/include/c++/v1/algorithm:1960: In file included from /usr/include/c++/v1/iterator:683: In file included from /usr/include/c++/v1/__iterator/common_iterator.h:31: /usr/include/c++/v1/variant:1222:68: error: too few arguments provided to function-like macro invocation 1222 | return this->valueless_by_exception() || __results[this->index()]; | ^ /usr/include/X11/Xos.h:67:12: note: macro 'index' defined here 67 | # define index(s,c) (strchr((s),(c))) | ^ In file included from bbacpi.cc:24: In file included from ./bbacpi.hh:30: In file included from /usr/include/c++/v1/fstream:187: In file included from /usr/include/c++/v1/__locale:21: In file included from /usr/include/c++/v1/mutex:192: In file included from /usr/include/c++/v1/__condition_variable/condition_variable.h:17: In file included from /usr/include/c++/v1/__mutex/unique_lock.h:17: In file included from /usr/include/c++/v1/__system_error/system_error.h:14: In file included from /usr/include/c++/v1/__system_error/error_category.h:15: In file included from /usr/include/c++/v1/string:622: In file included from /usr/include/c++/v1/string_view:1059: In file included from /usr/include/c++/v1/algorithm:1960: In file included from /usr/include/c++/v1/iterator:683: In file included from /usr/include/c++/v1/__iterator/common_iterator.h:31: /usr/include/c++/v1/variant:1474:26: error: too few arguments provided to function-like macro invocation 1474 | constexpr size_t index() const noexcept { return __impl_.index(); } | ^ /usr/include/X11/Xos.h:67:12: note: macro 'index' defined here 67 | # define index(s,c) (strchr((s),(c))) | ^ In file included from bbacpi.cc:24: In file included from ./bbacpi.hh:30: In file included from /usr/include/c++/v1/fstream:187: In file included from /usr/include/c++/v1/__locale:21: In file included from /usr/include/c++/v1/mutex:192: In file included from /usr/include/c++/v1/__condition_variable/condition_variable.h:17: In file included from /usr/include/c++/v1/__mutex/unique_lock.h:17: In file included from /usr/include/c++/v1/__system_error/system_error.h:14: In file included from /usr/include/c++/v1/__system_error/error_category.h:15: In file included from /usr/include/c++/v1/string:622: In file included from /usr/include/c++/v1/string_view:1059: In file included from /usr/include/c++/v1/algorithm:1960: In file included from /usr/include/c++/v1/iterator:683: In file included from /usr/include/c++/v1/__iterator/common_iterator.h:31: /usr/include/c++/v1/variant:1474:3: error: non-static data member cannot be constexpr; did you intend to make it const? 1474 | constexpr size_t index() const noexcept { return __impl_.index(); } | ^ /usr/include/c++/v1/variant:1473:3: error: '__abi_tag__' attribute only applies to structs, variables, functions, and namespaces 1473 | _LIBCPP_HIDE_FROM_ABI | ^ /usr/include/c++/v1/__config:820:26: note: expanded from macro '_LIBCPP_HIDE_FROM_ABI' 820 | __attribute__((__abi_tag__(_LIBCPP_TOSTRING(_LIBCPP_ODR_SIGNATURE)))) | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[1]: *** [Makefile:487: bbacpi.o] Error 1 20 errors generated. make[1]: *** [Makefile:487: resource.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/x11-misc/bbacpi-0.1.5-r4/work/bbacpi-0.1.5' make: *** [Makefile:503: all-recursive] Error 1 * ERROR: x11-misc/bbacpi-0.1.5-r4::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=x11-misc/bbacpi-0.1.5-r4::gentoo'`, * the complete build log and the output of `emerge -pqv '=x11-misc/bbacpi-0.1.5-r4::gentoo'`. * The complete build log is located at '/var/log/portage/x11-misc:bbacpi-0.1.5-r4:20231206-031226.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-misc/bbacpi-0.1.5-r4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-misc/bbacpi-0.1.5-r4/temp/environment'. * Working directory: '/var/tmp/portage/x11-misc/bbacpi-0.1.5-r4/work/bbacpi-0.1.5' * S: '/var/tmp/portage/x11-misc/bbacpi-0.1.5-r4/work/bbacpi-0.1.5'