>>> mariadb 10.11.6 Extracting gzip -d -c /home/buildroot/instance-0/dl/mariadb/mariadb-10.11.6.tar.gz | tar --strip-components=1 -C /home/buildroot/instance-0/output-1/build/mariadb-10.11.6 -xf - >>> mariadb 10.11.6 Patching Applying 0001-add-extra-check-for-librt.patch using patch: patching file configure.cmake >>> mariadb 10.11.6 Configuring (mkdir -p /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/ && cd /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/ && rm -f CMakeCache.txt && PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /home/buildroot/instance-0/output-1/host/bin/cmake /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/ -G"Unix Makefiles" -DCMAKE_MAKE_PROGRAM="/usr/bin/make" -DCMAKE_TOOLCHAIN_FILE="/home/buildroot/instance-0/output-1/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_INSTALL_RUNSTATEDIR="/run" -DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_DOC=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TEST=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON -DWITH_LIBFMT=system -DWITH_PCRE=system -DWITH_READLINE=ON -DWITH_UNIT_TESTS=0 -DWITHOUT_MROONGA=1 -DSTACK_DIRECTION=-1 -DWITH_JEMALLOC=no -DWITHOUT_TOKUDB=1 -DWITHOUT_ROCKSDB=1 -DCMAKE_CROSSCOMPILING=1 -DENABLE_DTRACE=0 -DWITH_SYSTEMD=no -DWITH_EMBEDDED_SERVER=OFF -DCMAKE_CXX_FLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=1 -latomic" -DINSTALL_DOCDIR=share/doc/mariadb-10.11.6 -DINSTALL_DOCREADMEDIR=share/doc/mariadb-10.11.6 -DINSTALL_MANDIR=share/man -DINSTALL_MYSQLSHAREDIR=share/mysql -DINSTALL_MYSQLTESTDIR=share/mysql/test -DINSTALL_PLUGINDIR=lib/mysql/plugin -DINSTALL_SBINDIR=sbin -DINSTALL_SCRIPTDIR=bin -DINSTALL_SQLBENCHDIR=share/mysql/bench -DINSTALL_SUPPORTFILESDIR=share/mysql -DMYSQL_DATADIR=/var/lib/mysql -DMYSQL_UNIX_ADDR= -DIMPORT_EXECUTABLES=/home/buildroot/instance-0/output-1/build/host-mariadb-10.11.6//import_executables.cmake ) CMake Deprecation Warning at CMakeLists.txt:17 (CMAKE_MINIMUM_REQUIRED): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 13.2.0 -- The CXX compiler identification is GNU 13.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /home/buildroot/instance-0/output-1/host/bin/riscv32-linux-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /home/buildroot/instance-0/output-1/host/bin/riscv32-linux-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Running cmake version 3.28.3 -- Found Git: /usr/bin/git (found version "2.30.2") -- MariaDB 10.11.6 -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of void * -- Check size of void * - done -- Packaging as: mariadb-10.11.6-Linux-riscv32 -- Performing Test HAVE_VISIBILITY_HIDDEN -- Performing Test HAVE_VISIBILITY_HIDDEN - Success -- Performing Test have_C__fno_omit_frame_pointer -- Performing Test have_C__fno_omit_frame_pointer - Success -- Performing Test have_CXX__fno_omit_frame_pointer -- Performing Test have_CXX__fno_omit_frame_pointer - Success -- Performing Test have_C__pie__fPIC -- Performing Test have_C__pie__fPIC - Success -- Performing Test have_CXX__pie__fPIC -- Performing Test have_CXX__pie__fPIC - Success -- Performing Test HAVE_LINK_FLAG__Wl__z_relro__z_now -- Performing Test HAVE_LINK_FLAG__Wl__z_relro__z_now - Success -- Performing Test have_C__fstack_protector___param_ssp_buffer_size_4 -- Performing Test have_C__fstack_protector___param_ssp_buffer_size_4 - Success -- Performing Test have_CXX__fstack_protector___param_ssp_buffer_size_4 -- Performing Test have_CXX__fstack_protector___param_ssp_buffer_size_4 - Success -- Performing Test have_C__D_FORTIFY_SOURCE_2 -- Performing Test have_C__D_FORTIFY_SOURCE_2 - Failed -- Performing Test have_CXX__D_FORTIFY_SOURCE_2 -- Performing Test have_CXX__D_FORTIFY_SOURCE_2 - Failed CMake Deprecation Warning at wsrep-lib/CMakeLists.txt:5 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- Wsrep-lib version: 1.0.0 -- Performing Test HAVE_SUGGEST_OVERRIDE -- Performing Test HAVE_SUGGEST_OVERRIDE - Success -- Performing Test HAVE_INCONSISTENT_MISSING_DESTRUCTOR_OVERRIDE -- Performing Test HAVE_INCONSISTENT_MISSING_DESTRUCTOR_OVERRIDE - Failed -- Performing Test HAVE_EXTRA_SEMI -- Performing Test HAVE_EXTRA_SEMI - Success -- Looking for dlopen in dl -- Looking for dlopen in dl - found -- Performing Test have_C__ggdb3 -- Performing Test have_C__ggdb3 - Success -- Performing Test have_CXX__ggdb3 -- Performing Test have_CXX__ggdb3 - Success -- Looking for floor -- Looking for floor - not found -- Looking for floor in m -- Looking for floor in m - found -- Looking for gethostbyname_r -- Looking for gethostbyname_r - found -- Looking for bind -- Looking for bind - found -- Looking for crypt -- Looking for crypt - not found -- Looking for crypt in crypt -- Looking for crypt in crypt - found -- Looking for setsockopt -- Looking for setsockopt - found -- Looking for sched_yield -- Looking for sched_yield - found -- Looking for clock_gettime -- Looking for clock_gettime - found -- Looking for posix_spawn_file_actions_addclose -- Looking for posix_spawn_file_actions_addclose - found -- Looking for backtrace_symbols_fd -- Looking for backtrace_symbols_fd - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Looking for 4 include files stdlib.h, ..., float.h -- Looking for 4 include files stdlib.h, ..., float.h - found -- Looking for include file alloca.h -- Looking for include file alloca.h - found -- Looking for include file arpa/inet.h -- Looking for include file arpa/inet.h - found -- Looking for include file crypt.h -- Looking for include file crypt.h - found -- Looking for include file dirent.h -- Looking for include file dirent.h - found -- Looking for include file dlfcn.h -- Looking for include file dlfcn.h - found -- Looking for include file execinfo.h -- Looking for include file execinfo.h - found -- Looking for include file fcntl.h -- Looking for include file fcntl.h - found -- Looking for include file fenv.h -- Looking for include file fenv.h - found -- Looking for include file float.h -- Looking for include file float.h - found -- Looking for include file fpu_control.h -- Looking for include file fpu_control.h - found -- Looking for include file grp.h -- Looking for include file grp.h - found -- Looking for include file ieeefp.h -- Looking for include file ieeefp.h - not found -- Looking for include file inttypes.h -- Looking for include file inttypes.h - found -- Looking for include file langinfo.h -- Looking for include file langinfo.h - found -- Looking for include file link.h -- Looking for include file link.h - found -- Looking for include file linux/unistd.h -- Looking for include file linux/unistd.h - found -- Looking for include file limits.h -- Looking for include file limits.h - found -- Looking for include file locale.h -- Looking for include file locale.h - found -- Looking for include file malloc.h -- Looking for include file malloc.h - found -- Looking for include file memory.h -- Looking for include file memory.h - found -- Looking for include file ndir.h -- Looking for include file ndir.h - not found -- Looking for include file netinet/in.h -- Looking for include file netinet/in.h - found -- Looking for include file paths.h -- Looking for include file paths.h - found -- Looking for include file poll.h -- Looking for include file poll.h - found -- Looking for include file sys/poll.h -- Looking for include file sys/poll.h - found -- Looking for include file pwd.h -- Looking for include file pwd.h - found -- Looking for include file sched.h -- Looking for include file sched.h - found -- Looking for include file select.h -- Looking for include file select.h - not found -- Looking for include files sys/types.h, sys/dir.h -- Looking for include files sys/types.h, sys/dir.h - found -- Looking for include files sys/types.h, sys/event.h -- Looking for include files sys/types.h, sys/event.h - not found -- Looking for include file sys/ndir.h -- Looking for include file sys/ndir.h - not found -- Looking for include file sys/pte.h -- Looking for include file sys/pte.h - not found -- Looking for include file stdlib.h -- Looking for include file stdlib.h - found -- Looking for include file strings.h -- Looking for include file strings.h - found -- Looking for include file string.h -- Looking for include file string.h - found -- Looking for include file synch.h -- Looking for include file synch.h - not found -- Looking for include file sysent.h -- Looking for include file sysent.h - not found -- Looking for include file sys/file.h -- Looking for include file sys/file.h - found -- Looking for include file sys/fpu.h -- Looking for include file sys/fpu.h - not found -- Looking for include file sys/ioctl.h -- Looking for include file sys/ioctl.h - found -- Looking for include files sys/types.h, sys/malloc.h -- Looking for include files sys/types.h, sys/malloc.h - not found -- Looking for include file sys/mman.h -- Looking for include file sys/mman.h - found -- Looking for include file linux/mman.h -- Looking for include file linux/mman.h - found -- Looking for include file sys/prctl.h -- Looking for include file sys/prctl.h - found -- Looking for include file sys/resource.h -- Looking for include file sys/resource.h - found -- Looking for include file sys/select.h -- Looking for include file sys/select.h - found -- Looking for include file sys/socket.h -- Looking for include file sys/socket.h - found -- Looking for include file sys/stat.h -- Looking for include file sys/stat.h - found -- Looking for include file sys/stream.h -- Looking for include file sys/stream.h - not found -- Looking for include file sys/syscall.h -- Looking for include file sys/syscall.h - found -- Looking for include file asm/termbits.h -- Looking for include file asm/termbits.h - found -- Looking for include file termbits.h -- Looking for include file termbits.h - not found -- Looking for include file termios.h -- Looking for include file termios.h - found -- Looking for include file termio.h -- Looking for include file termio.h - found -- Looking for include file termcap.h -- Looking for include file termcap.h - found -- Looking for include file unistd.h -- Looking for include file unistd.h - found -- Looking for include file utime.h -- Looking for include file utime.h - found -- Looking for include file varargs.h -- Looking for include file varargs.h - not found -- Looking for include file sys/time.h -- Looking for include file sys/time.h - found -- Looking for include file sys/utime.h -- Looking for include file sys/utime.h - not found -- Looking for include file sys/wait.h -- Looking for include file sys/wait.h - found -- Looking for include file sys/param.h -- Looking for include file sys/param.h - found -- Looking for include file sys/vadvise.h -- Looking for include file sys/vadvise.h - not found -- Looking for include file fnmatch.h -- Looking for include file fnmatch.h - found -- Looking for include file stdarg.h -- Looking for include file stdarg.h - found -- Looking for include files stdlib.h, sys/un.h -- Looking for include files stdlib.h, sys/un.h - found -- Looking for include file wchar.h -- Looking for include file wchar.h - found -- Looking for include file wctype.h -- Looking for include file wctype.h - found -- Looking for include file sys/sockio.h -- Looking for include file sys/sockio.h - not found -- Looking for include file sys/utsname.h -- Looking for include file sys/utsname.h - found -- Looking for include file sys/statvfs.h -- Looking for include file sys/statvfs.h - found -- Looking for include file bfd.h -- Looking for include file bfd.h - not found -- Looking for include file sys/ptem.h -- Looking for include file sys/ptem.h - not found -- Performing Test have_C__Werror -- Performing Test have_C__Werror - Success -- Performing Test HAVE_PTHREAD_ONCE_INIT -- Performing Test HAVE_PTHREAD_ONCE_INIT - Success -- Looking for accept4 -- Looking for accept4 - found -- Looking for access -- Looking for access - found -- Looking for alarm -- Looking for alarm - found -- Looking for backtrace -- Looking for backtrace - found -- Looking for backtrace_symbols -- Looking for backtrace_symbols - found -- Looking for backtrace_symbols_fd -- Looking for backtrace_symbols_fd - found -- Looking for printstack -- Looking for printstack - not found -- Looking for bfill -- Looking for bfill - not found -- Looking for index -- Looking for index - found -- Looking for clock_gettime -- Looking for clock_gettime - found -- Looking for cuserid -- Looking for cuserid - found -- Looking for ftruncate -- Looking for ftruncate - found -- Looking for compress -- Looking for compress - not found -- Looking for crypt -- Looking for crypt - found -- Looking for dladdr -- Looking for dladdr - found -- Looking for dlerror -- Looking for dlerror - found -- Looking for dlopen -- Looking for dlopen - found -- Looking for fchmod -- Looking for fchmod - found -- Looking for fcntl -- Looking for fcntl - found -- Looking for fdatasync -- Looking for fdatasync - found -- Looking for fdatasync -- Looking for fdatasync - found -- Looking for fesetround -- Looking for fesetround - found -- Looking for fedisableexcept -- Looking for fedisableexcept - found -- Looking for fseeko -- Looking for fseeko - found -- Looking for fsync -- Looking for fsync - found -- Looking for getcwd -- Looking for getcwd - found -- Looking for gethostbyaddr_r -- Looking for gethostbyaddr_r - found -- Looking for gethrtime -- Looking for gethrtime - not found -- Looking for getpass -- Looking for getpass - found -- Looking for getpassphrase -- Looking for getpassphrase - not found -- Looking for getpwnam -- Looking for getpwnam - found -- Looking for getpwuid -- Looking for getpwuid - found -- Looking for getrlimit -- Looking for getrlimit - found -- Looking for getifaddrs -- Looking for getifaddrs - found -- Looking for getrusage -- Looking for getrusage - found -- Looking for getwd -- Looking for getwd - found -- Looking for gmtime_r -- Looking for gmtime_r - found -- Looking for initgroups -- Looking for initgroups - found -- Looking for ldiv -- Looking for ldiv - found -- Looking for localtime_r -- Looking for localtime_r - found -- Looking for lstat -- Looking for lstat - found -- Looking for madvise -- Looking for madvise - found -- Looking for mallinfo -- Looking for mallinfo - found -- Looking for mallinfo2 -- Looking for mallinfo2 - found -- Looking for malloc_zone_statistics -- Looking for malloc_zone_statistics - not found -- Looking for memcpy -- Looking for memcpy - found -- Looking for memmove -- Looking for memmove - found -- Looking for mkstemp -- Looking for mkstemp - found -- Looking for mkostemp -- Looking for mkostemp - found -- Looking for mlock -- Looking for mlock - found -- Looking for mlockall -- Looking for mlockall - found -- Looking for mmap -- Looking for mmap - found -- Looking for mmap64 -- Looking for mmap64 - found -- Looking for mprotect -- Looking for mprotect - found -- Looking for perror -- Looking for perror - found -- Looking for poll -- Looking for poll - found -- Looking for posix_fallocate -- Looking for posix_fallocate - found -- Looking for pread -- Looking for pread - found -- Looking for pthread_attr_create -- Looking for pthread_attr_create - not found -- Looking for pthread_attr_getstacksize -- Looking for pthread_attr_getstacksize - found -- Looking for pthread_attr_setscope -- Looking for pthread_attr_setscope - found -- Looking for pthread_attr_getguardsize -- Looking for pthread_attr_getguardsize - found -- Looking for pthread_attr_setstacksize -- Looking for pthread_attr_setstacksize - found -- Looking for pthread_condattr_create -- Looking for pthread_condattr_create - not found -- Looking for pthread_getaffinity_np -- Looking for pthread_getaffinity_np - found -- Looking for pthread_key_delete -- Looking for pthread_key_delete - found -- Looking for pthread_rwlock_rdlock -- Looking for pthread_rwlock_rdlock - found -- Looking for pthread_sigmask -- Looking for pthread_sigmask - found -- Looking for pthread_yield_np -- Looking for pthread_yield_np - not found -- Looking for putenv -- Looking for putenv - found -- Looking for readlink -- Looking for readlink - found -- Looking for realpath -- Looking for realpath - found -- Looking for rename -- Looking for rename - found -- Looking for rwlock_init -- Looking for rwlock_init - not found -- Looking for sched_yield -- Looking for sched_yield - found -- Looking for setenv -- Looking for setenv - found -- Looking for setlocale -- Looking for setlocale - found -- Looking for sigaction -- Looking for sigaction - found -- Looking for sigthreadmask -- Looking for sigthreadmask - not found -- Looking for sigwait -- Looking for sigwait - found -- Looking for sigwaitinfo -- Looking for sigwaitinfo - found -- Looking for sigset -- Looking for sigset - found -- Looking for sleep -- Looking for sleep - found -- Looking for stpcpy -- Looking for stpcpy - found -- Looking for strcoll -- Looking for strcoll - found -- Looking for strerror -- Looking for strerror - found -- Looking for strnlen -- Looking for strnlen - found -- Looking for strpbrk -- Looking for strpbrk - found -- Looking for strtok_r -- Looking for strtok_r - found -- Looking for strtoll -- Looking for strtoll - found -- Looking for strtoul -- Looking for strtoul - found -- Looking for strtoull -- Looking for strtoull - found -- Looking for strcasecmp -- Looking for strcasecmp - found -- Looking for tell -- Looking for tell - not found -- Looking for thr_setconcurrency -- Looking for thr_setconcurrency - not found -- Looking for thr_yield -- Looking for thr_yield - not found -- Looking for vasprintf -- Looking for vasprintf - found -- Looking for vsnprintf -- Looking for vsnprintf - found -- Looking for nl_langinfo -- Looking for nl_langinfo - found -- Performing Test HAVE_READDIR_R -- Performing Test HAVE_READDIR_R - Failed -- Looking for include file time.h -- Looking for include file time.h - found -- Looking for include file sys/times.h -- Looking for include file sys/times.h - found -- Looking for include file ia64intrin.h -- Looking for include file ia64intrin.h - not found -- Looking for times -- Looking for times - found -- Looking for gettimeofday -- Looking for gettimeofday - found -- Looking for read_real_time -- Looking for read_real_time - not found -- Looking for ftime -- Looking for ftime - found -- Looking for time -- Looking for time - found -- Looking for madvise -- Looking for madvise - found -- Looking for getpagesizes -- Looking for getpagesizes - not found -- Looking for tzname -- Looking for tzname - found -- Looking for lrand48 -- Looking for lrand48 - found -- Looking for getpagesize -- Looking for getpagesize - found -- Looking for TIOCGWINSZ -- Looking for TIOCGWINSZ - found -- Looking for FIONREAD -- Looking for FIONREAD - found -- Looking for TIOCSTAT -- Looking for TIOCSTAT - not found -- Looking for FIONREAD -- Looking for FIONREAD - not found -- Check size of sigset_t -- Check size of sigset_t - done -- Check size of mode_t -- Check size of mode_t - done -- Check size of sighandler_t -- Check size of sighandler_t - done -- Check size of in_addr_t -- Check size of in_addr_t - done -- Check size of char * -- Check size of char * - done -- Check size of long -- Check size of long - done -- Check size of size_t -- Check size of size_t - done -- Check size of short -- Check size of short - done -- Check size of int -- Check size of int - done -- Check size of long long -- Check size of long long - done -- Check size of off_t -- Check size of off_t - done -- Check size of uchar -- Check size of uchar - failed -- Check size of uint -- Check size of uint - done -- Check size of ulong -- Check size of ulong - done -- Check size of int8 -- Check size of int8 - failed -- Check size of uint8 -- Check size of uint8 - failed -- Check size of int16 -- Check size of int16 - failed -- Check size of uint16 -- Check size of uint16 - failed -- Check size of int32 -- Check size of int32 - failed -- Check size of uint32 -- Check size of uint32 - failed -- Check size of int64 -- Check size of int64 - failed -- Check size of uint64 -- Check size of uint64 - failed -- Check size of time_t -- Check size of time_t - done -- Performing Test TIME_T_UNSIGNED -- Performing Test TIME_T_UNSIGNED - Failed -- Performing Test HAVE_SELECT -- Performing Test HAVE_SELECT - Success -- Performing Test HAVE_TIMESPEC_TS_SEC -- Performing Test HAVE_TIMESPEC_TS_SEC - Failed -- Performing Test QSORT_TYPE_IS_VOID -- Performing Test QSORT_TYPE_IS_VOID - Success -- Performing Test HAVE_SOCKET_SIZE_T_AS_socklen_t -- Performing Test HAVE_SOCKET_SIZE_T_AS_socklen_t - Success -- Performing Test HAVE_PTHREAD_YIELD_ZERO_ARG -- Performing Test HAVE_PTHREAD_YIELD_ZERO_ARG - Success -- Performing Test SIGNAL_RETURN_TYPE_IS_VOID -- Performing Test SIGNAL_RETURN_TYPE_IS_VOID - Success -- Looking for include files time.h, sys/time.h -- Looking for include files time.h, sys/time.h - found -- Looking for O_NONBLOCK -- Looking for O_NONBLOCK - found -- Performing Test C_HAS_inline -- Performing Test C_HAS_inline - Success -- Looking for tcgetattr -- Looking for tcgetattr - found -- Performing Test HAVE_POSIX_SIGNALS -- Performing Test HAVE_POSIX_SIGNALS - Success -- Performing Test HAVE_ABI_CXA_DEMANGLE -- Performing Test HAVE_ABI_CXA_DEMANGLE - Success -- Performing Test HAVE_WEAK_SYMBOL -- Performing Test HAVE_WEAK_SYMBOL - Success -- Performing Test HAVE_ATTRIBUTE_CLEANUP -- Performing Test HAVE_ATTRIBUTE_CLEANUP - Success -- Performing Test HAVE_CXX_NEW -- Performing Test HAVE_CXX_NEW - Success -- Performing Test HAVE_SOLARIS_STYLE_GETHOST -- Performing Test HAVE_SOLARIS_STYLE_GETHOST - Failed -- Performing Test HAVE_GCC_C11_ATOMICS_WITHOUT_LIBATOMIC -- Performing Test HAVE_GCC_C11_ATOMICS_WITHOUT_LIBATOMIC - Success -- Looking for include files valgrind/memcheck.h, valgrind/valgrind.h -- Looking for include files valgrind/memcheck.h, valgrind/valgrind.h - not found -- Looking for netinet/in6.h -- Looking for netinet/in6.h - not found -- Check size of struct sockaddr_in6 -- Check size of struct sockaddr_in6 - done -- Check size of struct in6_addr -- Check size of struct in6_addr - done -- Performing Test HAVE_SOCKADDR_STORAGE_SS_FAMILY -- Performing Test HAVE_SOCKADDR_STORAGE_SS_FAMILY - Success -- Performing Test HAVE_SOCKADDR_IN_SIN_LEN -- Performing Test HAVE_SOCKADDR_IN_SIN_LEN - Failed -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN - Failed -- Performing Test STRUCT_DIRENT_HAS_D_INO -- Performing Test STRUCT_DIRENT_HAS_D_INO - Success -- Performing Test STRUCT_DIRENT_HAS_D_NAMLEN -- Performing Test STRUCT_DIRENT_HAS_D_NAMLEN - Failed -- Performing Test STRUCT_TIMESPEC_HAS_TV_SEC -- Performing Test STRUCT_TIMESPEC_HAS_TV_SEC - Success -- Performing Test STRUCT_TIMESPEC_HAS_TV_NSEC -- Performing Test STRUCT_TIMESPEC_HAS_TV_NSEC - Success -- Performing Test HAVE_FALLOC_PUNCH_HOLE_AND_KEEP_SIZE -- Performing Test HAVE_FALLOC_PUNCH_HOLE_AND_KEEP_SIZE - Success -- Performing Test HAVE_VFORK -- Performing Test HAVE_VFORK - Success -- Found ZLIB: /home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/libz.so (found version "1.3.1") -- Looking for crc32 -- Looking for crc32 - found -- Looking for compressBound -- Looking for compressBound - found -- Looking for deflateBound -- Looking for deflateBound - found -- Found OpenSSL: /home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.so (found version "3.2.2") -- OPENSSL_INCLUDE_DIR = /home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include -- OPENSSL_SSL_LIBRARY = /home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/libssl.so -- OPENSSL_CRYPTO_LIBRARY = /home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.so -- OPENSSL_VERSION = 3.2.2 -- SSL_LIBRARIES = /home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/libssl.so;/home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.so;dl -- Looking for ERR_remove_thread_state -- Looking for ERR_remove_thread_state - found -- Looking for EVP_aes_128_ctr -- Looking for EVP_aes_128_ctr - found -- Looking for EVP_aes_128_gcm -- Looking for EVP_aes_128_gcm - found -- Looking for X509_check_host -- Looking for X509_check_host - found -- Check size of mbstate_t -- Check size of mbstate_t - done -- Looking for mbrlen -- Looking for mbrlen - found -- Looking for mbsrtowcs -- Looking for mbsrtowcs - found -- Looking for mbrtowc -- Looking for mbrtowc - found -- Looking for wcwidth -- Looking for wcwidth - found -- Looking for iswlower -- Looking for iswlower - found -- Looking for iswupper -- Looking for iswupper - found -- Looking for towlower -- Looking for towlower - found -- Looking for towupper -- Looking for towupper - found -- Looking for iswctype -- Looking for iswctype - found -- Check size of wchar_t -- Check size of wchar_t - done -- Check size of wctype_t -- Check size of wctype_t - done -- Check size of wint_t -- Check size of wint_t - done -- Found Curses: /home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/libcurses.so -- Looking for tputs in /home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/libcurses.so -- Looking for tputs in /home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/libcurses.so - found -- Looking for setupterm in /home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/libcurses.so -- Looking for setupterm in /home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/libcurses.so - found -- Looking for vidattr in /home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/libcurses.so -- Looking for vidattr in /home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/libcurses.so - found -- Looking for include files curses.h, term.h -- Looking for include files curses.h, term.h - found -- Looking for pcre2_match_8 in pcre2-8 -- Looking for pcre2_match_8 in pcre2-8 - found -- Looking for PCRE2regcomp in pcre2-posix -- Looking for PCRE2regcomp in pcre2-posix - not found -- Performing Test HAVE_SYSTEM_LIBFMT -- Performing Test HAVE_SYSTEM_LIBFMT - Success -- Found PkgConfig: /home/buildroot/instance-0/output-1/host/bin/pkg-config (found version "1.6.3") -- Performing Test have_C__Wall -- Performing Test have_C__Wall - Success -- Performing Test have_CXX__Wall -- Performing Test have_CXX__Wall - Success -- Performing Test have_C__Wdeclaration_after_statement -- Performing Test have_C__Wdeclaration_after_statement - Success -- Performing Test have_CXX__Wdeclaration_after_statement -- Performing Test have_CXX__Wdeclaration_after_statement - Failed -- Performing Test have_C__Wenum_compare -- Performing Test have_C__Wenum_compare - Success -- Performing Test have_CXX__Wenum_compare -- Performing Test have_CXX__Wenum_compare - Success -- Performing Test have_C__Wenum_conversion -- Performing Test have_C__Wenum_conversion - Success -- Performing Test have_CXX__Wenum_conversion -- Performing Test have_CXX__Wenum_conversion - Success -- Performing Test have_C__Wextra -- Performing Test have_C__Wextra - Success -- Performing Test have_CXX__Wextra -- Performing Test have_CXX__Wextra - Success -- Performing Test have_C__Wformat_security -- Performing Test have_C__Wformat_security - Failed -- Performing Test have_CXX__Wformat_security -- Performing Test have_CXX__Wformat_security - Failed -- Performing Test have_C__Wmissing_braces -- Performing Test have_C__Wmissing_braces - Success -- Performing Test have_CXX__Wmissing_braces -- Performing Test have_CXX__Wmissing_braces - Success -- Performing Test have_C__Wformat_truncation -- Performing Test have_C__Wformat_truncation - Success -- Performing Test have_CXX__Wformat_truncation -- Performing Test have_CXX__Wformat_truncation - Success -- Performing Test have_C__Winit_self -- Performing Test have_C__Winit_self - Success -- Performing Test have_CXX__Winit_self -- Performing Test have_CXX__Winit_self - Success -- Performing Test have_C__Wnonnull_compare -- Performing Test have_C__Wnonnull_compare - Success -- Performing Test have_CXX__Wnonnull_compare -- Performing Test have_CXX__Wnonnull_compare - Success -- Performing Test have_C__Wnull_conversion -- Performing Test have_C__Wnull_conversion - Failed -- Performing Test have_CXX__Wnull_conversion -- Performing Test have_CXX__Wnull_conversion - Failed -- Performing Test have_C__Wunused_parameter -- Performing Test have_C__Wunused_parameter - Success -- Performing Test have_CXX__Wunused_parameter -- Performing Test have_CXX__Wunused_parameter - Success -- Performing Test have_C__Wunused_private_field -- Performing Test have_C__Wunused_private_field - Failed -- Performing Test have_CXX__Wunused_private_field -- Performing Test have_CXX__Wunused_private_field - Failed -- Performing Test have_C__Woverloaded_virtual -- Performing Test have_C__Woverloaded_virtual - Failed -- Performing Test have_CXX__Woverloaded_virtual -- Performing Test have_CXX__Woverloaded_virtual - Success -- Performing Test have_C__Wnon_virtual_dtor -- Performing Test have_C__Wnon_virtual_dtor - Failed -- Performing Test have_CXX__Wnon_virtual_dtor -- Performing Test have_CXX__Wnon_virtual_dtor - Success -- Performing Test have_C__Wvla -- Performing Test have_C__Wvla - Success -- Performing Test have_CXX__Wvla -- Performing Test have_CXX__Wvla - Success -- Performing Test have_C__Wwrite_strings -- Performing Test have_C__Wwrite_strings - Success -- Performing Test have_CXX__Wwrite_strings -- Performing Test have_CXX__Wwrite_strings - Success -- Performing Test have_CXX__Werror -- Performing Test have_CXX__Werror - Success == Configuring MariaDB Connector/C CMake Deprecation Warning at libmariadb/CMakeLists.txt:5 (CMAKE_MINIMUM_REQUIRED): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR) -- Performing Test HAS_-Wunused_FLAG -- Performing Test HAS_-Wunused_FLAG - Success -- Performing Test HAS_-Wlogical-op_FLAG -- Performing Test HAS_-Wlogical-op_FLAG - Success -- Performing Test HAS_-Wno-uninitialized_FLAG -- Performing Test HAS_-Wno-uninitialized_FLAG - Success -- Performing Test HAS_-Wall_FLAG -- Performing Test HAS_-Wall_FLAG - Success -- Performing Test HAS_-Wextra_FLAG -- Performing Test HAS_-Wextra_FLAG - Success -- Performing Test HAS_-Wformat-security_FLAG -- Performing Test HAS_-Wformat-security_FLAG - Success -- Performing Test HAS_-Wno-init-self_FLAG -- Performing Test HAS_-Wno-init-self_FLAG - Success -- Performing Test HAS_-Wwrite-strings_FLAG -- Performing Test HAS_-Wwrite-strings_FLAG - Success -- Performing Test HAS_-Wshift-count-overflow_FLAG -- Performing Test HAS_-Wshift-count-overflow_FLAG - Success -- Performing Test HAS_-Wdeclaration-after-statement_FLAG -- Performing Test HAS_-Wdeclaration-after-statement_FLAG - Success -- Performing Test HAS_-Wno-undef_FLAG -- Performing Test HAS_-Wno-undef_FLAG - Success -- Performing Test HAS_-Wno-unknown-pragmas_FLAG -- Performing Test HAS_-Wno-unknown-pragmas_FLAG - Success -- Performing Test HAS_-Wno-stringop-truncation_FLAG -- Performing Test HAS_-Wno-stringop-truncation_FLAG - Success -- MariaDB Connector C: INSTALL_BINDIR=bin -- MariaDB Connector C: INSTALL_LIBDIR=lib -- MariaDB Connector C: INSTALL_PCDIR=lib/pkgconfig -- MariaDB Connector C: INSTALL_INCLUDEDIR=include/mysql -- MariaDB Connector C: INSTALL_DOCSDIR= -- MariaDB Connector C: INSTALL_PLUGINDIR=lib/mysql/plugin -- MariaDB Connector C: INSTALL_MANDIR=share/man -- MariaDB Connector C: LIBMARIADB_STATIC_NAME mariadbclient -- Could NOT find ZSTD (missing: ZSTD_LIBRARIES ZSTD_INCLUDE_DIRS) -- Looking for include file linux/limits.h -- Looking for include file linux/limits.h - found -- Looking for include file signal.h -- Looking for include file signal.h - found -- Looking for include file ucontext.h -- Looking for include file ucontext.h - found -- Looking for makecontext -- Looking for makecontext - found -- Check size of uint -- Check size of uint - done -- Check size of socklen_t -- Check size of socklen_t - failed -- Looking for floor -- Looking for floor - not found -- Looking for pthread_getspecific -- Looking for pthread_getspecific - found -- Looking for gethostbyname_r -- Looking for gethostbyname_r - found -- Looking for setsockopt -- Looking for setsockopt - found -- TLS library/version: OpenSSL 3.2.2 -- SYSTEM_LIBS /home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/libz.so;dl;m;dl;m;/home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/libssl.so;/home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.so -- SYSTEM_LIBS: /home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/libz.so;dl;m;dl;m;/home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/libssl.so;/home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.so;/home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/libz.so -- SYSTEM processor: riscv32 -- MariaDB Connector/c configuration: -- Static PLUGINS mysql_native_password;mysql_old_password;zlib;pvio_socket -- Dynamic PLUGINS dialog;client_ed25519;caching_sha2_password;sha256_password;mysql_clear_password -- CPack generation: TGZ -- SSL support: OPENSSL Libs: /home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/libssl.so;/home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/libcrypto.so -- Zlib support: ON -- ZStd support: FALSE -- Installation layout: DEFAULT -- Include files will be installed in include/mysql -- Libraries will be installed in lib -- Binaries will be installed in bin -- Documentation included from -- Required: /home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/libz.so;dl;m -- MariaDB Connector/C 3.3.8 -- Performing Test have_C__Wall__Wmissing_declarations -- Performing Test have_C__Wall__Wmissing_declarations - Success -- Performing Test have_CXX__Wall__Wmissing_declarations -- Performing Test have_CXX__Wall__Wmissing_declarations - Success -- Performing Test have_C__Werror_unused_function -- Performing Test have_C__Werror_unused_function - Success -- Performing Test have_CXX__Werror_unused_function -- Performing Test have_CXX__Werror_unused_function - Success -- Performing Test have_C__Wunused_function -- Performing Test have_C__Wunused_function - Success -- Performing Test have_CXX__Wunused_function -- Performing Test have_CXX__Wunused_function - Success -- Performing Test have_C__Werror_unused_variable -- Performing Test have_C__Werror_unused_variable - Success -- Performing Test have_CXX__Werror_unused_variable -- Performing Test have_CXX__Werror_unused_variable - Success -- Performing Test have_C__Wunused_variable -- Performing Test have_C__Wunused_variable - Success -- Performing Test have_CXX__Wunused_variable -- Performing Test have_CXX__Wunused_variable - Success -- Performing Test have_C__Werror_unused_value -- Performing Test have_C__Werror_unused_value - Success -- Performing Test have_CXX__Werror_unused_value -- Performing Test have_CXX__Werror_unused_value - Success -- Performing Test have_C__Wunused_value -- Performing Test have_C__Wunused_value - Success -- Performing Test have_CXX__Wunused_value -- Performing Test have_CXX__Wunused_value - Success -- Performing Test have_C__Werror_parentheses -- Performing Test have_C__Werror_parentheses - Success -- Performing Test have_CXX__Werror_parentheses -- Performing Test have_CXX__Werror_parentheses - Success -- Performing Test have_C__Wparentheses -- Performing Test have_C__Wparentheses - Success -- Performing Test have_CXX__Wparentheses -- Performing Test have_CXX__Wparentheses - Success -- Performing Test have_C__Werror_strict_aliasing -- Performing Test have_C__Werror_strict_aliasing - Success -- Performing Test have_CXX__Werror_strict_aliasing -- Performing Test have_CXX__Werror_strict_aliasing - Success -- Performing Test have_C__Wstrict_aliasing -- Performing Test have_C__Wstrict_aliasing - Success -- Performing Test have_CXX__Wstrict_aliasing -- Performing Test have_CXX__Wstrict_aliasing - Success -- Performing Test have_C__Werror_misleading_indentation -- Performing Test have_C__Werror_misleading_indentation - Success -- Performing Test have_CXX__Werror_misleading_indentation -- Performing Test have_CXX__Werror_misleading_indentation - Success -- Performing Test have_C__Wmisleading_indentation -- Performing Test have_C__Wmisleading_indentation - Success -- Performing Test have_CXX__Wmisleading_indentation -- Performing Test have_CXX__Wmisleading_indentation - Success -- Performing Test have_C__Werror_format_truncation -- Performing Test have_C__Werror_format_truncation - Success -- Performing Test have_CXX__Werror_format_truncation -- Performing Test have_CXX__Werror_format_truncation - Success -- Performing Test have_C__Werror_implicit_fallthrough -- Performing Test have_C__Werror_implicit_fallthrough - Success -- Performing Test have_CXX__Werror_implicit_fallthrough -- Performing Test have_CXX__Werror_implicit_fallthrough - Success -- Performing Test have_C__Wimplicit_fallthrough -- Performing Test have_C__Wimplicit_fallthrough - Success -- Performing Test have_CXX__Wimplicit_fallthrough -- Performing Test have_CXX__Wimplicit_fallthrough - Success -- Performing Test have_C__Werror_type_limits -- Performing Test have_C__Werror_type_limits - Success -- Performing Test have_CXX__Werror_type_limits -- Performing Test have_CXX__Werror_type_limits - Success -- Performing Test have_C__Wtype_limits -- Performing Test have_C__Wtype_limits - Success -- Performing Test have_CXX__Wtype_limits -- Performing Test have_CXX__Wtype_limits - Success -- Performing Test have_C__Werror_deprecated_declarations -- Performing Test have_C__Werror_deprecated_declarations - Success -- Performing Test have_CXX__Werror_deprecated_declarations -- Performing Test have_CXX__Werror_deprecated_declarations - Success -- Performing Test have_C__Wdeprecated_declarations -- Performing Test have_C__Wdeprecated_declarations - Success -- Performing Test have_CXX__Wdeprecated_declarations -- Performing Test have_CXX__Wdeprecated_declarations - Success -- Found LibXml2: /home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/libxml2.so (found version "2.12.6") -- Could NOT find Java (missing: Java_JAVA_EXECUTABLE Java_JAR_EXECUTABLE Java_JAVAC_EXECUTABLE Java_JAVAH_EXECUTABLE Java_JAVADOC_EXECUTABLE) (Required is at least version "1.6") -- Could NOT find JNI (missing: JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 AWT JVM) -- Looking for include file numa.h -- Looking for include file numa.h - not found -- Looking for include file numaif.h -- Looking for include file numaif.h - not found -- WITH_NUMA=AUTO: NUMA memory allocation policy disabled -- Could NOT find PMEM (missing: PMEM_LIBRARIES PMEM_INCLUDE_DIRS) -- Looking for regcomp -- Looking for regcomp - found -- Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR) CMake Deprecation Warning at storage/mroonga/CMakeLists.txt:20 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- Configuring OQGraph -- Could NOT find Boost (missing: Boost_INCLUDE_DIR) (Required is at least version "1.40.0") -- Boost not found. OQGraph will not be compiled -- Performing Test HAVE_PTHREAD_THREADID_NP -- Performing Test HAVE_PTHREAD_THREADID_NP - Failed -- Looking for gettid -- Looking for gettid - not found -- Performing Test HAVE_SYS_GETTID -- Performing Test HAVE_SYS_GETTID - Success -- Performing Test HAVE_GETTHRID -- Performing Test HAVE_GETTHRID - Failed -- Performing Test HAVE_PTHREAD_GETTHREADID_NP -- Performing Test HAVE_PTHREAD_GETTHREADID_NP - Failed -- Performing Test HAVE_INTEGER_PTHREAD_SELF -- Performing Test HAVE_INTEGER_PTHREAD_SELF - Success -- Performing Test have_C__Wrange_loop_construct -- Performing Test have_C__Wrange_loop_construct - Failed -- Performing Test have_CXX__Wrange_loop_construct -- Performing Test have_CXX__Wrange_loop_construct - Success -- Looking for timer_delete in rt -- Looking for timer_delete in rt - found -- Looking for sched_getcpu -- Looking for sched_getcpu - found -- Looking for include file security/pam_ext.h -- Looking for include file security/pam_ext.h - found -- Looking for include file security/pam_appl.h -- Looking for include file security/pam_appl.h - found -- Looking for strndup -- Looking for strndup - found -- Looking for getgrouplist -- Looking for getgrouplist - found -- Performing Test HAVE_POSIX_GETGROUPLIST -- Performing Test HAVE_POSIX_GETGROUPLIST - Success -- Looking for pam_syslog -- Looking for pam_syslog - found -- Performing Test HAVE_PEERCRED -- Performing Test HAVE_PEERCRED - Success -- Can't build aws_key_management - AWS SDK not available (AWS_SDK_EXTERNAL_PROJECT is not ON) -- Looking for FascistCheckUser in crack -- Looking for FascistCheckUser in crack - not found -- Looking for include file crack.h -- Looking for include file crack.h - not found -- Looking for getmntent -- Looking for getmntent - found -- Looking for getmntent -- Looking for getmntent - not found -- Looking for setmntent -- Looking for setmntent - found -- Looking for getmntinfo -- Looking for getmntinfo - not found -- Looking for getmntinfo64 -- Looking for getmntinfo64 - not found -- Looking for include file netdb.h -- Looking for include file netdb.h - found -- Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR) -- Could NOT find BZip2 (missing: BZIP2_LIBRARIES BZIP2_INCLUDE_DIR) -- Could NOT find LZ4 (missing: LZ4_LIBRARIES LZ4_INCLUDE_DIRS) (Required is at least version "1.6") -- Looking for lzma_auto_decoder in /home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so -- Looking for lzma_auto_decoder in /home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so - found -- Looking for lzma_easy_encoder in /home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so -- Looking for lzma_easy_encoder in /home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so - found -- Looking for lzma_lzma_preset in /home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so -- Looking for lzma_lzma_preset in /home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so - found -- Found LibLZMA: /home/buildroot/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/liblzma.so (found version "5.4.5") -- Could NOT find LZO (missing: LZO_LIBRARIES LZO_INCLUDE_DIRS) -- Could NOT find Snappy (missing: SNAPPY_LIBRARIES SNAPPY_INCLUDE_DIRS) -- Looking for event.h -- Looking for event.h - not found -- Found BISON: /home/buildroot/instance-0/output-1/host/bin/bison (found suitable version "3.8.2", minimum required is "2.4") -- Performing Test have_CXX__Wno_unused_but_set_variable -- Performing Test have_CXX__Wno_unused_but_set_variable - Success The following features have been enabled: * WSREP, Server plugin STATIC * ARCHIVE, Storage Engine MODULE * BLACKHOLE, Storage Engine MODULE * CONNECT_VCT, Support for VCT in the CONNECT storage engine * CONNECT_LIBXML2, Support for LIBXML2 in the CONNECT storage engine * CONNECT_ZIP, Support for ZIP in the CONNECT storage engine * CONNECT_REST, Support for REST API in the CONNECT storage engine * CONNECT_XMAP, Support for index file mapping in the CONNECT storage engine * CONNECT, Storage Engine MODULE * CSV, Storage Engine STATIC * EXAMPLE, Storage Engine MODULE * FEDERATED, Storage Engine MODULE * FEDERATEDX, Storage Engine MODULE * HEAP, Storage Engine STATIC * INNODB_AHI, InnoDB Adaptive Hash Index * INNODB_ROOT_GUESS, Cache index root block descriptors in InnoDB * INNOBASE, Storage Engine STATIC * MARIABACKUP, MariaDB Backup Utility * ARIA, Storage Engine STATIC * MYISAM, Storage Engine STATIC * MYISAMMRG, Storage Engine STATIC * PERFSCHEMA, Storage Engine STATIC * SEQUENCE, Storage Engine STATIC * SPHINX, Storage Engine MODULE * SPIDER, Storage Engine MODULE * TEST_SQL_DISCOVERY, Storage Engine MODULE * AUDIT_NULL, Server plugin MODULE * AUTH_ED25519, Server plugin MODULE * DIALOG_EXAMPLES, Server plugin MODULE * AUTH_TEST_PLUGIN, Server plugin MODULE * QA_AUTH_INTERFACE, Server plugin MODULE * QA_AUTH_SERVER, Server plugin MODULE * QA_AUTH_CLIENT, Server plugin MODULE * AUTH_0X0100, Server plugin MODULE * AUTH_PAM_V1, Server plugin MODULE * AUTH_PAM, Server plugin MODULE * AUTH_SOCKET, Server plugin STATIC * DAEMON_EXAMPLE, Server plugin MODULE * DEBUG_KEY_MANAGEMENT, Server plugin MODULE * DISKS, Server plugin MODULE * EXAMPLE_KEY_MANAGEMENT, Server plugin MODULE * FEEDBACK, Server plugin STATIC * FILE_KEY_MANAGEMENT, Server plugin MODULE * FTEXAMPLE, Server plugin MODULE * FUNC_TEST, Server plugin MODULE * HANDLERSOCKET, Server plugin MODULE * LOCALES, Server plugin MODULE * METADATA_LOCK_INFO, Server plugin MODULE * PASSWORD_REUSE_CHECK, Server plugin MODULE * PROVIDER_LZMA, Server plugin MODULE * QUERY_CACHE_INFO, Server plugin MODULE * QUERY_RESPONSE_TIME, Server plugin MODULE * SERVER_AUDIT, Server plugin MODULE * SIMPLE_PASSWORD_CHECK, Server plugin MODULE * SQL_ERRLOG, Server plugin MODULE * TEST_SQL_SERVICE, Server plugin MODULE * TYPE_GEOM, Server plugin STATIC * TYPE_INET, Server plugin STATIC * TYPE_MYSQL_JSON, Server plugin MODULE * TYPE_MYSQL_TIMESTAMP, Server plugin MODULE * TYPE_TEST, Server plugin MODULE * TYPE_UUID, Server plugin STATIC * USER_VARIABLES, Server plugin STATIC * USERSTAT, Server plugin STATIC * TEST_VERSIONING, Server plugin MODULE * WSREP_INFO, Server plugin MODULE * THREAD_POOL_INFO, Server plugin STATIC * PARTITION, Storage Engine STATIC * SQL_SEQUENCE, Storage Engine STATIC -- The following OPTIONAL packages have been found: * Git * Threads * LibXml2 * LibLZMA * BISON (required version >= 2.4) -- The following RECOMMENDED packages have been found: * OpenSSL -- The following REQUIRED packages have been found: * Curses -- The following features have been disabled: * LIBWRAP, Support for tcp wrappers * SYSTEMD, Systemd scripts and notification support * CONNECT_ODBC, Support for ODBC in the CONNECT storage engine * CONNECT_JDBC, Support for JDBC in the CONNECT storage engine * CONNECT_MONGODB, Support for MongoDB in the CONNECT storage engine * NUMA, NUMA memory allocation policy * INNODB_EXTRA_DEBUG, Extra InnoDB debug checks * ROCKSDB, Storage Engine * AWS_KEY_MANAGEMENT, AWS Encryption Key Management Plugin * EMBEDDED_SERVER, Embedded MariaDB Server Library -- The following OPTIONAL packages have not been found: * Java (required version >= 1.6) Required for the CONNECT_JDBC feature * JNI Required for the CONNECT_JDBC feature * PMEM * Boost (required version >= 1.40.0) Required for the OQGraph storage engine * GSSAPI * BZip2 * LZ4 (required version >= 1.6) * LZO * Snappy -- Configuring done (22.0s) -- Generating done (0.3s) -- Build files have been written to: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6 >>> mariadb 10.11.6 Building GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /home/buildroot/instance-0/output-1/host/bin/cmake --build /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/ -j17 -- make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[2]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 0%] Building CXX object tpool/CMakeFiles/tpool.dir/aio_simulated.cc.o [ 0%] Building C object wsrep-lib/wsrep-API/CMakeFiles/wsrep_api_v26.dir/v26/wsrep_dummy.c.o [ 0%] Building C object libmariadb/CMakeFiles/dialog.dir/plugins/auth/dialog.c.o make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 0%] Building C object libmariadb/CMakeFiles/sha256_password.dir/plugins/auth/sha256_pw.c.o [ 0%] Building C object extra/readline/CMakeFiles/readline.dir/readline.c.o make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 0%] Building C object libmariadb/CMakeFiles/mysql_clear_password.dir/plugins/auth/mariadb_cleartext.c.o [ 0%] Building C object libmariadb/CMakeFiles/caching_sha2_password.dir/plugins/auth/caching_sha2_pw.c.o [ 0%] Building C object libmariadb/mariadb_config/CMakeFiles/mariadb_config.dir/mariadb_config.c.o [ 0%] Generating ../include/mysqld_error.h.tmp [ 0%] Building C object libmariadb/libmariadb/CMakeFiles/mariadb_obj.dir/__/plugins/auth/my_auth.c.o [ 0%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ed25519.c.o [ 0%] Building C object libservices/CMakeFiles/mysqlservices.dir/base64_service.c.o [ 0%] Generating ctype-uca1400data.h [ 0%] Generating lex_hash.h make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 0%] Generating lex_token.h make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 0%] Built target INFO_BIN [ 0%] Building yy_mariadb.yy and yy_oracle.yy from sql_yacc.yy [ 0%] Built target INFO_SRC [ 0%] Building C object libservices/CMakeFiles/mysqlservices.dir/debug_sync_service.c.o make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 0%] Building C object vio/CMakeFiles/vio.dir/vio.c.o [ 0%] Building CXX object tpool/CMakeFiles/tpool.dir/tpool_generic.cc.o [ 0%] Building C object libservices/CMakeFiles/mysqlservices.dir/encryption_scheme_service.c.o [ 0%] Building C object libservices/CMakeFiles/mysqlservices.dir/encryption_service.c.o [ 0%] Building C object libservices/CMakeFiles/mysqlservices.dir/kill_statement_service.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 0%] Built target GenError [ 0%] Building C object libservices/CMakeFiles/mysqlservices.dir/logger_service.c.o [ 0%] Building C object libmariadb/CMakeFiles/caching_sha2_password.dir/libmariadb/secure/openssl_crypt.c.o [ 1%] Linking C shared module mysql_clear_password.so [ 1%] Linking C executable mariadb_config [ 1%] Building C object libservices/CMakeFiles/mysqlservices.dir/my_crypt_service.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 1%] Building C object libservices/CMakeFiles/mysqlservices.dir/my_md5_service.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 1%] Built target mariadb_config [ 1%] Built target mysql_clear_password [ 1%] Building C object wsrep-lib/wsrep-API/CMakeFiles/wsrep_api_v26.dir/v26/wsrep_gtid.c.o [ 1%] Building CXX object tpool/CMakeFiles/tpool.dir/task_group.cc.o [ 1%] Building C object libmariadb/CMakeFiles/dialog.dir/libmariadb/get_password.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 1%] Building C object libservices/CMakeFiles/mysqlservices.dir/my_print_error_service.c.o [ 1%] Built target GenUnicodeDataSource [ 1%] Built target abi_check [ 1%] Building C object wsrep-lib/wsrep-API/CMakeFiles/wsrep_api_v26.dir/v26/wsrep_loader.c.o [ 1%] Building C object libservices/CMakeFiles/mysqlservices.dir/my_sha1_service.c.o [ 1%] Building C object extra/readline/CMakeFiles/readline.dir/funmap.c.o [ 1%] Building C object libservices/CMakeFiles/mysqlservices.dir/my_sha2_service.c.o [ 1%] Building C object vio/CMakeFiles/vio.dir/viosocket.c.o [ 1%] Building C object libservices/CMakeFiles/mysqlservices.dir/my_snprintf_service.c.o [ 1%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/fe_0.c.o [ 1%] Building C object wsrep-lib/wsrep-API/CMakeFiles/wsrep_api_v26.dir/v26/wsrep_uuid.c.o [ 1%] Building C object libservices/CMakeFiles/mysqlservices.dir/progress_report_service.c.o [ 2%] Building C object libservices/CMakeFiles/mysqlservices.dir/thd_alloc_service.c.o [ 2%] Building C object extra/readline/CMakeFiles/readline.dir/keymaps.c.o [ 2%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/fe_isnegative.c.o [ 2%] Linking C shared module sha256_password.so [ 2%] Building C object libmariadb/libmariadb/CMakeFiles/mariadb_obj.dir/__/plugins/auth/old_password.c.o [ 2%] Building C object extra/readline/CMakeFiles/readline.dir/vi_mode.c.o [ 2%] Building C object libservices/CMakeFiles/mysqlservices.dir/thd_autoinc_service.c.o [ 2%] Building C object libservices/CMakeFiles/mysqlservices.dir/thd_error_context_service.c.o [ 2%] Linking C shared module caching_sha2_password.so [ 2%] Building C object libservices/CMakeFiles/mysqlservices.dir/thd_rnd_service.c.o [ 2%] Building C object libservices/CMakeFiles/mysqlservices.dir/thd_specifics_service.c.o [ 2%] Linking C shared module dialog.so [ 2%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/fe_sub.c.o [ 2%] Building C object libservices/CMakeFiles/mysqlservices.dir/thd_timezone_service.c.o [ 2%] Building C object libservices/CMakeFiles/mysqlservices.dir/thd_wait_service.c.o [ 2%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/ge_p1p1_to_p2.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 2%] Linking C static library libwsrep_api_v26.a [ 2%] Built target dialog [ 2%] Building C object extra/readline/CMakeFiles/readline.dir/parens.c.o make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 2%] Building C object libservices/CMakeFiles/mysqlservices.dir/wsrep_service.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 2%] Building C object extra/readline/CMakeFiles/readline.dir/rltty.c.o make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 2%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/fe_0.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 2%] Built target wsrep_api_v26 make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 2%] Built target sha256_password make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 2%] Building C object libservices/CMakeFiles/mysqlservices.dir/json_service.c.o [ 2%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/ge_p3_to_cached.c.o make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 2%] Building C object libmariadb/libmariadb/CMakeFiles/mariadb_obj.dir/__/plugins/compress/c_zlib.c.o [ 2%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/open.c.o [ 2%] Building C object plugin/auth_pam/CMakeFiles/auth_pam_tool.dir/auth_pam_tool.c.o [ 2%] Building C object libmariadb/libmariadb/CMakeFiles/mariadb_obj.dir/__/plugins/pvio/pvio_socket.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 2%] Built target caching_sha2_password make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 2%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/fe_1.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 2%] Building C object plugin/auth_pam/CMakeFiles/pam_user_map.dir/mapper/pam_user_map.c.o [ 2%] Building C object libservices/CMakeFiles/mysqlservices.dir/sql_service.c.o [ 3%] Building CXX object tpool/CMakeFiles/tpool.dir/task.cc.o [ 3%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/fe_add.c.o [ 3%] Building C object extra/readline/CMakeFiles/readline.dir/complete.c.o [ 3%] Building C object libservices/CMakeFiles/mysqlservices.dir/provider_service_bzip2.c.o [ 3%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/fe_cmov.c.o [ 3%] Building C object libservices/CMakeFiles/mysqlservices.dir/provider_service_lz4.c.o [ 3%] Building C object vio/CMakeFiles/vio.dir/viossl.c.o [ 3%] Building C object libservices/CMakeFiles/mysqlservices.dir/provider_service_lzma.c.o [ 3%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/fe_1.c.o [ 3%] Building C object libservices/CMakeFiles/mysqlservices.dir/provider_service_lzo.c.o [ 3%] Building C object libservices/CMakeFiles/mysqlservices.dir/provider_service_snappy.c.o [ 3%] Linking C executable auth_pam_tool [ 3%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/fe_copy.c.o [ 3%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/fe_frombytes.c.o [ 3%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/fe_isnonzero.c.o [ 3%] Building C object extra/readline/CMakeFiles/readline.dir/bind.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 4%] Linking C static library libmysqlservices.a [ 4%] Built target auth_pam_tool [ 4%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/fe_invert.c.o [ 4%] Building C object extra/readline/CMakeFiles/readline.dir/isearch.c.o [ 4%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/fe_tobytes.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 4%] Linking C shared module pam_user_map.so [ 4%] Built target mysqlservices make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 5%] Building C object plugin/auth_pam/testing/CMakeFiles/pam_mariadb_mtr.dir/pam_mariadb_mtr.c.o [ 6%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/fe_isnegative.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 6%] Built target pam_user_map make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 6%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/ge_p1p1_to_p3.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 6%] Building CXX object plugin/daemon_example/CMakeFiles/daemon_example.dir/daemon_example.cc.o [ 7%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/ge_p3_to_p2.c.o [ 7%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/fe_isnonzero.c.o [ 7%] Building CXX object tpool/CMakeFiles/tpool.dir/wait_notification.cc.o [ 7%] Linking C shared module pam_mariadb_mtr.so [ 7%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/fe_mul.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 7%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/sc_muladd.c.o [ 7%] Built target pam_mariadb_mtr [ 7%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/fe_neg.c.o [ 8%] Building C object vio/CMakeFiles/vio.dir/viopipe.c.o [ 8%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/fe_add.c.o [ 8%] Building C object libmariadb/libmariadb/CMakeFiles/mariadb_obj.dir/ma_array.c.o [ 8%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/fe_pow22523.c.o [ 8%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/fe_sq.c.o [ 8%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/fe_mul.c.o [ 8%] Building C object vio/CMakeFiles/vio.dir/viosslfactories.c.o [ 8%] [BISON][gen_mariadb_cc_hh] Building parser with bison 3.8.2 [ 8%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/fe_sq2.c.o [ 8%] Building C object libmariadb/libmariadb/CMakeFiles/mariadb_obj.dir/ma_charset.c.o [ 8%] [BISON][gen_oracle_cc_hh] Building parser with bison 3.8.2 make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 8%] Building CXX object plugin/debug_key_management/CMakeFiles/debug_key_management.dir/debug_key_management_plugin.cc.o [ 8%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/fe_sub.c.o make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 8%] Building CXX object plugin/disks/CMakeFiles/disks.dir/information_schema_disks.cc.o [ 8%] Building CXX object plugin/example_key_management/CMakeFiles/example_key_management.dir/example_key_management_plugin.cc.o [ 8%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/fe_tobytes.c.o [ 8%] Building C object libmariadb/libmariadb/CMakeFiles/mariadb_obj.dir/ma_decimal.c.o [ 8%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/ge_add.c.o [ 8%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/ge_p2_0.c.o [ 8%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/ge_add.c.o [ 8%] Building C object extra/readline/CMakeFiles/readline.dir/display.c.o [ 8%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/ge_precomp_0.c.o [ 8%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/ge_double_scalarmult.c.o [ 8%] Building CXX object tpool/CMakeFiles/tpool.dir/aio_linux.cc.o [ 8%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/sc_reduce.c.o [ 8%] Linking C static library libvio.a [ 8%] Linking CXX shared module debug_key_management.so make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 8%] Built target vio make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 8%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/ge_frombytes.c.o [ 8%] Building C object libmariadb/libmariadb/CMakeFiles/mariadb_obj.dir/ma_hashtbl.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 8%] Building CXX object plugin/file_key_management/CMakeFiles/file_key_management.dir/file_key_management_plugin.cc.o [ 8%] Linking CXX shared module libdaemon_example.so [ 8%] Building CXX object plugin/file_key_management/CMakeFiles/file_key_management.dir/parser.cc.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 8%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/ge_madd.c.o [ 8%] Built target debug_key_management make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 8%] Building C object plugin/fulltext/CMakeFiles/ftexample.dir/plugin_example.c.o [ 8%] Linking CXX shared module example_key_management.so make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 8%] Built target daemon_example make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 8%] Building CXX object plugin/func_test/CMakeFiles/func_test.dir/plugin.cc.o make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 8%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/ge_msub.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 8%] Building CXX object plugin/handler_socket/CMakeFiles/hsclient.dir/libhsclient/config.cpp.o make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 8%] Building CXX object plugin/locale_info/CMakeFiles/locales.dir/locale_info.cc.o [ 9%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/ge_p1p1_to_p2.c.o [ 9%] Linking C shared module mypluglib.so [ 9%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/ge_p1p1_to_p3.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 9%] Built target example_key_management make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 9%] Built target ftexample make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 9%] Building C object plugin/password_reuse_check/CMakeFiles/password_reuse_check.dir/password_reuse_check.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 9%] Building CXX object plugin/metadata_lock_info/CMakeFiles/metadata_lock_info.dir/metadata_lock_info.cc.o [ 9%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/ge_p2_0.c.o [ 9%] Building C object libmariadb/libmariadb/CMakeFiles/mariadb_obj.dir/ma_net.c.o [ 9%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/ge_p2_dbl.c.o [ 9%] Building C object libmariadb/libmariadb/CMakeFiles/mariadb_obj.dir/mariadb_charset.c.o In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:31, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/log.h:20, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:28, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/plugin/disks/information_schema_disks.cc:32: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plugin.h:204:13: error: conflicting declaration of 'void wsrep_plugins_pre_init()' with 'C' linkage 204 | extern void wsrep_plugins_pre_init(); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/mysqld.h:22, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:30: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plugin.h:204:13: note: previous declaration with 'C++' linkage 204 | extern void wsrep_plugins_pre_init(); | ^~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plugin.h:205:13: error: conflicting declaration of 'void wsrep_plugins_post_init()' with 'C' linkage 205 | extern void wsrep_plugins_post_init(); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plugin.h:205:13: note: previous declaration with 'C++' linkage 205 | extern void wsrep_plugins_post_init(); | ^~~~~~~~~~~~~~~~~~~~~~~ [ 9%] Linking C shared module password_reuse_check.so In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:35: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_array.h:35:1: error: template with C linkage 35 | template class Bounds_checked_array | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/plugin/disks/information_schema_disks.cc:17: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ [ 9%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/ge_p3_0.c.o /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_array.h:113:1: error: template with C linkage 113 | template class Dynamic_array | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/mdl.h:19, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:36: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plist.h:19:1: error: template with C linkage 19 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plist.h:22:1: error: template with C linkage 22 | template class I_P_List_no_push_back; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plist.h:62:1: error: template with C linkage 62 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plist.h:218:1: error: template with C linkage 218 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plist.h:267:1: error: template with C linkage 267 | template class I_P_List_no_push_back | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plist.h:286:1: error: template with C linkage 286 | template class I_P_List_fast_push_back | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/mdl.h:20: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/ilist.h:28:1: error: template with C linkage 28 | template struct ilist_node | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/ilist.h:46:1: error: template with C linkage 46 | template class ilist | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/ilist.h:219:1: error: template with C linkage 219 | template class sized_ilist : public ilist | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/vers_string.h:20, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:37: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/lex_string.h:136:20: error: conflicting declaration of C function 'bool cmp(LEX_CSTRING, LEX_CSTRING)' 136 | static inline bool cmp(const LEX_CSTRING a, const LEX_CSTRING b) | ^~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/lex_string.h:131:20: note: previous declaration 'bool cmp(const LEX_CSTRING*, const LEX_CSTRING*)' 131 | static inline bool cmp(const LEX_CSTRING *a, const LEX_CSTRING *b) | ^~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/lex_string.h:158:20: error: conflicting declaration of C function 'bool lex_string_eq(const LEX_CSTRING*, const char*, size_t)' 158 | static inline bool lex_string_eq(const LEX_CSTRING *a, const char *b, size_t b_length) | ^~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/lex_string.h:146:20: note: previous declaration 'bool lex_string_eq(const LEX_CSTRING*, const LEX_CSTRING*)' 146 | static inline bool lex_string_eq(const LEX_CSTRING *a, const LEX_CSTRING *b) | ^~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/vers_string.h:52:1: error: template with C linkage 52 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:47: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/mem_root_array.h:46:1: error: template with C linkage 46 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/utility:68, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:48: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_relops.h:86:5: error: template with C linkage 86 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_relops.h:99:5: error: template with C linkage 99 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_relops.h:112:5: error: template with C linkage 112 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_relops.h:125:5: error: template with C linkage 125 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 9%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/ge_p3_dbl.c.o [ 9%] Built target password_reuse_check [ 9%] Building C object libmariadb/libmariadb/CMakeFiles/mariadb_obj.dir/ma_time.c.o /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:5176:27: error: conflicting declaration of C function 'handlerton* ha_checktype(THD*, legacy_db_type, bool)' 5176 | static inline handlerton *ha_checktype(THD *thd, enum legacy_db_type type, | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:5174:13: note: previous declaration 'handlerton* ha_checktype(THD*, handlerton*, bool)' 5174 | handlerton *ha_checktype(THD *thd, handlerton *hton, bool no_substitute); | ^~~~~~~~~~~~ [ 9%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/ge_p3_to_cached.c.o /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:5416:6: error: conflicting declaration of C function 'void print_keydup_error(TABLE*, KEY*, myf)' 5416 | void print_keydup_error(TABLE *table, KEY *key, myf errflag); | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:5415:6: note: previous declaration 'void print_keydup_error(TABLE*, KEY*, const char*, myf)' 5415 | void print_keydup_error(TABLE *table, KEY *key, const char *msg, myf errflag); | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/tpool/aio_linux.cc: In function 'int my_getevents(io_context_t, long int, long int, io_event*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/tpool/aio_linux.cc:63:20: error: '__NR_io_getevents' was not declared in this scope; did you mean 'io_getevents'? 63 | int ret= syscall(__NR_io_getevents, reinterpret_cast(ctx), | ^~~~~~~~~~~~~~~~~ | io_getevents make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 9%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/fe_cmov.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/table.h:23, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/field.h:29, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:31: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_string.h:1236:1: error: template with C linkage 1236 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_string.h:1262:1: error: template with C linkage 1262 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 9%] Building C object plugin/provider_lzma/CMakeFiles/provider_lzma.dir/plugin.c.o In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:29, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_i_s.h:25, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/table.h:35: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:57:6: error: conflicting declaration of C function 'bool time_to_datetime(THD*, const MYSQL_TIME*, MYSQL_TIME*)' 57 | bool time_to_datetime(THD *thd, const MYSQL_TIME *tm, MYSQL_TIME *dt); | ^~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:38:6: note: previous declaration 'bool time_to_datetime(MYSQL_TIME*)' 38 | bool time_to_datetime(MYSQL_TIME *ltime); | ^~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:91:6: error: conflicting declaration of C function 'bool my_TIME_to_str(const MYSQL_TIME*, String*, uint)' 91 | bool my_TIME_to_str(const MYSQL_TIME *ltime, String *str, uint dec); | ^~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/structs.h:26, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:34: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_time.h:217:5: note: previous declaration 'int my_TIME_to_str(const MYSQL_TIME*, char*, uint)' 217 | int my_TIME_to_str(const MYSQL_TIME *l_time, char *to, uint digits); | ^~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:122:6: error: conflicting declaration of C function 'bool calc_time_diff(const MYSQL_TIME*, const MYSQL_TIME*, int, MYSQL_TIME*, date_mode_t)' 122 | bool calc_time_diff(const MYSQL_TIME *l_time1, const MYSQL_TIME *l_time2, | ^~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:96:6: note: previous declaration 'bool calc_time_diff(const MYSQL_TIME*, const MYSQL_TIME*, int, ulonglong*, ulong*)' 96 | bool calc_time_diff(const MYSQL_TIME *l_time1, const MYSQL_TIME *l_time2, | ^~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:136:13: error: conflicting declaration of C function 'bool parse_date_time_format(timestamp_type, DATE_TIME_FORMAT*)' 136 | inline bool parse_date_time_format(timestamp_type format_type, | ^~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:131:6: note: previous declaration 'bool parse_date_time_format(timestamp_type, const char*, uint, DATE_TIME_FORMAT*)' 131 | bool parse_date_time_format(timestamp_type format_type, | ^~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:170:1: error: conflicting declaration of C function 'bool check_date(const MYSQL_TIME*, date_conv_mode_t, int*)' 170 | check_date(const MYSQL_TIME *ltime, date_conv_mode_t flags, int *was_cut) | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_time.h:121:9: note: previous declaration 'my_bool check_date(const MYSQL_TIME*, my_bool, ulonglong, int*)' 121 | my_bool check_date(const MYSQL_TIME *ltime, my_bool not_zero_date, | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:178:1: error: conflicting declaration of C function 'bool check_date_with_warn(THD*, const MYSQL_TIME*, date_mode_t, timestamp_type)' 178 | check_date_with_warn(THD *thd, const MYSQL_TIME *ltime, | ^~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:175:6: note: previous declaration 'bool check_date_with_warn(THD*, const MYSQL_TIME*, date_conv_mode_t, timestamp_type)' 175 | bool check_date_with_warn(THD *thd, const MYSQL_TIME *ltime, | ^~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:289:1: error: template with C linkage 289 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:370:1: error: template with C linkage 370 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ [ 9%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/ge_p3_to_p2.c.o /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:404:1: error: template with C linkage 404 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:415:1: error: template with C linkage 415 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ make[3]: *** [tpool/CMakeFiles/tpool.dir/build.make:146: tpool/CMakeFiles/tpool.dir/aio_linux.cc.o] Error 1 make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[2]: *** [CMakeFiles/Makefile2:2350: tpool/CMakeFiles/tpool.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h: In member function 'bool Temporal::check_date(date_conv_mode_t, int*) const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:1163:31: error: cannot convert 'date_conv_mode_t' to 'my_bool' {aka 'char'} 1163 | return ::check_date(this, flags, warn); | ^~~~~ | | | date_conv_mode_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_time.h:121:53: note: initializing argument 2 of 'my_bool check_date(const MYSQL_TIME*, my_bool, ulonglong, int*)' 121 | my_bool check_date(const MYSQL_TIME *ltime, my_bool not_zero_date, | ~~~~~~~~^~~~~~~~~~~~~ [ 9%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/ge_p3_tobytes.c.o /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h: In member function 'void Time::datetime_to_time_minus_current_date(THD*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:1694:44: error: cannot convert 'MYSQL_TIME*' {aka 'st_mysql_time*'} to 'ulonglong*' {aka 'long long unsigned int*'} 1694 | calc_time_diff(this, ¤t_date, 1, &tmp, date_mode_t(0)); | ^~~~ | | | MYSQL_TIME* {aka st_mysql_time*} /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:97:44: note: initializing argument 4 of 'bool calc_time_diff(const MYSQL_TIME*, const MYSQL_TIME*, int, ulonglong*, ulong*)' 97 | int l_sign, ulonglong *seconds_out, ulong *microseconds_out); | ~~~~~~~~~~~^~~~~~~~~~~ [ 9%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/ge_precomp_0.c.o [ 9%] Linking C shared module provider_lzma.so [ 9%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/fe_neg.c.o [ 10%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/ge_scalarmult_base.c.o [ 10%] Building C object libmariadb/libmariadb/CMakeFiles/mariadb_obj.dir/ma_default.c.o [ 10%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/ge_double_scalarmult.c.o [ 10%] Building C object libmariadb/libmariadb/CMakeFiles/mariadb_obj.dir/ma_errmsg.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 10%] Built target provider_lzma [ 10%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/ge_sub.c.o [ 10%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/ge_tobytes.c.o [ 10%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/keypair.c.o [ 10%] Building CXX object plugin/handler_socket/CMakeFiles/hsclient.dir/libhsclient/escape.cpp.o [ 12%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/open.c.o [ 12%] Building CXX object plugin/handler_socket/CMakeFiles/hsclient.dir/libhsclient/fatal.cpp.o /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h: At global scope: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:7561:1: error: template with C linkage 7561 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ [ 12%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/sc_muladd.c.o In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/table.h:37: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:147:20: error: conflicting declaration of C function 'bool operator==(privilege_t, ulong)' 147 | static inline bool operator==(privilege_t, ulong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:148:20: error: conflicting declaration of C function 'bool operator==(privilege_t, uint)' 148 | static inline bool operator==(privilege_t, uint)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:149:20: error: conflicting declaration of C function 'bool operator==(privilege_t, uchar)' 149 | static inline bool operator==(privilege_t, uchar)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:150:20: error: conflicting declaration of C function 'bool operator==(privilege_t, longlong)' 150 | static inline bool operator==(privilege_t, longlong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:151:20: error: conflicting declaration of C function 'bool operator==(privilege_t, long int)' 151 | static inline bool operator==(privilege_t, long)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:152:20: error: conflicting declaration of C function 'bool operator==(privilege_t, int)' 152 | static inline bool operator==(privilege_t, int)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:153:20: error: conflicting declaration of C function 'bool operator==(privilege_t, char)' 153 | static inline bool operator==(privilege_t, char)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:154:20: error: conflicting declaration of C function 'bool operator==(privilege_t, bool)' 154 | static inline bool operator==(privilege_t, bool)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:156:20: error: conflicting declaration of C function 'bool operator==(ulonglong, privilege_t)' 156 | static inline bool operator==(ulonglong, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:157:20: error: conflicting declaration of C function 'bool operator==(ulong, privilege_t)' 157 | static inline bool operator==(ulong, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:158:20: error: conflicting declaration of C function 'bool operator==(uint, privilege_t)' 158 | static inline bool operator==(uint, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:159:20: error: conflicting declaration of C function 'bool operator==(uchar, privilege_t)' 159 | static inline bool operator==(uchar, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:160:20: error: conflicting declaration of C function 'bool operator==(longlong, privilege_t)' 160 | static inline bool operator==(longlong, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:161:20: error: conflicting declaration of C function 'bool operator==(long int, privilege_t)' 161 | static inline bool operator==(long, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:162:20: error: conflicting declaration of C function 'bool operator==(int, privilege_t)' 162 | static inline bool operator==(int, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:163:20: error: conflicting declaration of C function 'bool operator==(char, privilege_t)' 163 | static inline bool operator==(char, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:164:20: error: conflicting declaration of C function 'bool operator==(bool, privilege_t)' 164 | static inline bool operator==(bool, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:167:20: error: conflicting declaration of C function 'bool operator!=(privilege_t, ulong)' 167 | static inline bool operator!=(privilege_t, ulong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:168:20: error: conflicting declaration of C function 'bool operator!=(privilege_t, uint)' 168 | static inline bool operator!=(privilege_t, uint)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:169:20: error: conflicting declaration of C function 'bool operator!=(privilege_t, uchar)' 169 | static inline bool operator!=(privilege_t, uchar)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:170:20: error: conflicting declaration of C function 'bool operator!=(privilege_t, longlong)' 170 | static inline bool operator!=(privilege_t, longlong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:171:20: error: conflicting declaration of C function 'bool operator!=(privilege_t, long int)' 171 | static inline bool operator!=(privilege_t, long)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:172:20: error: conflicting declaration of C function 'bool operator!=(privilege_t, int)' 172 | static inline bool operator!=(privilege_t, int)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:173:20: error: conflicting declaration of C function 'bool operator!=(privilege_t, char)' 173 | static inline bool operator!=(privilege_t, char)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:174:20: error: conflicting declaration of C function 'bool operator!=(privilege_t, bool)' 174 | static inline bool operator!=(privilege_t, bool)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:176:20: error: conflicting declaration of C function 'bool operator!=(ulonglong, privilege_t)' 176 | static inline bool operator!=(ulonglong, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:177:20: error: conflicting declaration of C function 'bool operator!=(ulong, privilege_t)' 177 | static inline bool operator!=(ulong, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:178:20: error: conflicting declaration of C function 'bool operator!=(uint, privilege_t)' 178 | static inline bool operator!=(uint, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:179:20: error: conflicting declaration of C function 'bool operator!=(uchar, privilege_t)' 179 | static inline bool operator!=(uchar, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:180:20: error: conflicting declaration of C function 'bool operator!=(longlong, privilege_t)' 180 | static inline bool operator!=(longlong, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:181:20: error: conflicting declaration of C function 'bool operator!=(long int, privilege_t)' 181 | static inline bool operator!=(long, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:182:20: error: conflicting declaration of C function 'bool operator!=(int, privilege_t)' 182 | static inline bool operator!=(int, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:183:20: error: conflicting declaration of C function 'bool operator!=(char, privilege_t)' 183 | static inline bool operator!=(char, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:184:20: error: conflicting declaration of C function 'bool operator!=(bool, privilege_t)' 184 | static inline bool operator!=(bool, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:194:37: error: conflicting declaration of C function 'constexpr privilege_t operator&(ulonglong, privilege_t)' 194 | static inline constexpr privilege_t operator&(ulonglong a, privilege_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:188:37: note: previous declaration 'constexpr privilege_t operator&(privilege_t, privilege_t)' 188 | static inline constexpr privilege_t operator&(privilege_t a, privilege_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:199:37: error: conflicting declaration of C function 'constexpr privilege_t operator&(privilege_t, ulonglong)' 199 | static inline constexpr privilege_t operator&(privilege_t a, ulonglong b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:188:37: note: previous declaration 'constexpr privilege_t operator&(privilege_t, privilege_t)' 188 | static inline constexpr privilege_t operator&(privilege_t a, privilege_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:204:37: error: conflicting declaration of C function 'constexpr privilege_t operator|(privilege_t, privilege_t)' 204 | static inline constexpr privilege_t operator|(privilege_t a, privilege_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:2973:31: note: previous declaration 'my_repertoire_t operator|(my_repertoire_t, my_repertoire_t)' 2973 | static inline my_repertoire_t operator|(const my_repertoire_t a, | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:217:28: error: conflicting declaration of C function 'privilege_t& operator&=(privilege_t&, ulonglong)' 217 | static inline privilege_t& operator&=(privilege_t &a, ulonglong b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:212:28: note: previous declaration 'privilege_t& operator&=(privilege_t&, privilege_t)' 212 | static inline privilege_t& operator&=(privilege_t &a, privilege_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h: In function 'privilege_t& operator&=(privilege_t&, ulonglong)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:219:15: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 219 | return a= a & b; | ~~^~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h: At global scope: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:222:28: error: conflicting declaration of C function 'privilege_t& operator|=(privilege_t&, privilege_t)' 222 | static inline privilege_t& operator|=(privilege_t &a, privilege_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:2979:32: note: previous declaration 'my_repertoire_t& operator|=(my_repertoire_t&, my_repertoire_t)' 2979 | static inline my_repertoire_t &operator|=(my_repertoire_t &a, | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h: In function 'privilege_t& operator|=(privilege_t&, privilege_t)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:224:15: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 224 | return a= a | b; | ~~^~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h: At global scope: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:239:20: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 234 | SET_USER_ACL | | ~~~~~~~~~~~~~~ 235 | FEDERATED_ADMIN_ACL | | ~~~~~~~~~~~~~~~~~~~~~ 236 | CONNECTION_ADMIN_ACL | | ~~~~~~~~~~~~~~~~~~~~~~ 237 | READ_ONLY_ADMIN_ACL | | ~~~~~~~~~~~~~~~~~~~~~ 238 | REPL_SLAVE_ADMIN_ACL | | ~~~~~~~~~~~~~~~~~~~~~~ 239 | BINLOG_ADMIN_ACL | | ~~~~~~~~~~~~~~~~~^ | | | long long unsigned int 240 | BINLOG_REPLAY_ACL; | ~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:244:40: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 244 | SELECT_ACL | INSERT_ACL | UPDATE_ACL | DELETE_ACL; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:247:19: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 247 | CREATE_VIEW_ACL | SHOW_VIEW_ACL; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:250:25: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 250 | CREATE_ACL | DROP_ACL | ALTER_ACL; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:253:22: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 253 | STD_TABLE_DDL_ACLS | INDEX_ACL; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:256:40: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 256 | SELECT_ACL | INSERT_ACL | UPDATE_ACL | REFERENCES_ACL; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:259:19: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 259 | CREATE_PROC_ACL | ALTER_PROC_ACL; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:262:17: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 262 | PROC_DDL_ACLS | EXECUTE_ACL; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:267:15: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 265 | COL_DML_ACLS | ALL_TABLE_DDL_ACLS | VIEW_ACLS | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | GRANT_ACL | REFERENCES_ACL | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 267 | TRIGGER_ACL | DELETE_HISTORY_ACL; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:271:37: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 270 | TABLE_ACLS | PROC_DDL_ACLS | EXECUTE_ACL | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | CREATE_TMP_ACL | LOCK_TABLES_ACL | EVENT_ACL; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:274:32: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 274 | ALTER_PROC_ACL | EXECUTE_ACL | GRANT_ACL; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:282:25: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 277 | DB_ACLS | SHOW_DB_ACL | | ~~~~~~~~~~~~~~~~~~~~~~~ 278 | CREATE_USER_ACL | CREATE_TABLESPACE_ACL | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | SUPER_ACL | RELOAD_ACL | SHUTDOWN_ACL | PROCESS_ACL | FILE_ACL | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | REPL_SLAVE_ACL | BINLOG_MONITOR_ACL | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | GLOBAL_SUPER_ADDED_SINCE_USER_TABLE_ACLS | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 282 | REPL_MASTER_ADMIN_ACL | SLAVE_MONITOR_ACL; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:285:18: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 285 | ALTER_PROC_ACL | EXECUTE_ACL; | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:289:44: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 288 | COL_DML_ACLS | ALL_TABLE_DDL_ACLS | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 289 | TRIGGER_ACL | REFERENCES_ACL | GRANT_ACL | VIEW_ACLS; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:296:37: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 296 | COL_DML_ACLS | ALL_TABLE_DDL_ACLS | REFERENCES_ACL; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:299:52: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 299 | constexpr privilege_t PRIV_LOCK_TABLES= SELECT_ACL | LOCK_TABLES_ACL; | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:306:57: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 306 | constexpr privilege_t PRIV_DEFINER_CLAUSE= SET_USER_ACL | SUPER_ACL; | ~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:322:65: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 322 | constexpr privilege_t PRIV_REVEAL_MISSING_DEFINER= SET_USER_ACL | SUPER_ACL; | ~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:333:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 333 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:336:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 336 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:339:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 339 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:342:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 342 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:345:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 345 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:348:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 348 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:351:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 351 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:354:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 354 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:357:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 357 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:360:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 360 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:363:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 363 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:366:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 366 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:369:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 369 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:372:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 372 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:375:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 375 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:378:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 378 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:381:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 381 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:384:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 384 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:387:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 387 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:402:70: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 402 | constexpr privilege_t PRIV_IGNORE_INIT_CONNECT= CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:404:78: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 404 | constexpr privilege_t PRIV_IGNORE_MAX_USER_CONNECTIONS= CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:406:73: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 406 | constexpr privilege_t PRIV_IGNORE_MAX_CONNECTIONS= CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:408:77: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 408 | constexpr privilege_t PRIV_IGNORE_MAX_PASSWORD_ERRORS= CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:410:74: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 410 | constexpr privilege_t PRIV_KILL_OTHER_USER_PROCESS= CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:414:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 414 | CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:417:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 417 | CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:420:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 420 | CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:423:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 423 | CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:426:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 426 | CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:429:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 429 | CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:432:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 432 | CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:435:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 435 | CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:438:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 438 | CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:441:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 441 | CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:445:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 445 | CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:459:72: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 459 | constexpr privilege_t PRIV_STMT_SHOW_BINLOG_STATUS= BINLOG_MONITOR_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:465:70: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 465 | constexpr privilege_t PRIV_STMT_SHOW_BINARY_LOGS= BINLOG_MONITOR_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:468:64: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 468 | constexpr privilege_t PRIV_STMT_PURGE_BINLOG= BINLOG_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:488:25: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 488 | REPL_MASTER_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:490:25: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 490 | REPL_MASTER_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:492:25: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 492 | REPL_MASTER_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:494:25: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 494 | REPL_MASTER_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:496:25: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 496 | REPL_MASTER_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:499:25: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 499 | REPL_MASTER_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:502:25: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 502 | REPL_MASTER_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:505:25: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 505 | REPL_MASTER_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:508:25: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 508 | REPL_MASTER_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:513:67: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 513 | constexpr privilege_t PRIV_STMT_START_SLAVE= REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:515:66: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 515 | constexpr privilege_t PRIV_STMT_STOP_SLAVE= REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:517:69: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 517 | constexpr privilege_t PRIV_STMT_CHANGE_MASTER= REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:520:70: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 520 | constexpr privilege_t PRIV_STMT_SHOW_SLAVE_STATUS= SLAVE_MONITOR_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:529:59: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 529 | constexpr privilege_t PRIV_STMT_BINLOG= BINLOG_REPLAY_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:532:21: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 532 | BINLOG_REPLAY_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:535:21: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 535 | BINLOG_REPLAY_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:538:21: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 538 | BINLOG_REPLAY_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:541:21: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 541 | BINLOG_REPLAY_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:548:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 548 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:550:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 550 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:552:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 552 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:554:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 554 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:556:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 556 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:558:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 558 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:560:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 560 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:562:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 562 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:564:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 564 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:566:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 566 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:568:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 568 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:570:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 570 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:572:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 572 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:574:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 574 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:578:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 578 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:580:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 580 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:582:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 582 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:584:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 584 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:586:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 586 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:588:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 588 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:590:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 590 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:592:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 592 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:594:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 594 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:596:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 596 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:599:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 599 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:601:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 601 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:603:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 603 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:605:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 605 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:608:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 608 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:610:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 610 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:612:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 612 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:614:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 614 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:616:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 616 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:619:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 619 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:621:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 621 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:623:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 623 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:625:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 625 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:627:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 627 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:632:68: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 632 | constexpr privilege_t PRIV_STMT_CREATE_SERVER= FEDERATED_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:634:67: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 634 | constexpr privilege_t PRIV_STMT_ALTER_SERVER= FEDERATED_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:636:66: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 636 | constexpr privilege_t PRIV_STMT_DROP_SERVER= FEDERATED_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:654:60: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 654 | constexpr privilege_t DB_CHUNK0 (COL_DML_ACLS | CREATE_ACL | DROP_ACL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:655:73: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 655 | constexpr privilege_t DB_CHUNK1 (GRANT_ACL | REFERENCES_ACL | INDEX_ACL | ALTER_ACL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:656:49: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 656 | constexpr privilege_t DB_CHUNK2 (CREATE_TMP_ACL | LOCK_TABLES_ACL); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:657:44: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 657 | constexpr privilege_t DB_CHUNK3 (VIEW_ACLS | PROC_DDL_ACLS); | ~~~~~~~~~~^~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:659:44: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 659 | constexpr privilege_t DB_CHUNK5 (EVENT_ACL | TRIGGER_ACL); | ~~~~~~~~~~^~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h: In function 'privilege_t fix_rights_for_column(privilege_t)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:724:21: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 724 | return (A & mask) | static_cast((A & ~mask) << 8); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int [ 12%] Linking CXX shared module file_key_management.so [ 12%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/ge_p2_dbl.c.o [ 12%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/sc_reduce.c.o [ 12%] Building C object libmariadb/libmariadb/CMakeFiles/mariadb_obj.dir/mariadb_lib.c.o [ 12%] Building C object libmariadb/libmariadb/CMakeFiles/mariadb_obj.dir/ma_list.c.o /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/table.h: At global scope: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/table.h:3239:20: error: conflicting declaration of C function 'void dbug_tmp_use_all_columns(TABLE*, MY_BITMAP**, MY_BITMAP**, MY_BITMAP**)' 3239 | static inline void dbug_tmp_use_all_columns(TABLE *table, | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/table.h:3216:26: note: previous declaration 'MY_BITMAP* dbug_tmp_use_all_columns(TABLE*, MY_BITMAP**)' 3216 | static inline MY_BITMAP *dbug_tmp_use_all_columns(TABLE *table, | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/table.h:3303:6: error: conflicting declaration of C function 'bool get_field(MEM_ROOT*, Field*, String*)' 3303 | bool get_field(MEM_ROOT *mem, Field *field, class String *res); | ^~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/table.h:3302:7: note: previous declaration 'char* get_field(MEM_ROOT*, Field*)' 3302 | char *get_field(MEM_ROOT *mem, Field *field); | ^~~~~~~~~ [ 12%] Building C object libmariadb/libmariadb/CMakeFiles/mariadb_obj.dir/ma_pvio.c.o [ 12%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/ge_scalarmult_base.c.o make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 12%] Built target file_key_management [ 12%] Building C object extra/readline/CMakeFiles/readline.dir/signals.c.o In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:31, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/log.h:20, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:28, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/plugin/func_test/plugin.cc:20: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plugin.h:204:13: error: conflicting declaration of 'void wsrep_plugins_pre_init()' with 'C' linkage 204 | extern void wsrep_plugins_pre_init(); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/mysqld.h:22, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:30: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plugin.h:204:13: note: previous declaration with 'C++' linkage 204 | extern void wsrep_plugins_pre_init(); | ^~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plugin.h:205:13: error: conflicting declaration of 'void wsrep_plugins_post_init()' with 'C' linkage 205 | extern void wsrep_plugins_post_init(); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plugin.h:205:13: note: previous declaration with 'C++' linkage 205 | extern void wsrep_plugins_post_init(); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:31, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/log.h:20, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:28, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/plugin/locale_info/locale_info.cc:30: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plugin.h:204:13: error: conflicting declaration of 'void wsrep_plugins_pre_init()' with 'C' linkage 204 | extern void wsrep_plugins_pre_init(); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/mysqld.h:22, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:30: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plugin.h:204:13: note: previous declaration with 'C++' linkage 204 | extern void wsrep_plugins_pre_init(); | ^~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plugin.h:205:13: error: conflicting declaration of 'void wsrep_plugins_post_init()' with 'C' linkage 205 | extern void wsrep_plugins_post_init(); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plugin.h:205:13: note: previous declaration with 'C++' linkage 205 | extern void wsrep_plugins_post_init(); | ^~~~~~~~~~~~~~~~~~~~~~~ [ 13%] Building C object extra/readline/CMakeFiles/readline.dir/util.c.o [ 13%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/sign.c.o In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:35: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_array.h:35:1: error: template with C linkage 35 | template class Bounds_checked_array | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/plugin/func_test/plugin.cc:19: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_array.h:113:1: error: template with C linkage 113 | template class Dynamic_array | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/mdl.h:19, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:36: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plist.h:19:1: error: template with C linkage 19 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plist.h:22:1: error: template with C linkage 22 | template class I_P_List_no_push_back; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plist.h:62:1: error: template with C linkage 62 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plist.h:218:1: error: template with C linkage 218 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plist.h:267:1: error: template with C linkage 267 | template class I_P_List_no_push_back | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plist.h:286:1: error: template with C linkage 286 | template class I_P_List_fast_push_back | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/mdl.h:20: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/ilist.h:28:1: error: template with C linkage 28 | template struct ilist_node | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/ilist.h:46:1: error: template with C linkage 46 | template class ilist | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/ilist.h:219:1: error: template with C linkage 219 | template class sized_ilist : public ilist | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/vers_string.h:20, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:37: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/lex_string.h:136:20: error: conflicting declaration of C function 'bool cmp(LEX_CSTRING, LEX_CSTRING)' 136 | static inline bool cmp(const LEX_CSTRING a, const LEX_CSTRING b) | ^~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/lex_string.h:131:20: note: previous declaration 'bool cmp(const LEX_CSTRING*, const LEX_CSTRING*)' 131 | static inline bool cmp(const LEX_CSTRING *a, const LEX_CSTRING *b) | ^~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/lex_string.h:158:20: error: conflicting declaration of C function 'bool lex_string_eq(const LEX_CSTRING*, const char*, size_t)' 158 | static inline bool lex_string_eq(const LEX_CSTRING *a, const char *b, size_t b_length) | ^~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/lex_string.h:146:20: note: previous declaration 'bool lex_string_eq(const LEX_CSTRING*, const LEX_CSTRING*)' 146 | static inline bool lex_string_eq(const LEX_CSTRING *a, const LEX_CSTRING *b) | ^~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:35: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_array.h:35:1: error: template with C linkage 35 | template class Bounds_checked_array | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/vers_string.h:52:1: error: template with C linkage 52 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/plugin/locale_info/locale_info.cc:29: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_array.h:113:1: error: template with C linkage 113 | template class Dynamic_array | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/mdl.h:19, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:36: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plist.h:19:1: error: template with C linkage 19 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plist.h:22:1: error: template with C linkage 22 | template class I_P_List_no_push_back; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plist.h:62:1: error: template with C linkage 62 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plist.h:218:1: error: template with C linkage 218 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plist.h:267:1: error: template with C linkage 267 | template class I_P_List_no_push_back | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plist.h:286:1: error: template with C linkage 286 | template class I_P_List_fast_push_back | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/mdl.h:20: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/ilist.h:28:1: error: template with C linkage 28 | template struct ilist_node | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/ilist.h:46:1: error: template with C linkage 46 | template class ilist | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/ilist.h:219:1: error: template with C linkage 219 | template class sized_ilist : public ilist | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:35: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_profile.h:68:1: error: template with C linkage 68 | template class Queue | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ [ 14%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/fe_copy.c.o In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:47: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/mem_root_array.h:46:1: error: template with C linkage 46 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/utility:68, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:48: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_relops.h:86:5: error: template with C linkage 86 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_relops.h:99:5: error: template with C linkage 99 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_relops.h:112:5: error: template with C linkage 112 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_relops.h:125:5: error: template with C linkage 125 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:37: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/protocol.h:329:8: error: conflicting declaration of C function 'uchar* net_store_data(uchar*, int32)' 329 | uchar *net_store_data(uchar *to,int32 from); | ^~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/protocol.h:328:8: note: previous declaration 'uchar* net_store_data(uchar*, const uchar*, size_t)' 328 | uchar *net_store_data(uchar *to,const uchar *from, size_t length); | ^~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/protocol.h:330:8: error: conflicting declaration of C function 'uchar* net_store_data(uchar*, longlong)' 330 | uchar *net_store_data(uchar *to,longlong from); | ^~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/protocol.h:328:8: note: previous declaration 'uchar* net_store_data(uchar*, const uchar*, size_t)' 328 | uchar *net_store_data(uchar *to,const uchar *from, size_t length); | ^~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/vers_string.h:20, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:37: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/lex_string.h:136:20: error: conflicting declaration of C function 'bool cmp(LEX_CSTRING, LEX_CSTRING)' 136 | static inline bool cmp(const LEX_CSTRING a, const LEX_CSTRING b) | ^~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/lex_string.h:131:20: note: previous declaration 'bool cmp(const LEX_CSTRING*, const LEX_CSTRING*)' 131 | static inline bool cmp(const LEX_CSTRING *a, const LEX_CSTRING *b) | ^~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/lex_string.h:158:20: error: conflicting declaration of C function 'bool lex_string_eq(const LEX_CSTRING*, const char*, size_t)' 158 | static inline bool lex_string_eq(const LEX_CSTRING *a, const char *b, size_t b_length) | ^~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/lex_string.h:146:20: note: previous declaration 'bool lex_string_eq(const LEX_CSTRING*, const LEX_CSTRING*)' 146 | static inline bool lex_string_eq(const LEX_CSTRING *a, const LEX_CSTRING *b) | ^~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/vers_string.h:52:1: error: template with C linkage 52 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/session_tracker.h:22, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:50: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_hset.h:26:1: error: template with C linkage 26 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:47: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/mem_root_array.h:46:1: error: template with C linkage 46 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/utility:68, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:48: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_relops.h:86:5: error: template with C linkage 86 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_relops.h:99:5: error: template with C linkage 99 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_relops.h:112:5: error: template with C linkage 112 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_relops.h:125:5: error: template with C linkage 125 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ [ 14%] Building C object libmariadb/libmariadb/CMakeFiles/mariadb_obj.dir/ma_tls.c.o In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:52: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/xa.h:45:6: error: conflicting declaration of C function 'bool xid_cache_insert(THD*, XID_STATE*, XID*)' 45 | bool xid_cache_insert(THD *thd, XID_STATE *xid_state, XID *xid); | ^~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/xa.h:44:6: note: previous declaration 'bool xid_cache_insert(XID*)' 44 | bool xid_cache_insert(XID *xid); | ^~~~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:53: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/ddl_log.h:268:6: error: conflicting declaration of C function 'bool ddl_log_write_execute_entry(uint, DDL_LOG_MEMORY_ENTRY**)' 268 | bool ddl_log_write_execute_entry(uint first_entry, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/ddl_log.h:265:6: note: previous declaration 'bool ddl_log_write_execute_entry(uint, uint, DDL_LOG_MEMORY_ENTRY**)' 265 | bool ddl_log_write_execute_entry(uint first_entry, uint cond_entry, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:68: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/rpl_gtid.h:41:13: error: conflicting declaration of C function 'bool operator==(const rpl_gtid&, const rpl_gtid&)' 41 | inline bool operator==(const rpl_gtid& lhs, const rpl_gtid& rhs) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/rpl_gtid.h:715:1: error: template with C linkage 715 | template struct gtid_filter_element | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/rpl_gtid.h:732:1: error: template with C linkage 732 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/vector:65, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/buffer.hpp:24, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_service.hpp:30, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/wsrep_client_service.h:26, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:75: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:81:3: error: template with C linkage 81 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:110:3: error: template with C linkage 110 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:130:3: error: template with C linkage 130 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:140:3: error: template specialization with C linkage 140 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:161:3: error: template with C linkage 161 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:190:3: error: template with C linkage 190 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:208:3: error: template with C linkage 208 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:218:3: error: template specialization with C linkage 218 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:239:3: error: template with C linkage 239 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:258:3: error: template with C linkage 258 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:277:3: error: template with C linkage 277 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:287:3: error: template specialization with C linkage 287 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:310:3: error: template with C linkage 310 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:340:3: error: template with C linkage 340 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:377:3: error: template with C linkage 377 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:424:3: error: template with C linkage 424 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:438:3: error: template with C linkage 438 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:613:3: error: template specialization with C linkage 613 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:631:3: error: template with C linkage 631 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:654:3: error: template specialization with C linkage 654 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:676:3: error: template with C linkage 676 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:693:3: error: template with C linkage 693 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:719:3: error: template with C linkage 719 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:740:3: error: template with C linkage 740 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:751:3: error: template with C linkage 751 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:774:3: error: template with C linkage 774 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:782:3: error: template with C linkage 782 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:804:3: error: template specialization with C linkage 804 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:815:3: error: template with C linkage 815 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:837:3: error: template specialization with C linkage 837 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:848:3: error: template with C linkage 848 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:863:3: error: template with C linkage 863 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:875:3: error: template with C linkage 875 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:955:3: error: template with C linkage 955 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:1067:3: error: template with C linkage 1067 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:1084:3: error: template with C linkage 1084 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:1088:3: error: template with C linkage 1088 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:1138:3: error: template with C linkage 1138 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_vector.h:424:3: error: template with C linkage 424 | template > | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:5176:27: error: conflicting declaration of C function 'handlerton* ha_checktype(THD*, legacy_db_type, bool)' 5176 | static inline handlerton *ha_checktype(THD *thd, enum legacy_db_type type, | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:5174:13: note: previous declaration 'handlerton* ha_checktype(THD*, handlerton*, bool)' 5174 | handlerton *ha_checktype(THD *thd, handlerton *hton, bool no_substitute); | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:5416:6: error: conflicting declaration of C function 'void print_keydup_error(TABLE*, KEY*, myf)' 5416 | void print_keydup_error(TABLE *table, KEY *key, myf errflag); | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:5415:6: note: previous declaration 'void print_keydup_error(TABLE*, KEY*, const char*, myf)' 5415 | void print_keydup_error(TABLE *table, KEY *key, const char *msg, myf errflag); | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_vector.h:2034:3: error: template with C linkage 2034 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_vector.h:2074:3: error: template with C linkage 2074 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_vector.h:2081:3: error: template with C linkage 2081 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_vector.h:2087:3: error: template with C linkage 2087 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_vector.h:2093:3: error: template with C linkage 2093 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_vector.h:2099:3: error: template with C linkage 2099 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_vector.h:2106:3: error: template with C linkage 2106 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/vector:67: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:153:5: error: conflicting declaration of C function 'void std::swap(_Bit_reference, bool&)' 153 | swap(_Bit_reference __x, bool& __y) noexcept | ^~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:144:5: note: previous declaration 'void std::swap(_Bit_reference, _Bit_reference)' 144 | swap(_Bit_reference __x, _Bit_reference __y) noexcept | ^~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:162:5: error: conflicting declaration of C function 'void std::swap(bool&, _Bit_reference)' 162 | swap(bool& __x, _Bit_reference __y) noexcept | ^~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:144:5: note: previous declaration 'void std::swap(_Bit_reference, _Bit_reference)' 144 | swap(_Bit_reference __x, _Bit_reference __y) noexcept | ^~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:368:5: error: conflicting declaration of C function 'std::_Bit_iterator::iterator std::operator+(iterator::difference_type, const _Bit_iterator::iterator&)' 368 | operator+(difference_type __n, const iterator& __x) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:359:5: note: previous declaration 'std::_Bit_iterator::iterator std::operator+(const _Bit_iterator::iterator&, iterator::difference_type)' 359 | operator+(const iterator& __x, difference_type __n) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:373:5: error: conflicting declaration of C function 'std::_Bit_iterator::iterator std::operator-(const _Bit_iterator::iterator&, iterator::difference_type)' 373 | operator-(const iterator& __x, difference_type __n) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:267:5: note: previous declaration 'std::ptrdiff_t std::operator-(const _Bit_iterator_base&, const _Bit_iterator_base&)' 267 | operator-(const _Bit_iterator_base& __x, const _Bit_iterator_base& __y) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:470:5: error: conflicting declaration of C function 'std::_Bit_const_iterator::const_iterator std::operator+(const _Bit_const_iterator::const_iterator&, iterator::difference_type)' 470 | operator+(const const_iterator& __x, difference_type __n) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:359:5: note: previous declaration 'std::_Bit_iterator::iterator std::operator+(const _Bit_iterator::iterator&, iterator::difference_type)' 359 | operator+(const iterator& __x, difference_type __n) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:479:5: error: conflicting declaration of C function 'std::_Bit_const_iterator::const_iterator std::operator-(const _Bit_const_iterator::const_iterator&, iterator::difference_type)' 479 | operator-(const const_iterator& __x, difference_type __n) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:267:5: note: previous declaration 'std::ptrdiff_t std::operator-(const _Bit_iterator_base&, const _Bit_iterator_base&)' 267 | operator-(const _Bit_iterator_base& __x, const _Bit_iterator_base& __y) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:488:5: error: conflicting declaration of C function 'std::_Bit_const_iterator::const_iterator std::operator+(iterator::difference_type, const _Bit_const_iterator::const_iterator&)' 488 | operator+(difference_type __n, const const_iterator& __x) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:359:5: note: previous declaration 'std::_Bit_iterator::iterator std::operator+(const _Bit_iterator::iterator&, iterator::difference_type)' 359 | operator+(const iterator& __x, difference_type __n) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h: In member function 'std::_Bit_const_iterator::const_reference std::_Bit_const_iterator::operator[](std::iterator::difference_type) const': /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:22: error: no match for 'operator+' (operand types are 'const std::_Bit_const_iterator' and 'std::iterator::difference_type' {aka 'int'}) 466 | { return *(*this + __i); } | ~~~~~ ^ ~~~ | | | | | std::iterator::difference_type {aka int} | const std::_Bit_const_iterator In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/iterator:63, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_list.h:24, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plugin.h:46: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_iterator.h:634:5: note: candidate: 'template std::reverse_iterator<_Iterator> std::operator+(typename reverse_iterator<_Iterator>::difference_type, const reverse_iterator<_Iterator>&)' 634 | operator+(typename reverse_iterator<_Iterator>::difference_type __n, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_iterator.h:634:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: mismatched types 'const std::reverse_iterator<_Iterator>' and 'std::iterator::difference_type' {aka 'int'} 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_iterator.h:1808:5: note: candidate: 'template std::move_iterator<_IteratorL> std::operator+(typename move_iterator<_IteratorL>::difference_type, const move_iterator<_IteratorL>&)' 1808 | operator+(typename move_iterator<_Iterator>::difference_type __n, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_iterator.h:1808:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: mismatched types 'const std::move_iterator<_IteratorL>' and 'std::iterator::difference_type' {aka 'int'} 466 | { return *(*this + __i); } | ^~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/string:54, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_classes.h:40, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ios_base.h:41, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/streambuf:43, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/streambuf_iterator.h:35, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/iterator:66: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3541:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)' 3541 | operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3541:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: 'const std::_Bit_const_iterator' is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3559:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const _CharT*, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)' 3559 | operator+(const _CharT* __lhs, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3559:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: mismatched types 'const _CharT*' and 'std::_Bit_const_iterator' 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3578:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(_CharT, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)' 3578 | operator+(_CharT __lhs, const basic_string<_CharT,_Traits,_Alloc>& __rhs) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3578:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: mismatched types 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and 'std::iterator::difference_type' {aka 'int'} 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3595:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)' 3595 | operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3595:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: 'const std::_Bit_const_iterator' is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3613:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, _CharT)' 3613 | operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, _CharT __rhs) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3613:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: 'const std::_Bit_const_iterator' is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3625:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)' 3625 | operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3625:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: types 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and 'const std::_Bit_const_iterator' have incompatible cv-qualifiers 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3632:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, __cxx11::basic_string<_CharT, _Traits, _Alloc>&&)' 3632 | operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3632:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: 'const std::_Bit_const_iterator' is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3639:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, __cxx11::basic_string<_CharT, _Traits, _Alloc>&&)' 3639 | operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3639:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: types 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and 'const std::_Bit_const_iterator' have incompatible cv-qualifiers 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3662:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const _CharT*, __cxx11::basic_string<_CharT, _Traits, _Alloc>&&)' 3662 | operator+(const _CharT* __lhs, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3662:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: mismatched types 'const _CharT*' and 'std::_Bit_const_iterator' 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3669:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(_CharT, __cxx11::basic_string<_CharT, _Traits, _Alloc>&&)' 3669 | operator+(_CharT __lhs, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3669:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: mismatched types 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and 'std::iterator::difference_type' {aka 'int'} 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3676:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _CharT*)' 3676 | operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3676:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: types 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and 'const std::_Bit_const_iterator' have incompatible cv-qualifiers 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3683:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, _CharT)' 3683 | operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3683:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: types 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and 'const std::_Bit_const_iterator' have incompatible cv-qualifiers 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h: At global scope: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:492:3: error: template with C linkage 492 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:703:3: error: template with C linkage 703 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:31, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/log.h:20, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:28, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/plugin/metadata_lock_info/metadata_lock_info.cc:20: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plugin.h:204:13: error: conflicting declaration of 'void wsrep_plugins_pre_init()' with 'C' linkage 204 | extern void wsrep_plugins_pre_init(); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/mysqld.h:22, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:30: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plugin.h:204:13: note: previous declaration with 'C++' linkage 204 | extern void wsrep_plugins_pre_init(); | ^~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plugin.h:205:13: error: conflicting declaration of 'void wsrep_plugins_post_init()' with 'C' linkage 205 | extern void wsrep_plugins_post_init(); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plugin.h:205:13: note: previous declaration with 'C++' linkage 205 | extern void wsrep_plugins_post_init(); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:5176:27: error: conflicting declaration of C function 'handlerton* ha_checktype(THD*, legacy_db_type, bool)' 5176 | static inline handlerton *ha_checktype(THD *thd, enum legacy_db_type type, | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:5174:13: note: previous declaration 'handlerton* ha_checktype(THD*, handlerton*, bool)' 5174 | handlerton *ha_checktype(THD *thd, handlerton *hton, bool no_substitute); | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:5416:6: error: conflicting declaration of C function 'void print_keydup_error(TABLE*, KEY*, myf)' 5416 | void print_keydup_error(TABLE *table, KEY *key, myf errflag); | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:5415:6: note: previous declaration 'void print_keydup_error(TABLE*, KEY*, const char*, myf)' 5415 | void print_keydup_error(TABLE *table, KEY *key, const char *msg, myf errflag); | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:1566:3: error: conflicting declaration of 'void std::__fill_a1(_Bit_iterator, _Bit_iterator, const bool&)' with 'C' linkage 1566 | __fill_a1(_GLIBCXX_STD_C::_Bit_iterator __first, | ^~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/string:51: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_algobase.h:970:3: note: previous declaration with 'C++' linkage 970 | __fill_a1(_GLIBCXX_STD_C::_Bit_iterator, _GLIBCXX_STD_C::_Bit_iterator, | ^~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:1587:3: error: template with C linkage 1587 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/vector:72: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:64:3: error: template with C linkage 64 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:103:3: error: template with C linkage 103 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:130:3: error: template with C linkage 130 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:178:3: error: template with C linkage 178 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:192:3: error: template with C linkage 192 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:207:3: error: template with C linkage 207 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:267:3: error: template with C linkage 267 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:292:3: error: template with C linkage 292 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:311:3: error: template with C linkage 311 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:353:3: error: template with C linkage 353 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:377:3: error: template with C linkage 377 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:409:3: error: template with C linkage 409 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:441:3: error: template with C linkage 441 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:526:3: error: template with C linkage 526 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:631:3: error: template with C linkage 631 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:712:3: error: template with C linkage 712 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:725:3: error: template with C linkage 725 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:747:3: error: template with C linkage 747 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:843:3: error: template with C linkage 843 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:858:3: error: template with C linkage 858 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:890:3: error: template with C linkage 890 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:926:3: error: template with C linkage 926 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:955:3: error: template with C linkage 955 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:967:3: error: template with C linkage 967 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:979:3: error: template with C linkage 979 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:1013:3: error: template with C linkage 1013 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/buffer.hpp:86:9: error: template with C linkage 86 | template void push_back(const C& c) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:29, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_i_s.h:25, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/table.h:35, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/field.h:29, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:31: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:57:6: error: conflicting declaration of C function 'bool time_to_datetime(THD*, const MYSQL_TIME*, MYSQL_TIME*)' 57 | bool time_to_datetime(THD *thd, const MYSQL_TIME *tm, MYSQL_TIME *dt); | ^~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:38:6: note: previous declaration 'bool time_to_datetime(MYSQL_TIME*)' 38 | bool time_to_datetime(MYSQL_TIME *ltime); | ^~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:91:6: error: conflicting declaration of C function 'bool my_TIME_to_str(const MYSQL_TIME*, String*, uint)' 91 | bool my_TIME_to_str(const MYSQL_TIME *ltime, String *str, uint dec); | ^~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/structs.h:26, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:34: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_time.h:217:5: note: previous declaration 'int my_TIME_to_str(const MYSQL_TIME*, char*, uint)' 217 | int my_TIME_to_str(const MYSQL_TIME *l_time, char *to, uint digits); | ^~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:122:6: error: conflicting declaration of C function 'bool calc_time_diff(const MYSQL_TIME*, const MYSQL_TIME*, int, MYSQL_TIME*, date_mode_t)' 122 | bool calc_time_diff(const MYSQL_TIME *l_time1, const MYSQL_TIME *l_time2, | ^~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:96:6: note: previous declaration 'bool calc_time_diff(const MYSQL_TIME*, const MYSQL_TIME*, int, ulonglong*, ulong*)' 96 | bool calc_time_diff(const MYSQL_TIME *l_time1, const MYSQL_TIME *l_time2, | ^~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:136:13: error: conflicting declaration of C function 'bool parse_date_time_format(timestamp_type, DATE_TIME_FORMAT*)' 136 | inline bool parse_date_time_format(timestamp_type format_type, | ^~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:131:6: note: previous declaration 'bool parse_date_time_format(timestamp_type, const char*, uint, DATE_TIME_FORMAT*)' 131 | bool parse_date_time_format(timestamp_type format_type, | ^~~~~~~~~~~~~~~~~~~~~~ [ 14%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/fe_pow22523.c.o /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:170:1: error: conflicting declaration of C function 'bool check_date(const MYSQL_TIME*, date_conv_mode_t, int*)' 170 | check_date(const MYSQL_TIME *ltime, date_conv_mode_t flags, int *was_cut) | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_time.h:121:9: note: previous declaration 'my_bool check_date(const MYSQL_TIME*, my_bool, ulonglong, int*)' 121 | my_bool check_date(const MYSQL_TIME *ltime, my_bool not_zero_date, | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:178:1: error: conflicting declaration of C function 'bool check_date_with_warn(THD*, const MYSQL_TIME*, date_mode_t, timestamp_type)' 178 | check_date_with_warn(THD *thd, const MYSQL_TIME *ltime, | ^~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:175:6: note: previous declaration 'bool check_date_with_warn(THD*, const MYSQL_TIME*, date_conv_mode_t, timestamp_type)' 175 | bool check_date_with_warn(THD *thd, const MYSQL_TIME *ltime, | ^~~~~~~~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:35: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_array.h:35:1: error: template with C linkage 35 | template class Bounds_checked_array | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/plugin/metadata_lock_info/metadata_lock_info.cc:17: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_array.h:113:1: error: template with C linkage 113 | template class Dynamic_array | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:289:1: error: template with C linkage 289 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:370:1: error: template with C linkage 370 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/gtid.hpp:24, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/provider.hpp:23, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_service.hpp:31: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/seqno.hpp:96:19: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, seqno)' 96 | std::ostream& operator<<(std::ostream& os, wsrep::seqno seqno); | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/gtid.hpp:23: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:404:1: error: template with C linkage 404 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/mdl.h:19, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:36: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plist.h:19:1: error: template with C linkage 19 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:415:1: error: template with C linkage 415 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plist.h:22:1: error: template with C linkage 22 | template class I_P_List_no_push_back; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plist.h:62:1: error: template with C linkage 62 | template >(std::istream&, gtid&)' 127 | std::istream& operator>>(std::istream&, wsrep::gtid&); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:102:19: note: previous declaration 'std::istream& wsrep::operator>>(std::istream&, id&)' 102 | std::istream& operator>>(std::istream&, wsrep::id& id); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plist.h:172:1: error: template with C linkage 172 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plist.h:218:1: error: template with C linkage 218 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/provider.hpp:24: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/key.hpp:92:19: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, key::type)' 92 | std::ostream& operator<<(std::ostream&, enum wsrep::key::type); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/key.hpp:93:19: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, const key&)' 93 | std::ostream& operator<<(std::ostream&, const wsrep::key&); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plist.h:267:1: error: template with C linkage 267 | template class I_P_List_no_push_back | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plist.h:286:1: error: template with C linkage 286 | template class I_P_List_fast_push_back | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/mdl.h:20: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/ilist.h:28:1: error: template with C linkage 28 | template struct ilist_node | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/ilist.h:46:1: error: template with C linkage 46 | template class ilist | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_ios.h:37, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ios:46, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:40, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_id.hpp:23, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/provider.hpp:26: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:74:3: error: template with C linkage 74 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:80:3: error: template specialization with C linkage 80 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/ilist.h:219:1: error: template with C linkage 219 | template class sized_ilist : public ilist | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:85:3: error: template specialization with C linkage 85 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:90:3: error: template specialization with C linkage 90 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:97:3: error: template with C linkage 97 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:110:3: error: template with C linkage 110 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:119:3: error: template with C linkage 119 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:129:3: error: template with C linkage 129 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:152:3: error: template with C linkage 152 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:614:3: error: template with C linkage 614 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:671:3: error: template with C linkage 671 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:676:3: error: template with C linkage 676 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:688:3: error: template specialization with C linkage 688 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1193:3: error: template specialization with C linkage 1193 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1485:3: error: template with C linkage 1485 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1506:3: error: template specialization with C linkage 1506 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1524:3: error: template specialization with C linkage 1524 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/vers_string.h:20, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:37: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/lex_string.h:136:20: error: conflicting declaration of C function 'bool cmp(LEX_CSTRING, LEX_CSTRING)' 136 | static inline bool cmp(const LEX_CSTRING a, const LEX_CSTRING b) | ^~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/table.h:23, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/field.h:29, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:31: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_string.h:1236:1: error: template with C linkage 1236 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/lex_string.h:131:20: note: previous declaration 'bool cmp(const LEX_CSTRING*, const LEX_CSTRING*)' 131 | static inline bool cmp(const LEX_CSTRING *a, const LEX_CSTRING *b) | ^~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1602:3: error: template with C linkage 1602 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_string.h:1262:1: error: template with C linkage 1262 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/lex_string.h:158:20: error: conflicting declaration of C function 'bool lex_string_eq(const LEX_CSTRING*, const char*, size_t)' 158 | static inline bool lex_string_eq(const LEX_CSTRING *a, const char *b, size_t b_length) | ^~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/lex_string.h:146:20: note: previous declaration 'bool lex_string_eq(const LEX_CSTRING*, const LEX_CSTRING*)' 146 | static inline bool lex_string_eq(const LEX_CSTRING *a, const LEX_CSTRING *b) | ^~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1650:3: error: template with C linkage 1650 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1677:3: error: template with C linkage 1677 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h: In member function 'bool Temporal::check_date(date_conv_mode_t, int*) const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:1163:31: error: cannot convert 'date_conv_mode_t' to 'my_bool' {aka 'char'} 1163 | return ::check_date(this, flags, warn); | ^~~~~ | | | date_conv_mode_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_time.h:121:53: note: initializing argument 2 of 'my_bool check_date(const MYSQL_TIME*, my_bool, ulonglong, int*)' 121 | my_bool check_date(const MYSQL_TIME *ltime, my_bool not_zero_date, | ~~~~~~~~^~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/vers_string.h:52:1: error: template with C linkage 52 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1890:3: error: template with C linkage 1890 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1893:3: error: template specialization with C linkage 1893 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1896:3: error: template specialization with C linkage 1896 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1901:3: error: template specialization with C linkage 1901 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1904:3: error: template specialization with C linkage 1904 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1910:3: error: template with C linkage 1910 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1959:3: error: template with C linkage 1959 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2301:3: error: template with C linkage 2301 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2317:3: error: template with C linkage 2317 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2588:3: error: template with C linkage 2588 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2599:3: error: template with C linkage 2599 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2605:3: error: template with C linkage 2605 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2611:3: error: template with C linkage 2611 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2617:3: error: template with C linkage 2617 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2623:3: error: template with C linkage 2623 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2629:3: error: template with C linkage 2629 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2635:3: error: template with C linkage 2635 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2641:3: error: template with C linkage 2641 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2647:3: error: template with C linkage 2647 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2653:3: error: template with C linkage 2653 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2659:3: error: template with C linkage 2659 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2666:3: error: template with C linkage 2666 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2673:3: error: template with C linkage 2673 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2679:3: error: template with C linkage 2679 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2687: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:41:3: error: template with C linkage 41 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:49:3: error: template with C linkage 49 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:76:3: error: template with C linkage 76 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:145:3: error: template with C linkage 145 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:370:3: error: template with C linkage 370 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:47: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/mem_root_array.h:46:1: error: template with C linkage 46 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/utility:68, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:48: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_relops.h:86:5: error: template with C linkage 86 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h: In member function 'void Time::datetime_to_time_minus_current_date(THD*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:1694:44: error: cannot convert 'MYSQL_TIME*' {aka 'st_mysql_time*'} to 'ulonglong*' {aka 'long long unsigned int*'} 1694 | calc_time_diff(this, ¤t_date, 1, &tmp, date_mode_t(0)); | ^~~~ | | | MYSQL_TIME* {aka st_mysql_time*} /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:97:44: note: initializing argument 4 of 'bool calc_time_diff(const MYSQL_TIME*, const MYSQL_TIME*, int, ulonglong*, ulong*)' 97 | int l_sign, ulonglong *seconds_out, ulong *microseconds_out); | ~~~~~~~~~~~^~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_relops.h:99:5: error: template with C linkage 99 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_relops.h:112:5: error: template with C linkage 112 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_relops.h:125:5: error: template with C linkage 125 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:592:3: error: template with C linkage 592 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:688:3: error: template with C linkage 688 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:703:3: error: template with C linkage 703 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:735:3: error: template with C linkage 735 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:750:3: error: template with C linkage 750 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:795:3: error: template with C linkage 795 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:810:3: error: template with C linkage 810 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:854:3: error: template with C linkage 854 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:865:3: error: template with C linkage 865 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:954:3: error: template with C linkage 954 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:989:3: error: template with C linkage 989 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ [ 14%] Building CXX object plugin/handler_socket/CMakeFiles/hsclient.dir/libhsclient/hstcpcli.cpp.o /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:1121:3: error: template with C linkage 1121 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:1173:3: error: template with C linkage 1173 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:1187:3: error: template with C linkage 1187 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:1194:3: error: template with C linkage 1194 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:1233:3: error: template with C linkage 1233 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:1282:3: error: template with C linkage 1282 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:29, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_i_s.h:25, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/table.h:35: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:57:6: error: conflicting declaration of C function 'bool time_to_datetime(THD*, const MYSQL_TIME*, MYSQL_TIME*)' 57 | bool time_to_datetime(THD *thd, const MYSQL_TIME *tm, MYSQL_TIME *dt); | ^~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:38:6: note: previous declaration 'bool time_to_datetime(MYSQL_TIME*)' 38 | bool time_to_datetime(MYSQL_TIME *ltime); | ^~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:91:6: error: conflicting declaration of C function 'bool my_TIME_to_str(const MYSQL_TIME*, String*, uint)' 91 | bool my_TIME_to_str(const MYSQL_TIME *ltime, String *str, uint dec); | ^~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/structs.h:26, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:34: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_time.h:217:5: note: previous declaration 'int my_TIME_to_str(const MYSQL_TIME*, char*, uint)' 217 | int my_TIME_to_str(const MYSQL_TIME *l_time, char *to, uint digits); | ^~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:122:6: error: conflicting declaration of C function 'bool calc_time_diff(const MYSQL_TIME*, const MYSQL_TIME*, int, MYSQL_TIME*, date_mode_t)' 122 | bool calc_time_diff(const MYSQL_TIME *l_time1, const MYSQL_TIME *l_time2, | ^~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:96:6: note: previous declaration 'bool calc_time_diff(const MYSQL_TIME*, const MYSQL_TIME*, int, ulonglong*, ulong*)' 96 | bool calc_time_diff(const MYSQL_TIME *l_time1, const MYSQL_TIME *l_time2, | ^~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:136:13: error: conflicting declaration of C function 'bool parse_date_time_format(timestamp_type, DATE_TIME_FORMAT*)' 136 | inline bool parse_date_time_format(timestamp_type format_type, | ^~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:131:6: note: previous declaration 'bool parse_date_time_format(timestamp_type, const char*, uint, DATE_TIME_FORMAT*)' 131 | bool parse_date_time_format(timestamp_type format_type, | ^~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:170:1: error: conflicting declaration of C function 'bool check_date(const MYSQL_TIME*, date_conv_mode_t, int*)' 170 | check_date(const MYSQL_TIME *ltime, date_conv_mode_t flags, int *was_cut) | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_time.h:121:9: note: previous declaration 'my_bool check_date(const MYSQL_TIME*, my_bool, ulonglong, int*)' 121 | my_bool check_date(const MYSQL_TIME *ltime, my_bool not_zero_date, | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:178:1: error: conflicting declaration of C function 'bool check_date_with_warn(THD*, const MYSQL_TIME*, date_mode_t, timestamp_type)' 178 | check_date_with_warn(THD *thd, const MYSQL_TIME *ltime, | ^~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:175:6: note: previous declaration 'bool check_date_with_warn(THD*, const MYSQL_TIME*, date_conv_mode_t, timestamp_type)' 175 | bool check_date_with_warn(THD *thd, const MYSQL_TIME *ltime, | ^~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_ios.h:45:3: error: template with C linkage 45 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_ios.h:66:3: error: template with C linkage 66 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_ios.h:516: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_ios.tcc:39:3: error: template with C linkage 39 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_ios.tcc:51:3: error: template with C linkage 51 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_ios.tcc:61:3: error: template with C linkage 61 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:289:1: error: template with C linkage 289 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_ios.tcc:112:3: error: template with C linkage 112 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_ios.tcc:124:3: error: template with C linkage 124 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_ios.tcc:155:3: error: template with C linkage 155 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:370:1: error: template with C linkage 370 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:404:1: error: template with C linkage 404 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:415:1: error: template with C linkage 415 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:59:3: error: template with C linkage 59 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:479:3: error: template with C linkage 479 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:552:3: error: template with C linkage 552 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:562:3: error: template with C linkage 562 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:568:3: error: template with C linkage 568 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:579:3: error: template with C linkage 579 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:584:3: error: template with C linkage 584 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:643:3: error: template with C linkage 643 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:655:3: error: template with C linkage 655 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:660:3: error: template with C linkage 660 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:673:3: error: template with C linkage 673 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:678:3: error: template with C linkage 678 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:733:3: error: template with C linkage 733 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:745:3: error: template with C linkage 745 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:755:3: error: template with C linkage 755 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:777:3: error: template with C linkage 777 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:782:3: error: template with C linkage 782 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:880: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:45:3: error: template with C linkage 45 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:60:3: error: template with C linkage 60 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:94:3: error: template with C linkage 94 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:108:3: error: template with C linkage 108 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:122:3: error: template with C linkage 122 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:151:3: error: template with C linkage 151 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:185:3: error: template with C linkage 185 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:219:3: error: template with C linkage 219 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:254:3: error: template with C linkage 254 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:266:3: error: template with C linkage 266 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:285:3: error: template with C linkage 285 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:305:3: error: template with C linkage 305 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_id.hpp:35:9: error: template with C linkage 35 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_id.hpp:52:33: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, const client_id&)' 52 | static inline std::ostream& operator<<( | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/iostream:42, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction_id.hpp:23, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/provider.hpp:27: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:59:3: error: template with C linkage 59 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h: In member function 'bool Temporal::check_date(date_conv_mode_t, int*) const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:1163:31: error: cannot convert 'date_conv_mode_t' to 'my_bool' {aka 'char'} 1163 | return ::check_date(this, flags, warn); | ^~~~~ | | | date_conv_mode_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_time.h:121:53: note: initializing argument 2 of 'my_bool check_date(const MYSQL_TIME*, my_bool, ulonglong, int*)' 121 | my_bool check_date(const MYSQL_TIME *ltime, my_bool not_zero_date, | ~~~~~~~~^~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:735:3: error: template specialization with C linkage 735 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:740:3: error: template specialization with C linkage 740 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:745:3: error: template specialization with C linkage 745 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:751:3: error: template specialization with C linkage 751 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:756:3: error: template specialization with C linkage 756 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:761:3: error: template specialization with C linkage 761 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:775:3: error: template with C linkage 775 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:840:3: error: template with C linkage 840 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:844:3: error: template with C linkage 844 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:849:3: error: template with C linkage 849 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:856:3: error: template with C linkage 856 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:860:8: error: conflicting declaration of 'void std::__istream_extract(istream&, char*, streamsize)' with 'C' linkage 860 | void __istream_extract(istream&, char*, streamsize); | ^~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/streambuf:171:19: note: previous declaration with 'C++' linkage 171 | friend void __istream_extract(istream&, char*, streamsize); | ^~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:890:3: error: template with C linkage 890 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:933:3: error: template with C linkage 933 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:939:3: error: template with C linkage 939 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:979:3: error: template with C linkage 979 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:1062:3: error: template with C linkage 1062 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:1078:3: error: template with C linkage 1078 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:1106: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:45:3: error: template with C linkage 45 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:93:3: error: template with C linkage 93 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:126:3: error: template with C linkage 126 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:176:3: error: template with C linkage 176 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:226:3: error: template with C linkage 226 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:258:3: error: template with C linkage 258 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:294:3: error: template with C linkage 294 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ [ 14%] Building C object extra/readline/CMakeFiles/readline.dir/kill.c.o /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:331:3: error: template with C linkage 331 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:378:3: error: template with C linkage 378 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h: In member function 'void Time::datetime_to_time_minus_current_date(THD*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:1694:44: error: cannot convert 'MYSQL_TIME*' {aka 'st_mysql_time*'} to 'ulonglong*' {aka 'long long unsigned int*'} 1694 | calc_time_diff(this, ¤t_date, 1, &tmp, date_mode_t(0)); | ^~~~ | | | MYSQL_TIME* {aka st_mysql_time*} /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:97:44: note: initializing argument 4 of 'bool calc_time_diff(const MYSQL_TIME*, const MYSQL_TIME*, int, ulonglong*, ulong*)' 97 | int l_sign, ulonglong *seconds_out, ulong *microseconds_out); | ~~~~~~~~~~~^~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:429:3: error: template with C linkage 429 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:489:3: error: template with C linkage 489 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:522:3: error: template with C linkage 522 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:5176:27: error: conflicting declaration of C function 'handlerton* ha_checktype(THD*, legacy_db_type, bool)' 5176 | static inline handlerton *ha_checktype(THD *thd, enum legacy_db_type type, | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:592:3: error: template with C linkage 592 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:5174:13: note: previous declaration 'handlerton* ha_checktype(THD*, handlerton*, bool)' 5174 | handlerton *ha_checktype(THD *thd, handlerton *hton, bool no_substitute); | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:669:3: error: template with C linkage 669 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:699:3: error: template with C linkage 699 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:728:3: error: template with C linkage 728 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:760:3: error: template with C linkage 760 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:795:3: error: template with C linkage 795 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:5416:6: error: conflicting declaration of C function 'void print_keydup_error(TABLE*, KEY*, myf)' 5416 | void print_keydup_error(TABLE *table, KEY *key, myf errflag); | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:5415:6: note: previous declaration 'void print_keydup_error(TABLE*, KEY*, const char*, myf)' 5415 | void print_keydup_error(TABLE *table, KEY *key, const char *msg, myf errflag); | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:830:3: error: template with C linkage 830 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:866:3: error: template with C linkage 866 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:894:3: error: template with C linkage 894 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:933:3: error: template with C linkage 933 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:973:3: error: template with C linkage 973 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:1005:3: error: template with C linkage 1005 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:1068:3: error: template with C linkage 1068 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ [ 14%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/ge_frombytes.c.o /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction_id.hpp:38:9: error: template with C linkage 38 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction_id.hpp:57:33: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, transaction_id)' 57 | static inline std::ostream& operator<<(std::ostream& os, transaction_id id) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/provider.hpp:192:19: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, const ws_meta&)' 192 | std::ostream& operator<<(std::ostream& os, const wsrep::ws_meta& ws_meta); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:39, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:40, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/lock.hpp:23, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_service.hpp:33: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:51:3: error: template with C linkage 51 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:61:3: error: template with C linkage 61 | template> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:65:3: error: template with C linkage 65 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:72:3: error: template with C linkage 72 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:84:3: error: template with C linkage 84 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:87:3: error: template with C linkage 87 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:90:3: error: template with C linkage 90 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:93:3: error: template with C linkage 93 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:109:3: error: template with C linkage 109 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:113:3: error: template with C linkage 113 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:117:3: error: template with C linkage 117 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:127:3: error: template with C linkage 127 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:137:3: error: template with C linkage 137 | template class _Predicate, | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:145:3: error: template with C linkage 145 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:156:3: error: template with C linkage 156 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:170:3: error: template with C linkage 170 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:175:3: error: template with C linkage 175 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:183:3: error: template with C linkage 183 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:188:3: error: template with C linkage 188 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:57:3: error: template with C linkage 57 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:60:3: error: template with C linkage 60 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:64:3: error: template with C linkage 64 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:68:3: error: template with C linkage 68 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:73:3: error: template with C linkage 73 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ [ 14%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/ge_p3_0.c.o /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:187:3: error: template with C linkage 187 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:250:3: error: template with C linkage 250 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:258:3: error: template with C linkage 258 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:488:3: error: template with C linkage 488 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:684:3: error: template with C linkage 684 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:732:3: error: template with C linkage 732 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:745:3: error: template with C linkage 745 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ [ 14%] Building C object extra/readline/CMakeFiles/readline.dir/undo.c.o /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1208:3: error: template specialization with C linkage 1208 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1231:3: error: template with C linkage 1231 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ [ 14%] Building C object libmariadb/libmariadb/CMakeFiles/mariadb_obj.dir/ma_alloc.c.o /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1748:3: error: template with C linkage 1748 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1763:3: error: template with C linkage 1763 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1771:3: error: template with C linkage 1771 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1776:3: error: template with C linkage 1776 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1782:3: error: template with C linkage 1782 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1787:3: error: template with C linkage 1787 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1793:3: error: template with C linkage 1793 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1799:3: error: template with C linkage 1799 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1808:3: error: template with C linkage 1808 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1818:3: error: template with C linkage 1818 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1874:3: error: template with C linkage 1874 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1893:3: error: template with C linkage 1893 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1903:3: error: template with C linkage 1903 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1945:3: error: template with C linkage 1945 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1958:3: error: template with C linkage 1958 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1964:3: error: template with C linkage 1964 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:29, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_i_s.h:25, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/table.h:35, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/field.h:29, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:31: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:57:6: error: conflicting declaration of C function 'bool time_to_datetime(THD*, const MYSQL_TIME*, MYSQL_TIME*)' 57 | bool time_to_datetime(THD *thd, const MYSQL_TIME *tm, MYSQL_TIME *dt); | ^~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1970:3: error: template with C linkage 1970 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:38:6: note: previous declaration 'bool time_to_datetime(MYSQL_TIME*)' 38 | bool time_to_datetime(MYSQL_TIME *ltime); | ^~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1976:3: error: template with C linkage 1976 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1985:3: error: template with C linkage 1985 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:91:6: error: conflicting declaration of C function 'bool my_TIME_to_str(const MYSQL_TIME*, String*, uint)' 91 | bool my_TIME_to_str(const MYSQL_TIME *ltime, String *str, uint dec); | ^~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1997:3: error: template with C linkage 1997 | template | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/structs.h:26, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/handler.h:34: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_time.h:217:5: note: previous declaration 'int my_TIME_to_str(const MYSQL_TIME*, char*, uint)' 217 | int my_TIME_to_str(const MYSQL_TIME *l_time, char *to, uint digits); | ^~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2005:3: error: template with C linkage 2005 | template struct array; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:122:6: error: conflicting declaration of C function 'bool calc_time_diff(const MYSQL_TIME*, const MYSQL_TIME*, int, MYSQL_TIME*, date_mode_t)' 122 | bool calc_time_diff(const MYSQL_TIME *l_time1, const MYSQL_TIME *l_time2, | ^~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:96:6: note: previous declaration 'bool calc_time_diff(const MYSQL_TIME*, const MYSQL_TIME*, int, ulonglong*, ulong*)' 96 | bool calc_time_diff(const MYSQL_TIME *l_time1, const MYSQL_TIME *l_time2, | ^~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2007:3: error: template with C linkage 2007 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2011:3: error: template with C linkage 2011 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:136:13: error: conflicting declaration of C function 'bool parse_date_time_format(timestamp_type, DATE_TIME_FORMAT*)' 136 | inline bool parse_date_time_format(timestamp_type format_type, | ^~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:131:6: note: previous declaration 'bool parse_date_time_format(timestamp_type, const char*, uint, DATE_TIME_FORMAT*)' 131 | bool parse_date_time_format(timestamp_type format_type, | ^~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2015:3: error: template with C linkage 2015 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2019:3: error: template with C linkage 2019 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2024:3: error: template with C linkage 2024 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2027:3: error: template with C linkage 2027 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2034:3: error: template with C linkage 2034 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:170:1: error: conflicting declaration of C function 'bool check_date(const MYSQL_TIME*, date_conv_mode_t, int*)' 170 | check_date(const MYSQL_TIME *ltime, date_conv_mode_t flags, int *was_cut) | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2040:3: error: template with C linkage 2040 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_time.h:121:9: note: previous declaration 'my_bool check_date(const MYSQL_TIME*, my_bool, ulonglong, int*)' 121 | my_bool check_date(const MYSQL_TIME *ltime, my_bool not_zero_date, | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2046:3: error: template with C linkage 2046 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2052:3: error: template with C linkage 2052 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2055:3: error: template specialization with C linkage 2055 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:178:1: error: conflicting declaration of C function 'bool check_date_with_warn(THD*, const MYSQL_TIME*, date_mode_t, timestamp_type)' 178 | check_date_with_warn(THD *thd, const MYSQL_TIME *ltime, | ^~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:175:6: note: previous declaration 'bool check_date_with_warn(THD*, const MYSQL_TIME*, date_conv_mode_t, timestamp_type)' 175 | bool check_date_with_warn(THD *thd, const MYSQL_TIME *ltime, | ^~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2061:3: error: template with C linkage 2061 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2067:3: error: template with C linkage 2067 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2075:3: error: template with C linkage 2075 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2084:3: error: template with C linkage 2084 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2087:3: error: template specialization with C linkage 2087 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2093:3: error: template with C linkage 2093 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2103:3: error: template with C linkage 2103 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2106:3: error: template with C linkage 2106 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2121:3: error: template with C linkage 2121 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2132:3: error: template with C linkage 2132 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2138:3: error: template with C linkage 2138 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2159:3: error: template with C linkage 2159 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2184:3: error: template with C linkage 2184 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2196:5: error: template with C linkage 2196 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2222:3: error: template with C linkage 2222 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2234:3: error: template with C linkage 2234 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2246:3: error: template with C linkage 2246 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:37, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:43: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:56:3: error: template with C linkage 56 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:61:3: error: template with C linkage 61 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:66:3: error: template with C linkage 66 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:71:3: error: template with C linkage 71 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:76:3: error: template with C linkage 76 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:87:3: error: template with C linkage 87 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:114:3: error: template with C linkage 114 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:120:3: error: template with C linkage 120 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:129:3: error: template with C linkage 129 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:140:3: error: template with C linkage 140 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:165:3: error: template with C linkage 165 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:210:3: error: template with C linkage 210 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:265:3: error: template with C linkage 265 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:289:1: error: template with C linkage 289 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:283:3: error: template with C linkage 283 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:286:3: error: template with C linkage 286 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:292:3: error: template with C linkage 292 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:313:3: error: template with C linkage 313 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:316:3: error: template with C linkage 316 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:323:3: error: template with C linkage 323 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:328:3: error: template with C linkage 328 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:342:3: error: template with C linkage 342 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:370:1: error: template with C linkage 370 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:345:3: error: template with C linkage 345 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:352:3: error: template with C linkage 352 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:356:3: error: template with C linkage 356 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:362:3: error: template with C linkage 362 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:370:3: error: template with C linkage 370 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:378:3: error: template with C linkage 378 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:388:3: error: template with C linkage 388 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:393:3: error: template with C linkage 393 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:402:3: error: template with C linkage 402 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:408:3: error: template with C linkage 408 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:414:3: error: template with C linkage 414 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:420:3: error: template with C linkage 420 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:444:3: error: template with C linkage 444 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:484:3: error: template with C linkage 484 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:490:3: error: template with C linkage 490 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:513:3: error: template with C linkage 513 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:522:3: error: template with C linkage 522 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:525:3: error: template with C linkage 525 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:532:3: error: template with C linkage 532 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:537:3: error: template with C linkage 537 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:549:3: error: template with C linkage 549 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:552:3: error: template with C linkage 552 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:559:3: error: template with C linkage 559 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:61:5: error: template with C linkage 61 | template> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:65:5: error: template with C linkage 65 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:77:3: error: template with C linkage 77 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:81:3: error: template with C linkage 81 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:102:3: error: template with C linkage 102 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:111:3: error: template with C linkage 111 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:120:3: error: template with C linkage 120 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:132:3: error: template with C linkage 132 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:136:3: error: template with C linkage 136 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:148:3: error: template with C linkage 148 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:155:3: error: template with C linkage 155 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:161:3: error: template with C linkage 161 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:176:5: error: template with C linkage 176 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:203:5: error: template with C linkage 203 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:216:5: error: template with C linkage 216 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:229:5: error: template with C linkage 229 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:234:5: error: template with C linkage 234 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:239:5: error: template with C linkage 239 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:243:5: error: template with C linkage 243 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:270:5: error: template with C linkage 270 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:302:5: error: template with C linkage 302 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:474:7: error: template with C linkage 474 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:482:7: error: template with C linkage 482 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:492:5: error: template with C linkage 492 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:510:5: error: template with C linkage 510 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:515:5: error: template with C linkage 515 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:522:5: error: template with C linkage 522 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:703:5: error: template with C linkage 703 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:759:5: error: template with C linkage 759 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:764:5: error: template with C linkage 764 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:774:5: error: template with C linkage 774 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:797:5: error: template with C linkage 797 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:1027:5: error: template with C linkage 1027 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:1108:5: error: template with C linkage 1108 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:1162:5: error: template with C linkage 1162 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:1176:5: error: template with C linkage 1176 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:1183:5: error: template with C linkage 1183 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:1189:5: error: template with C linkage 1189 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:1195:5: error: template with C linkage 1195 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:1201:5: error: template with C linkage 1201 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h: At global scope: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:7561:1: error: template with C linkage 7561 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h: In member function 'bool Temporal::check_date(date_conv_mode_t, int*) const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:1163:31: error: cannot convert 'date_conv_mode_t' to 'my_bool' {aka 'char'} 1163 | return ::check_date(this, flags, warn); | ^~~~~ | | | date_conv_mode_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_time.h:121:53: note: initializing argument 2 of 'my_bool check_date(const MYSQL_TIME*, my_bool, ulonglong, int*)' 121 | my_bool check_date(const MYSQL_TIME *ltime, my_bool not_zero_date, | ~~~~~~~~^~~~~~~~~~~~~ [ 14%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/ge_sub.c.o [ 14%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/verify.c.o In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:45: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/std_mutex.h:242:3: error: template with C linkage 242 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:46: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/unique_lock.h:58:3: error: template with C linkage 58 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/unique_lock.h:241:3: error: template with C linkage 241 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h: In member function 'void Time::datetime_to_time_minus_current_date(THD*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:1694:44: error: cannot convert 'MYSQL_TIME*' {aka 'st_mysql_time*'} to 'ulonglong*' {aka 'long long unsigned int*'} 1694 | calc_time_diff(this, ¤t_date, 1, &tmp, date_mode_t(0)); | ^~~~ | | | MYSQL_TIME* {aka st_mysql_time*} /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_time.h:97:44: note: initializing argument 4 of 'bool calc_time_diff(const MYSQL_TIME*, const MYSQL_TIME*, int, ulonglong*, ulong*)' 97 | int l_sign, ulonglong *seconds_out, ulong *microseconds_out); | ~~~~~~~~~~~^~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:150:3: error: template with C linkage 150 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:265:5: error: template with C linkage 265 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:271:5: error: template with C linkage 271 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:343:5: error: template with C linkage 343 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:349:5: error: template with C linkage 349 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:562:5: error: template with C linkage 562 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:577:5: error: template with C linkage 577 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:631:3: error: template with C linkage 631 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:647:5: error: template with C linkage 647 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:691:3: error: template with C linkage 691 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:814:5: error: template with C linkage 814 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:829:5: error: template with C linkage 829 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/table.h:37: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:147:20: error: conflicting declaration of C function 'bool operator==(privilege_t, ulong)' 147 | static inline bool operator==(privilege_t, ulong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ [ 14%] Building CXX object plugin/handler_socket/CMakeFiles/hsclient.dir/libhsclient/socket.cpp.o /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:148:20: error: conflicting declaration of C function 'bool operator==(privilege_t, uint)' 148 | static inline bool operator==(privilege_t, uint)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:149:20: error: conflicting declaration of C function 'bool operator==(privilege_t, uchar)' 149 | static inline bool operator==(privilege_t, uchar)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:894:3: error: template with C linkage 894 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:150:20: error: conflicting declaration of C function 'bool operator==(privilege_t, longlong)' 150 | static inline bool operator==(privilege_t, longlong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:151:20: error: conflicting declaration of C function 'bool operator==(privilege_t, long int)' 151 | static inline bool operator==(privilege_t, long)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:152:20: error: conflicting declaration of C function 'bool operator==(privilege_t, int)' 152 | static inline bool operator==(privilege_t, int)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:153:20: error: conflicting declaration of C function 'bool operator==(privilege_t, char)' 153 | static inline bool operator==(privilege_t, char)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:154:20: error: conflicting declaration of C function 'bool operator==(privilege_t, bool)' 154 | static inline bool operator==(privilege_t, bool)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/lock.hpp:27:5: error: template with C linkage 27 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:156:20: error: conflicting declaration of C function 'bool operator==(ulonglong, privilege_t)' 156 | static inline bool operator==(ulonglong, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:157:20: error: conflicting declaration of C function 'bool operator==(ulong, privilege_t)' 157 | static inline bool operator==(ulong, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:158:20: error: conflicting declaration of C function 'bool operator==(uint, privilege_t)' 158 | static inline bool operator==(uint, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:159:20: error: conflicting declaration of C function 'bool operator==(uchar, privilege_t)' 159 | static inline bool operator==(uchar, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:160:20: error: conflicting declaration of C function 'bool operator==(longlong, privilege_t)' 160 | static inline bool operator==(longlong, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:161:20: error: conflicting declaration of C function 'bool operator==(long int, privilege_t)' 161 | static inline bool operator==(long, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:162:20: error: conflicting declaration of C function 'bool operator==(int, privilege_t)' 162 | static inline bool operator==(int, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:163:20: error: conflicting declaration of C function 'bool operator==(char, privilege_t)' 163 | static inline bool operator==(char, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:164:20: error: conflicting declaration of C function 'bool operator==(bool, privilege_t)' 164 | static inline bool operator==(bool, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:167:20: error: conflicting declaration of C function 'bool operator!=(privilege_t, ulong)' 167 | static inline bool operator!=(privilege_t, ulong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:168:20: error: conflicting declaration of C function 'bool operator!=(privilege_t, uint)' 168 | static inline bool operator!=(privilege_t, uint)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:169:20: error: conflicting declaration of C function 'bool operator!=(privilege_t, uchar)' 169 | static inline bool operator!=(privilege_t, uchar)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:170:20: error: conflicting declaration of C function 'bool operator!=(privilege_t, longlong)' 170 | static inline bool operator!=(privilege_t, longlong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/logger.hpp:28, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/streaming_context.hpp:24, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:26, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:35, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/wsrep_client_service.h:27: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/sstream:78:3: error: template with C linkage 78 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:171:20: error: conflicting declaration of C function 'bool operator!=(privilege_t, long int)' 171 | static inline bool operator!=(privilege_t, long)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:172:20: error: conflicting declaration of C function 'bool operator!=(privilege_t, int)' 172 | static inline bool operator!=(privilege_t, int)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:173:20: error: conflicting declaration of C function 'bool operator!=(privilege_t, char)' 173 | static inline bool operator!=(privilege_t, char)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:174:20: error: conflicting declaration of C function 'bool operator!=(privilege_t, bool)' 174 | static inline bool operator!=(privilege_t, bool)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:176:20: error: conflicting declaration of C function 'bool operator!=(ulonglong, privilege_t)' 176 | static inline bool operator!=(ulonglong, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:177:20: error: conflicting declaration of C function 'bool operator!=(ulong, privilege_t)' 177 | static inline bool operator!=(ulong, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:178:20: error: conflicting declaration of C function 'bool operator!=(uint, privilege_t)' 178 | static inline bool operator!=(uint, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:179:20: error: conflicting declaration of C function 'bool operator!=(uchar, privilege_t)' 179 | static inline bool operator!=(uchar, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:180:20: error: conflicting declaration of C function 'bool operator!=(longlong, privilege_t)' 180 | static inline bool operator!=(longlong, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:181:20: error: conflicting declaration of C function 'bool operator!=(long int, privilege_t)' 181 | static inline bool operator!=(long, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:182:20: error: conflicting declaration of C function 'bool operator!=(int, privilege_t)' 182 | static inline bool operator!=(int, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:183:20: error: conflicting declaration of C function 'bool operator!=(char, privilege_t)' 183 | static inline bool operator!=(char, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:184:20: error: conflicting declaration of C function 'bool operator!=(bool, privilege_t)' 184 | static inline bool operator!=(bool, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:194:37: error: conflicting declaration of C function 'constexpr privilege_t operator&(ulonglong, privilege_t)' 194 | static inline constexpr privilege_t operator&(ulonglong a, privilege_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:188:37: note: previous declaration 'constexpr privilege_t operator&(privilege_t, privilege_t)' 188 | static inline constexpr privilege_t operator&(privilege_t a, privilege_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:199:37: error: conflicting declaration of C function 'constexpr privilege_t operator&(privilege_t, ulonglong)' 199 | static inline constexpr privilege_t operator&(privilege_t a, ulonglong b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:188:37: note: previous declaration 'constexpr privilege_t operator&(privilege_t, privilege_t)' 188 | static inline constexpr privilege_t operator&(privilege_t a, privilege_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:204:37: error: conflicting declaration of C function 'constexpr privilege_t operator|(privilege_t, privilege_t)' 204 | static inline constexpr privilege_t operator|(privilege_t a, privilege_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:2973:31: note: previous declaration 'my_repertoire_t operator|(my_repertoire_t, my_repertoire_t)' 2973 | static inline my_repertoire_t operator|(const my_repertoire_t a, | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:217:28: error: conflicting declaration of C function 'privilege_t& operator&=(privilege_t&, ulonglong)' 217 | static inline privilege_t& operator&=(privilege_t &a, ulonglong b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:212:28: note: previous declaration 'privilege_t& operator&=(privilege_t&, privilege_t)' 212 | static inline privilege_t& operator&=(privilege_t &a, privilege_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h: In function 'privilege_t& operator&=(privilege_t&, ulonglong)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:219:15: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 219 | return a= a & b; | ~~^~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h: At global scope: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:222:28: error: conflicting declaration of C function 'privilege_t& operator|=(privilege_t&, privilege_t)' 222 | static inline privilege_t& operator|=(privilege_t &a, privilege_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:2979:32: note: previous declaration 'my_repertoire_t& operator|=(my_repertoire_t&, my_repertoire_t)' 2979 | static inline my_repertoire_t &operator|=(my_repertoire_t &a, | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h: In function 'privilege_t& operator|=(privilege_t&, privilege_t)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:224:15: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 224 | return a= a | b; | ~~^~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h: At global scope: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:239:20: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 234 | SET_USER_ACL | | ~~~~~~~~~~~~~~ 235 | FEDERATED_ADMIN_ACL | | ~~~~~~~~~~~~~~~~~~~~~ 236 | CONNECTION_ADMIN_ACL | | ~~~~~~~~~~~~~~~~~~~~~~ 237 | READ_ONLY_ADMIN_ACL | | ~~~~~~~~~~~~~~~~~~~~~ 238 | REPL_SLAVE_ADMIN_ACL | | ~~~~~~~~~~~~~~~~~~~~~~ 239 | BINLOG_ADMIN_ACL | | ~~~~~~~~~~~~~~~~~^ | | | long long unsigned int 240 | BINLOG_REPLAY_ACL; | ~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:244:40: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 244 | SELECT_ACL | INSERT_ACL | UPDATE_ACL | DELETE_ACL; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:247:19: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 247 | CREATE_VIEW_ACL | SHOW_VIEW_ACL; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:250:25: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 250 | CREATE_ACL | DROP_ACL | ALTER_ACL; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:253:22: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 253 | STD_TABLE_DDL_ACLS | INDEX_ACL; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:256:40: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 256 | SELECT_ACL | INSERT_ACL | UPDATE_ACL | REFERENCES_ACL; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:259:19: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 259 | CREATE_PROC_ACL | ALTER_PROC_ACL; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:262:17: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 262 | PROC_DDL_ACLS | EXECUTE_ACL; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:267:15: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 265 | COL_DML_ACLS | ALL_TABLE_DDL_ACLS | VIEW_ACLS | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | GRANT_ACL | REFERENCES_ACL | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 267 | TRIGGER_ACL | DELETE_HISTORY_ACL; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:271:37: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 270 | TABLE_ACLS | PROC_DDL_ACLS | EXECUTE_ACL | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | CREATE_TMP_ACL | LOCK_TABLES_ACL | EVENT_ACL; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int [ 14%] Building C object libmariadb/libmariadb/CMakeFiles/mariadb_obj.dir/ma_compress.c.o /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:274:32: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 274 | ALTER_PROC_ACL | EXECUTE_ACL | GRANT_ACL; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:282:25: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 277 | DB_ACLS | SHOW_DB_ACL | | ~~~~~~~~~~~~~~~~~~~~~~~ 278 | CREATE_USER_ACL | CREATE_TABLESPACE_ACL | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | SUPER_ACL | RELOAD_ACL | SHUTDOWN_ACL | PROCESS_ACL | FILE_ACL | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | REPL_SLAVE_ACL | BINLOG_MONITOR_ACL | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | GLOBAL_SUPER_ADDED_SINCE_USER_TABLE_ACLS | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 282 | REPL_MASTER_ADMIN_ACL | SLAVE_MONITOR_ACL; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:285:18: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 285 | ALTER_PROC_ACL | EXECUTE_ACL; | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:289:44: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 288 | COL_DML_ACLS | ALL_TABLE_DDL_ACLS | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 289 | TRIGGER_ACL | REFERENCES_ACL | GRANT_ACL | VIEW_ACLS; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:296:37: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 296 | COL_DML_ACLS | ALL_TABLE_DDL_ACLS | REFERENCES_ACL; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:299:52: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 299 | constexpr privilege_t PRIV_LOCK_TABLES= SELECT_ACL | LOCK_TABLES_ACL; | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:306:57: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 306 | constexpr privilege_t PRIV_DEFINER_CLAUSE= SET_USER_ACL | SUPER_ACL; | ~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:322:65: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 322 | constexpr privilege_t PRIV_REVEAL_MISSING_DEFINER= SET_USER_ACL | SUPER_ACL; | ~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/sstream:546:3: error: template with C linkage 546 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:333:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 333 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:336:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 336 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:339:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 339 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:342:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 342 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:345:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 345 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:348:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 348 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:351:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 351 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:354:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 354 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:357:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 357 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:360:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 360 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:363:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 363 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:366:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 366 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:369:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 369 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:372:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 372 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:375:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 375 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:378:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 378 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/sstream:770:3: error: template with C linkage 770 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:381:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 381 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:384:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 384 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:387:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 387 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:402:70: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 402 | constexpr privilege_t PRIV_IGNORE_INIT_CONNECT= CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:404:78: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 404 | constexpr privilege_t PRIV_IGNORE_MAX_USER_CONNECTIONS= CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:406:73: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 406 | constexpr privilege_t PRIV_IGNORE_MAX_CONNECTIONS= CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:408:77: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 408 | constexpr privilege_t PRIV_IGNORE_MAX_PASSWORD_ERRORS= CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:410:74: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 410 | constexpr privilege_t PRIV_KILL_OTHER_USER_PROCESS= CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:414:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 414 | CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:417:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 417 | CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:420:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 420 | CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:423:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 423 | CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:426:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 426 | CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/sstream:994:3: error: template with C linkage 994 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:429:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 429 | CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:432:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 432 | CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:435:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 435 | CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:438:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 438 | CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:441:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 441 | CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:445:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 445 | CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:459:72: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 459 | constexpr privilege_t PRIV_STMT_SHOW_BINLOG_STATUS= BINLOG_MONITOR_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:465:70: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 465 | constexpr privilege_t PRIV_STMT_SHOW_BINARY_LOGS= BINLOG_MONITOR_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:468:64: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 468 | constexpr privilege_t PRIV_STMT_PURGE_BINLOG= BINLOG_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:488:25: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 488 | REPL_MASTER_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:490:25: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 490 | REPL_MASTER_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:492:25: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 492 | REPL_MASTER_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:494:25: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 494 | REPL_MASTER_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:496:25: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 496 | REPL_MASTER_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/sstream:1202:3: error: template with C linkage 1202 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:499:25: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 499 | REPL_MASTER_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:502:25: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 502 | REPL_MASTER_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:505:25: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 505 | REPL_MASTER_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/sstream:1210:3: error: template with C linkage 1210 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:508:25: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 508 | REPL_MASTER_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:513:67: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 513 | constexpr privilege_t PRIV_STMT_START_SLAVE= REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:515:66: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 515 | constexpr privilege_t PRIV_STMT_STOP_SLAVE= REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/sstream:1217:3: error: template with C linkage 1217 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:517:69: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 517 | constexpr privilege_t PRIV_STMT_CHANGE_MASTER= REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:520:70: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 520 | constexpr privilege_t PRIV_STMT_SHOW_SLAVE_STATUS= SLAVE_MONITOR_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/sstream:1224:3: error: template with C linkage 1224 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:529:59: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 529 | constexpr privilege_t PRIV_STMT_BINLOG= BINLOG_REPLAY_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:532:21: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 532 | BINLOG_REPLAY_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:535:21: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 535 | BINLOG_REPLAY_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/sstream:1238: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/sstream.tcc:43:3: error: template with C linkage 43 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:538:21: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 538 | BINLOG_REPLAY_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:541:21: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 541 | BINLOG_REPLAY_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:548:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 548 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:550:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 550 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:552:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 552 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:554:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 554 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/sstream.tcc:77:3: error: template with C linkage 77 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:556:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 556 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:558:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 558 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:560:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 560 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:562:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 562 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:564:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 564 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:566:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 566 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:568:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 568 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:570:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 570 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:572:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 572 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/sstream.tcc:147:3: error: template with C linkage 147 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:574:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 574 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:578:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 578 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:580:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 580 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/sstream.tcc:165:3: error: template with C linkage 165 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:582:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 582 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:584:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 584 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:586:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 586 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:588:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 588 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:590:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 590 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:592:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 592 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:594:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 594 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:596:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 596 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:599:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 599 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:601:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 601 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:603:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 603 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:605:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 605 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:608:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 608 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:610:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 610 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:612:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 612 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:614:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 614 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:616:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 616 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:619:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 619 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:621:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 621 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:623:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 623 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:625:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 625 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:627:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 627 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:632:68: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 632 | constexpr privilege_t PRIV_STMT_CREATE_SERVER= FEDERATED_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:634:67: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 634 | constexpr privilege_t PRIV_STMT_ALTER_SERVER= FEDERATED_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:636:66: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 636 | constexpr privilege_t PRIV_STMT_DROP_SERVER= FEDERATED_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:654:60: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 654 | constexpr privilege_t DB_CHUNK0 (COL_DML_ACLS | CREATE_ACL | DROP_ACL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:655:73: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 655 | constexpr privilege_t DB_CHUNK1 (GRANT_ACL | REFERENCES_ACL | INDEX_ACL | ALTER_ACL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:656:49: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 656 | constexpr privilege_t DB_CHUNK2 (CREATE_TMP_ACL | LOCK_TABLES_ACL); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:657:44: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 657 | constexpr privilege_t DB_CHUNK3 (VIEW_ACLS | PROC_DDL_ACLS); | ~~~~~~~~~~^~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:659:44: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 659 | constexpr privilege_t DB_CHUNK5 (EVENT_ACL | TRIGGER_ACL); | ~~~~~~~~~~^~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/sstream.tcc:213:3: error: template with C linkage 213 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/sstream.tcc:243:3: error: template with C linkage 243 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h: In function 'privilege_t fix_rights_for_column(privilege_t)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:724:21: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 724 | return (A & mask) | static_cast((A & ~mask) << 8); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/sstream.tcc:274:3: error: template with C linkage 274 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/logger.hpp:98:9: error: template with C linkage 98 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h: At global scope: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:7561:1: error: template with C linkage 7561 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:69, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/set:62, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/sr_key_set.hpp:23, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:28: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ext/aligned_buffer.h:46:3: error: template with C linkage 46 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ext/aligned_buffer.h:91:3: error: template with C linkage 91 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:141:3: error: template with C linkage 141 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:215:3: error: template with C linkage 215 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:247:3: error: conflicting declaration of C function 'const std::_Rb_tree_node_base* std::_Rb_tree_increment(const _Rb_tree_node_base*)' 247 | _Rb_tree_increment(const _Rb_tree_node_base* __x) throw (); | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:244:3: note: previous declaration 'std::_Rb_tree_node_base* std::_Rb_tree_increment(_Rb_tree_node_base*)' 244 | _Rb_tree_increment(_Rb_tree_node_base* __x) throw (); | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:253:3: error: conflicting declaration of C function 'const std::_Rb_tree_node_base* std::_Rb_tree_decrement(const _Rb_tree_node_base*)' 253 | _Rb_tree_decrement(const _Rb_tree_node_base* __x) throw (); | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:250:3: note: previous declaration 'std::_Rb_tree_node_base* std::_Rb_tree_decrement(_Rb_tree_node_base*)' 250 | _Rb_tree_decrement(_Rb_tree_node_base* __x) throw (); | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:255:3: error: template with C linkage 255 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:327:3: error: template with C linkage 327 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:425:3: error: template with C linkage 425 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h: In function 'privilege_t fix_rights_for_column(privilege_t)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:724:21: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 724 | return (A & mask) | static_cast((A & ~mask) << 8); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_set.h:94:3: error: template with C linkage 94 | template, | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ [ 14%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/sign.c.o /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_set.h:985:3: error: template with C linkage 985 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_set.h:1023:3: error: template with C linkage 1023 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_set.h:1030:3: error: template with C linkage 1030 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_set.h:1037:3: error: template with C linkage 1037 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_set.h:1044:3: error: template with C linkage 1044 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_set.h:1051:3: error: template with C linkage 1051 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_set.h:1059:3: error: template with C linkage 1059 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/set:64: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multiset.h:69:3: error: template with C linkage 69 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multiset.h:95:3: error: template with C linkage 95 | template , | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multiset.h:971:3: error: template with C linkage 971 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multiset.h:1009:3: error: template with C linkage 1009 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multiset.h:1016:3: error: template with C linkage 1016 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multiset.h:1023:3: error: template with C linkage 1023 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multiset.h:1030:3: error: template with C linkage 1030 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multiset.h:1037:3: error: template with C linkage 1037 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multiset.h:1045:3: error: template with C linkage 1045 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/map:63, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/sr_key_set.hpp:24: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_map.h:71:3: error: template with C linkage 71 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_map.h:100:3: error: template with C linkage 100 | template , | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ [ 14%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/fe_frombytes.c.o /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_map.h:1511:3: error: template with C linkage 1511 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_map.h:1549:3: error: template with C linkage 1549 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_map.h:1556:3: error: template with C linkage 1556 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_map.h:1563:3: error: template with C linkage 1563 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_map.h:1570:3: error: template with C linkage 1570 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_map.h:1577:3: error: template with C linkage 1577 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_map.h:1585:3: error: template with C linkage 1585 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/map:64: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multimap.h:69:3: error: template with C linkage 69 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multimap.h:98:3: error: template with C linkage 98 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multimap.h:1170:3: error: template with C linkage 1170 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multimap.h:1177:3: error: template with C linkage 1177 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multimap.h:1184:3: error: template with C linkage 1184 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multimap.h:1191:3: error: template with C linkage 1191 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multimap.h:1198:3: error: template with C linkage 1198 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multimap.h:1206:3: error: template with C linkage 1206 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ [ 14%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/fe_sq2.c.o In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:30: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/xid.hpp:99:30: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, const xid&)' 99 | friend std::ostream& operator<<(std::ostream& os, const wsrep::xid& xid); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/xid.hpp:108:19: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, const xid&)' 108 | std::ostream& operator<<(std::ostream& os, const wsrep::xid& xid); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/table.h: At global scope: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/table.h:3239:20: error: conflicting declaration of C function 'void dbug_tmp_use_all_columns(TABLE*, MY_BITMAP**, MY_BITMAP**, MY_BITMAP**)' 3239 | static inline void dbug_tmp_use_all_columns(TABLE *table, | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/table.h:3216:26: note: previous declaration 'MY_BITMAP* dbug_tmp_use_all_columns(TABLE*, MY_BITMAP**)' 3216 | static inline MY_BITMAP *dbug_tmp_use_all_columns(TABLE *table, | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/table.h:3303:6: error: conflicting declaration of C function 'bool get_field(MEM_ROOT*, Field*, String*)' 3303 | bool get_field(MEM_ROOT *mem, Field *field, class String *res); | ^~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/table.h:3302:7: note: previous declaration 'char* get_field(MEM_ROOT*, Field*)' 3302 | char *get_field(MEM_ROOT *mem, Field *field); | ^~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:316:31: error: conflicting declaration of C function 'std::string wsrep::to_string(transaction::state)' 316 | static inline std::string to_string(enum wsrep::transaction::state state) | ^~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/xid.hpp:107:17: note: previous declaration 'std::string wsrep::to_string(const xid&)' 107 | std::string to_string(const wsrep::xid& xid); | ^~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:321:19: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, transaction::state)' 321 | std::ostream& operator<<(std::ostream& os, enum wsrep::transaction::state); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:40: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/thread.hpp:34:25: warning: conflicting C language linkage declaration 'bool wsrep::operator==(thread::id, thread::id)' 34 | friend bool operator==(thread::id left, thread::id right) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/thread.hpp:38:34: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, const thread::id&)' 38 | friend std::ostream& operator<<(std::ostream&, const id&); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/thread.hpp:54:19: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, const thread::id&)' 54 | std::ostream& operator<<(std::ostream&, const thread::id&); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:63:31: error: conflicting declaration of C function 'const char* wsrep::to_c_string(client_error)' 63 | static inline const char* to_c_string(enum client_error error) | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:296:31: note: previous declaration 'const char* wsrep::to_c_string(transaction::state)' 296 | static inline const char* to_c_string(enum wsrep::transaction::state state) | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:79:31: error: conflicting declaration of C function 'std::string wsrep::to_string(client_error)' 79 | static inline std::string to_string(enum client_error error) | ^~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/xid.hpp:107:17: note: previous declaration 'std::string wsrep::to_string(const xid&)' 107 | std::string to_string(const wsrep::xid& xid); | ^~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp: In function 'std::string wsrep::to_string(client_error)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:81:28: error: cannot convert 'wsrep::client_error' to 'wsrep::transaction::state' 81 | return to_c_string(error); | ^~~~~ | | | wsrep::client_error /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:296:74: note: initializing argument 1 of 'const char* wsrep::to_c_string(transaction::state)' 296 | static inline const char* to_c_string(enum wsrep::transaction::state state) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp: At global scope: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:1021:31: error: conflicting declaration of C function 'const char* wsrep::to_c_string(client_state::state)' 1021 | static inline const char* to_c_string( | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:296:31: note: previous declaration 'const char* wsrep::to_c_string(transaction::state)' 296 | static inline const char* to_c_string(enum wsrep::transaction::state state) | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:1035:31: error: conflicting declaration of C function 'std::string wsrep::to_string(client_state::state)' 1035 | static inline std::string to_string(enum wsrep::client_state::state state) | ^~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/xid.hpp:107:17: note: previous declaration 'std::string wsrep::to_string(const xid&)' 107 | std::string to_string(const wsrep::xid& xid); | ^~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp: In function 'std::string wsrep::to_string(client_state::state)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:1037:28: error: cannot convert 'wsrep::client_state::state' to 'wsrep::transaction::state' 1037 | return to_c_string(state); | ^~~~~ | | | wsrep::client_state::state /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:296:74: note: initializing argument 1 of 'const char* wsrep::to_c_string(transaction::state)' 296 | static inline const char* to_c_string(enum wsrep::transaction::state state) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp: At global scope: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:1040:31: error: conflicting declaration of C function 'const char* wsrep::to_c_string(client_state::mode)' 1040 | static inline const char* to_c_string(enum wsrep::client_state::mode mode) | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:296:31: note: previous declaration 'const char* wsrep::to_c_string(transaction::state)' 296 | static inline const char* to_c_string(enum wsrep::transaction::state state) | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:1054:31: error: conflicting declaration of C function 'std::string wsrep::to_string(client_state::mode)' 1054 | static inline std::string to_string(enum wsrep::client_state::mode mode) | ^~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/xid.hpp:107:17: note: previous declaration 'std::string wsrep::to_string(const xid&)' 107 | std::string to_string(const wsrep::xid& xid); | ^~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp: In function 'std::string wsrep::to_string(client_state::mode)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:1056:28: error: cannot convert 'wsrep::client_state::mode' to 'wsrep::transaction::state' 1056 | return to_c_string(mode); | ^~~~ | | | wsrep::client_state::mode /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:296:74: note: initializing argument 1 of 'const char* wsrep::to_c_string(transaction::state)' 296 | static inline const char* to_c_string(enum wsrep::transaction::state state) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h: At global scope: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:7561:1: error: template with C linkage 7561 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ [ 14%] Building C object extra/readline/CMakeFiles/readline.dir/macro.c.o In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_lex.h:28, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:660: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/grant.h: In member function 'void Grant_privilege::add_object_privilege(privilege_t)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/grant.h:85:23: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 85 | m_object_privilege|= privilege; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ | | | long long unsigned int [ 14%] Building C object plugin/auth_ed25519/CMakeFiles/ref10.dir/ref10/verify.c.o In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/table.h:37: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:147:20: error: conflicting declaration of C function 'bool operator==(privilege_t, ulong)' 147 | static inline bool operator==(privilege_t, ulong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:148:20: error: conflicting declaration of C function 'bool operator==(privilege_t, uint)' 148 | static inline bool operator==(privilege_t, uint)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:149:20: error: conflicting declaration of C function 'bool operator==(privilege_t, uchar)' 149 | static inline bool operator==(privilege_t, uchar)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:150:20: error: conflicting declaration of C function 'bool operator==(privilege_t, longlong)' 150 | static inline bool operator==(privilege_t, longlong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:151:20: error: conflicting declaration of C function 'bool operator==(privilege_t, long int)' 151 | static inline bool operator==(privilege_t, long)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:152:20: error: conflicting declaration of C function 'bool operator==(privilege_t, int)' 152 | static inline bool operator==(privilege_t, int)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:153:20: error: conflicting declaration of C function 'bool operator==(privilege_t, char)' 153 | static inline bool operator==(privilege_t, char)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:154:20: error: conflicting declaration of C function 'bool operator==(privilege_t, bool)' 154 | static inline bool operator==(privilege_t, bool)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:156:20: error: conflicting declaration of C function 'bool operator==(ulonglong, privilege_t)' 156 | static inline bool operator==(ulonglong, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:157:20: error: conflicting declaration of C function 'bool operator==(ulong, privilege_t)' 157 | static inline bool operator==(ulong, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:158:20: error: conflicting declaration of C function 'bool operator==(uint, privilege_t)' 158 | static inline bool operator==(uint, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:159:20: error: conflicting declaration of C function 'bool operator==(uchar, privilege_t)' 159 | static inline bool operator==(uchar, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:160:20: error: conflicting declaration of C function 'bool operator==(longlong, privilege_t)' 160 | static inline bool operator==(longlong, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:161:20: error: conflicting declaration of C function 'bool operator==(long int, privilege_t)' 161 | static inline bool operator==(long, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:162:20: error: conflicting declaration of C function 'bool operator==(int, privilege_t)' 162 | static inline bool operator==(int, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:163:20: error: conflicting declaration of C function 'bool operator==(char, privilege_t)' 163 | static inline bool operator==(char, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:164:20: error: conflicting declaration of C function 'bool operator==(bool, privilege_t)' 164 | static inline bool operator==(bool, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:167:20: error: conflicting declaration of C function 'bool operator!=(privilege_t, ulong)' 167 | static inline bool operator!=(privilege_t, ulong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:168:20: error: conflicting declaration of C function 'bool operator!=(privilege_t, uint)' 168 | static inline bool operator!=(privilege_t, uint)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:169:20: error: conflicting declaration of C function 'bool operator!=(privilege_t, uchar)' 169 | static inline bool operator!=(privilege_t, uchar)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:170:20: error: conflicting declaration of C function 'bool operator!=(privilege_t, longlong)' 170 | static inline bool operator!=(privilege_t, longlong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:171:20: error: conflicting declaration of C function 'bool operator!=(privilege_t, long int)' 171 | static inline bool operator!=(privilege_t, long)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:172:20: error: conflicting declaration of C function 'bool operator!=(privilege_t, int)' 172 | static inline bool operator!=(privilege_t, int)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:173:20: error: conflicting declaration of C function 'bool operator!=(privilege_t, char)' 173 | static inline bool operator!=(privilege_t, char)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:174:20: error: conflicting declaration of C function 'bool operator!=(privilege_t, bool)' 174 | static inline bool operator!=(privilege_t, bool)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:176:20: error: conflicting declaration of C function 'bool operator!=(ulonglong, privilege_t)' 176 | static inline bool operator!=(ulonglong, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:177:20: error: conflicting declaration of C function 'bool operator!=(ulong, privilege_t)' 177 | static inline bool operator!=(ulong, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:178:20: error: conflicting declaration of C function 'bool operator!=(uint, privilege_t)' 178 | static inline bool operator!=(uint, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:179:20: error: conflicting declaration of C function 'bool operator!=(uchar, privilege_t)' 179 | static inline bool operator!=(uchar, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:180:20: error: conflicting declaration of C function 'bool operator!=(longlong, privilege_t)' 180 | static inline bool operator!=(longlong, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:181:20: error: conflicting declaration of C function 'bool operator!=(long int, privilege_t)' 181 | static inline bool operator!=(long, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:182:20: error: conflicting declaration of C function 'bool operator!=(int, privilege_t)' 182 | static inline bool operator!=(int, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:183:20: error: conflicting declaration of C function 'bool operator!=(char, privilege_t)' 183 | static inline bool operator!=(char, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:184:20: error: conflicting declaration of C function 'bool operator!=(bool, privilege_t)' 184 | static inline bool operator!=(bool, privilege_t)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:166:20: note: previous declaration 'bool operator!=(privilege_t, ulonglong)' 166 | static inline bool operator!=(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:194:37: error: conflicting declaration of C function 'constexpr privilege_t operator&(ulonglong, privilege_t)' 194 | static inline constexpr privilege_t operator&(ulonglong a, privilege_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:188:37: note: previous declaration 'constexpr privilege_t operator&(privilege_t, privilege_t)' 188 | static inline constexpr privilege_t operator&(privilege_t a, privilege_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:199:37: error: conflicting declaration of C function 'constexpr privilege_t operator&(privilege_t, ulonglong)' 199 | static inline constexpr privilege_t operator&(privilege_t a, ulonglong b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:188:37: note: previous declaration 'constexpr privilege_t operator&(privilege_t, privilege_t)' 188 | static inline constexpr privilege_t operator&(privilege_t a, privilege_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:204:37: error: conflicting declaration of C function 'constexpr privilege_t operator|(privilege_t, privilege_t)' 204 | static inline constexpr privilege_t operator|(privilege_t a, privilege_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:2973:31: note: previous declaration 'my_repertoire_t operator|(my_repertoire_t, my_repertoire_t)' 2973 | static inline my_repertoire_t operator|(const my_repertoire_t a, | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:217:28: error: conflicting declaration of C function 'privilege_t& operator&=(privilege_t&, ulonglong)' 217 | static inline privilege_t& operator&=(privilege_t &a, ulonglong b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:212:28: note: previous declaration 'privilege_t& operator&=(privilege_t&, privilege_t)' 212 | static inline privilege_t& operator&=(privilege_t &a, privilege_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h: In function 'privilege_t& operator&=(privilege_t&, ulonglong)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:219:15: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 219 | return a= a & b; | ~~^~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h: At global scope: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:222:28: error: conflicting declaration of C function 'privilege_t& operator|=(privilege_t&, privilege_t)' 222 | static inline privilege_t& operator|=(privilege_t &a, privilege_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:2979:32: note: previous declaration 'my_repertoire_t& operator|=(my_repertoire_t&, my_repertoire_t)' 2979 | static inline my_repertoire_t &operator|=(my_repertoire_t &a, | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h: In function 'privilege_t& operator|=(privilege_t&, privilege_t)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:224:15: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 224 | return a= a | b; | ~~^~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h: At global scope: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:239:20: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 234 | SET_USER_ACL | | ~~~~~~~~~~~~~~ 235 | FEDERATED_ADMIN_ACL | | ~~~~~~~~~~~~~~~~~~~~~ 236 | CONNECTION_ADMIN_ACL | | ~~~~~~~~~~~~~~~~~~~~~~ 237 | READ_ONLY_ADMIN_ACL | | ~~~~~~~~~~~~~~~~~~~~~ 238 | REPL_SLAVE_ADMIN_ACL | | ~~~~~~~~~~~~~~~~~~~~~~ 239 | BINLOG_ADMIN_ACL | | ~~~~~~~~~~~~~~~~~^ | | | long long unsigned int 240 | BINLOG_REPLAY_ACL; | ~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:244:40: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 244 | SELECT_ACL | INSERT_ACL | UPDATE_ACL | DELETE_ACL; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:247:19: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 247 | CREATE_VIEW_ACL | SHOW_VIEW_ACL; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:250:25: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 250 | CREATE_ACL | DROP_ACL | ALTER_ACL; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:253:22: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 253 | STD_TABLE_DDL_ACLS | INDEX_ACL; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:256:40: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 256 | SELECT_ACL | INSERT_ACL | UPDATE_ACL | REFERENCES_ACL; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:259:19: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 259 | CREATE_PROC_ACL | ALTER_PROC_ACL; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:262:17: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 262 | PROC_DDL_ACLS | EXECUTE_ACL; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:267:15: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 265 | COL_DML_ACLS | ALL_TABLE_DDL_ACLS | VIEW_ACLS | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | GRANT_ACL | REFERENCES_ACL | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 267 | TRIGGER_ACL | DELETE_HISTORY_ACL; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:271:37: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 270 | TABLE_ACLS | PROC_DDL_ACLS | EXECUTE_ACL | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | CREATE_TMP_ACL | LOCK_TABLES_ACL | EVENT_ACL; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:274:32: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 274 | ALTER_PROC_ACL | EXECUTE_ACL | GRANT_ACL; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:282:25: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 277 | DB_ACLS | SHOW_DB_ACL | | ~~~~~~~~~~~~~~~~~~~~~~~ 278 | CREATE_USER_ACL | CREATE_TABLESPACE_ACL | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | SUPER_ACL | RELOAD_ACL | SHUTDOWN_ACL | PROCESS_ACL | FILE_ACL | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | REPL_SLAVE_ACL | BINLOG_MONITOR_ACL | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | GLOBAL_SUPER_ADDED_SINCE_USER_TABLE_ACLS | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 282 | REPL_MASTER_ADMIN_ACL | SLAVE_MONITOR_ACL; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:285:18: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 285 | ALTER_PROC_ACL | EXECUTE_ACL; | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:289:44: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 288 | COL_DML_ACLS | ALL_TABLE_DDL_ACLS | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 289 | TRIGGER_ACL | REFERENCES_ACL | GRANT_ACL | VIEW_ACLS; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:296:37: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 296 | COL_DML_ACLS | ALL_TABLE_DDL_ACLS | REFERENCES_ACL; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:299:52: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 299 | constexpr privilege_t PRIV_LOCK_TABLES= SELECT_ACL | LOCK_TABLES_ACL; | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:306:57: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 306 | constexpr privilege_t PRIV_DEFINER_CLAUSE= SET_USER_ACL | SUPER_ACL; | ~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:322:65: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 322 | constexpr privilege_t PRIV_REVEAL_MISSING_DEFINER= SET_USER_ACL | SUPER_ACL; | ~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:333:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 333 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:336:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 336 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:339:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 339 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:342:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 342 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:345:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 345 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:348:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 348 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:351:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 351 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:354:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 354 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:357:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 357 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:360:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 360 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:363:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 363 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:366:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 366 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:369:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 369 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:372:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 372 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_window.h:20, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_lex.h:31: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/filesort.h: At global scope: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/filesort.h:222:3: error: template with C linkage 222 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:375:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 375 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:378:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 378 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:381:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 381 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:384:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 384 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:387:13: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 387 | SUPER_ACL | BINLOG_ADMIN_ACL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:402:70: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 402 | constexpr privilege_t PRIV_IGNORE_INIT_CONNECT= CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:404:78: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 404 | constexpr privilege_t PRIV_IGNORE_MAX_USER_CONNECTIONS= CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:406:73: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 406 | constexpr privilege_t PRIV_IGNORE_MAX_CONNECTIONS= CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:408:77: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 408 | constexpr privilege_t PRIV_IGNORE_MAX_PASSWORD_ERRORS= CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:410:74: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 410 | constexpr privilege_t PRIV_KILL_OTHER_USER_PROCESS= CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:414:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 414 | CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:417:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 417 | CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:420:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 420 | CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:423:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 423 | CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:426:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 426 | CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:429:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 429 | CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:432:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 432 | CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:435:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 435 | CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:438:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 438 | CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:441:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 441 | CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:445:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 445 | CONNECTION_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:459:72: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 459 | constexpr privilege_t PRIV_STMT_SHOW_BINLOG_STATUS= BINLOG_MONITOR_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:465:70: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 465 | constexpr privilege_t PRIV_STMT_SHOW_BINARY_LOGS= BINLOG_MONITOR_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:468:64: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 468 | constexpr privilege_t PRIV_STMT_PURGE_BINLOG= BINLOG_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:488:25: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 488 | REPL_MASTER_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:490:25: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 490 | REPL_MASTER_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:492:25: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 492 | REPL_MASTER_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:494:25: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 494 | REPL_MASTER_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:496:25: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 496 | REPL_MASTER_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:499:25: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 499 | REPL_MASTER_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:502:25: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 502 | REPL_MASTER_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:505:25: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 505 | REPL_MASTER_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:508:25: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 508 | REPL_MASTER_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:513:67: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 513 | constexpr privilege_t PRIV_STMT_START_SLAVE= REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:515:66: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 515 | constexpr privilege_t PRIV_STMT_STOP_SLAVE= REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:517:69: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 517 | constexpr privilege_t PRIV_STMT_CHANGE_MASTER= REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:520:70: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 520 | constexpr privilege_t PRIV_STMT_SHOW_SLAVE_STATUS= SLAVE_MONITOR_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:529:59: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 529 | constexpr privilege_t PRIV_STMT_BINLOG= BINLOG_REPLAY_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:532:21: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 532 | BINLOG_REPLAY_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:535:21: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 535 | BINLOG_REPLAY_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:538:21: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 538 | BINLOG_REPLAY_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:541:21: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 541 | BINLOG_REPLAY_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:548:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 548 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:550:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 550 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:552:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 552 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:554:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 554 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:556:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 556 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:558:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 558 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:560:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 560 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:562:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 562 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:564:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 564 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:566:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 566 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:568:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 568 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:570:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 570 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:572:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 572 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:574:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 574 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:578:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 578 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:580:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 580 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:582:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 582 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:584:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 584 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:586:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 586 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_lex.h:33: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sp.h:45:1: error: template with C linkage 45 | template class SQL_I_List; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:588:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 588 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:590:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 590 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:592:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 592 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:594:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 594 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:596:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 596 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:599:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 599 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:601:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 601 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:603:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 603 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:605:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 605 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:608:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 608 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:610:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 610 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:612:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 612 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:614:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 614 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:616:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 616 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:619:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 619 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:621:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 621 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:623:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 623 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:625:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 625 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:627:24: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 627 | REPL_SLAVE_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:632:68: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 632 | constexpr privilege_t PRIV_STMT_CREATE_SERVER= FEDERATED_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:634:67: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 634 | constexpr privilege_t PRIV_STMT_ALTER_SERVER= FEDERATED_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:636:66: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 636 | constexpr privilege_t PRIV_STMT_DROP_SERVER= FEDERATED_ADMIN_ACL | SUPER_ACL; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:654:60: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 654 | constexpr privilege_t DB_CHUNK0 (COL_DML_ACLS | CREATE_ACL | DROP_ACL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:655:73: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 655 | constexpr privilege_t DB_CHUNK1 (GRANT_ACL | REFERENCES_ACL | INDEX_ACL | ALTER_ACL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:656:49: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 656 | constexpr privilege_t DB_CHUNK2 (CREATE_TMP_ACL | LOCK_TABLES_ACL); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:657:44: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 657 | constexpr privilege_t DB_CHUNK3 (VIEW_ACLS | PROC_DDL_ACLS); | ~~~~~~~~~~^~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:659:44: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 659 | constexpr privilege_t DB_CHUNK5 (EVENT_ACL | TRIGGER_ACL); | ~~~~~~~~~~^~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h: In function 'privilege_t fix_rights_for_column(privilege_t)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:724:21: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 724 | return (A & mask) | static_cast((A & ~mask) << 8); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sp.h:647:6: error: conflicting declaration of C function 'void sp_update_stmt_used_routines(THD*, Query_tables_list*, SQL_I_List*, TABLE_LIST*)' 647 | void sp_update_stmt_used_routines(THD *thd, Query_tables_list *prelocking_ctx, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sp.h:645:6: note: previous declaration 'void sp_update_stmt_used_routines(THD*, Query_tables_list*, HASH*, TABLE_LIST*)' 645 | void sp_update_stmt_used_routines(THD *thd, Query_tables_list *prelocking_ctx, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_lex.h:35: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:87:1: error: template with C linkage 87 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:151:6: error: conflicting declaration of C function 'bool mark_unsupported_function(const char*, const char*, void*, uint)' 151 | bool mark_unsupported_function(const char *w1, const char *w2, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: previous declaration 'bool mark_unsupported_function(const char*, void*, uint)' 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 14%] Building C object libmariadb/libmariadb/CMakeFiles/mariadb_obj.dir/ma_init.c.o /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:798:27: error: conflicting declaration of C function 'item_base_t operator&(item_base_t, item_base_t)' 798 | static inline item_base_t operator&(const item_base_t a, const item_base_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:188:37: note: previous declaration 'constexpr privilege_t operator&(privilege_t, privilege_t)' 188 | static inline constexpr privilege_t operator&(privilege_t a, privilege_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:803:29: error: conflicting declaration of C function 'item_base_t& operator&=(item_base_t&, item_base_t)' 803 | static inline item_base_t & operator&=(item_base_t &a, item_base_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:212:28: note: previous declaration 'privilege_t& operator&=(privilege_t&, privilege_t)' 212 | static inline privilege_t& operator&=(privilege_t &a, privilege_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:809:27: error: conflicting declaration of C function 'item_base_t operator|(item_base_t, item_base_t)' 809 | static inline item_base_t operator|(const item_base_t a, const item_base_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:2973:31: note: previous declaration 'my_repertoire_t operator|(my_repertoire_t, my_repertoire_t)' 2973 | static inline my_repertoire_t operator|(const my_repertoire_t a, | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:814:29: error: conflicting declaration of C function 'item_base_t& operator|=(item_base_t&, item_base_t)' 814 | static inline item_base_t & operator|=(item_base_t &a, item_base_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:2979:32: note: previous declaration 'my_repertoire_t& operator|=(my_repertoire_t&, my_repertoire_t)' 2979 | static inline my_repertoire_t &operator|=(my_repertoire_t &a, | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:820:27: error: conflicting declaration of C function 'item_base_t operator~(item_base_t)' 820 | static inline item_base_t operator~(const item_base_t a) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:133:35: note: previous declaration 'constexpr ulonglong operator~(privilege_t)' 133 | static inline constexpr ulonglong operator~(privilege_t access) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:825:27: error: conflicting declaration of C function 'item_with_t operator&(item_with_t, item_with_t)' 825 | static inline item_with_t operator&(const item_with_t a, const item_with_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:188:37: note: previous declaration 'constexpr privilege_t operator&(privilege_t, privilege_t)' 188 | static inline constexpr privilege_t operator&(privilege_t a, privilege_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:830:29: error: conflicting declaration of C function 'item_with_t& operator&=(item_with_t&, item_with_t)' 830 | static inline item_with_t & operator&=(item_with_t &a, item_with_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:212:28: note: previous declaration 'privilege_t& operator&=(privilege_t&, privilege_t)' 212 | static inline privilege_t& operator&=(privilege_t &a, privilege_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:836:27: error: conflicting declaration of C function 'item_with_t operator|(item_with_t, item_with_t)' 836 | static inline item_with_t operator|(const item_with_t a, const item_with_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:2973:31: note: previous declaration 'my_repertoire_t operator|(my_repertoire_t, my_repertoire_t)' 2973 | static inline my_repertoire_t operator|(const my_repertoire_t a, | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:841:29: error: conflicting declaration of C function 'item_with_t& operator|=(item_with_t&, item_with_t)' 841 | static inline item_with_t & operator|=(item_with_t &a, item_with_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:2979:32: note: previous declaration 'my_repertoire_t& operator|=(my_repertoire_t&, my_repertoire_t)' 2979 | static inline my_repertoire_t &operator|=(my_repertoire_t &a, | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:847:27: error: conflicting declaration of C function 'item_with_t operator~(item_with_t)' 847 | static inline item_with_t operator~(const item_with_t a) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:133:35: note: previous declaration 'constexpr ulonglong operator~(privilege_t)' 133 | static inline constexpr ulonglong operator~(privilege_t access) | ^~~~~~~~ [ 14%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/ge_madd.c.o /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::maybe_null() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1071:31: error: no match for 'operator&' (operand types are 'const item_base_t' and 'item_base_t') 1071 | { return (bool) (base_flags & item_base_t::MAYBE_NULL); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | const item_base_t item_base_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::in_rollup() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1073:31: error: no match for 'operator&' (operand types are 'const item_base_t' and 'item_base_t') 1073 | { return (bool) (base_flags & item_base_t::IN_ROLLUP); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~ | | | | const item_base_t item_base_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::fixed() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1075:31: error: no match for 'operator&' (operand types are 'const item_base_t' and 'item_base_t') 1075 | { return (bool) (base_flags & item_base_t::FIXED); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ | | | | const item_base_t item_base_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::is_explicit_name() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1077:31: error: no match for 'operator&' (operand types are 'const item_base_t' and 'item_base_t') 1077 | { return (bool) (base_flags & item_base_t::IS_EXPLICIT_NAME); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | const item_base_t item_base_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::is_in_with_cycle() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1079:31: error: no match for 'operator&' (operand types are 'const item_base_t' and 'item_base_t') 1079 | { return (bool) (base_flags & item_base_t::IS_IN_WITH_CYCLE); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | const item_base_t item_base_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::with_sp_var() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1082:31: error: no match for 'operator&' (operand types are 'const item_with_t' and 'item_with_t') 1082 | { return (bool) (with_flags & item_with_t::SP_VAR); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~ | | | | const item_with_t item_with_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::with_window_func() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1084:31: error: no match for 'operator&' (operand types are 'const item_with_t' and 'item_with_t') 1084 | { return (bool) (with_flags & item_with_t::WINDOW_FUNC); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ | | | | const item_with_t item_with_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::with_field() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1086:31: error: no match for 'operator&' (operand types are 'const item_with_t' and 'item_with_t') 1086 | { return (bool) (with_flags & item_with_t::FIELD); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ | | | | const item_with_t item_with_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::with_sum_func() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1088:31: error: no match for 'operator&' (operand types are 'const item_with_t' and 'item_with_t') 1088 | { return (bool) (with_flags & item_with_t::SUM_FUNC); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~ | | | | const item_with_t item_with_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::with_subquery() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1090:31: error: no match for 'operator&' (operand types are 'const item_with_t' and 'item_with_t') 1090 | { return (bool) (with_flags & item_with_t::SUBQUERY); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~ | | | | const item_with_t item_with_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::with_rownum_func() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1092:31: error: no match for 'operator&' (operand types are 'const item_with_t' and 'item_with_t') 1092 | { return (bool) (with_flags & item_with_t::ROWNUM_FUNC); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ | | | | const item_with_t item_with_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::with_param() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1094:31: error: no match for 'operator&' (operand types are 'const item_with_t' and 'item_with_t') 1094 | { return (bool) (with_flags & item_with_t::PARAM); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ | | | | const item_with_t item_with_t [ 14%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/ge_p3_dbl.c.o /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'void Item::set_maybe_null(bool)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1321:47: error: no match for 'operator~' (operand type is 'item_base_t') 1321 | base_flags= ((item_base_t) ((base_flags & ~item_base_t::MAYBE_NULL)) | | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'void Item::set_maybe_null()': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1328:15: error: no match for 'operator|=' (operand types are 'item_base_t' and 'item_base_t') 1328 | base_flags|= item_base_t::MAYBE_NULL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'virtual void Item::top_level_item()': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1347:15: error: no match for 'operator|=' (operand types are 'item_base_t' and 'item_base_t') 1347 | base_flags|= item_base_t::AT_TOP_LEVEL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::is_top_level_item() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1353:31: error: no match for 'operator&' (operand types are 'const item_base_t' and 'item_base_t') 1353 | { return (bool) (base_flags & item_base_t::AT_TOP_LEVEL); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | const item_base_t item_base_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/table.h: At global scope: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/table.h:3239:20: error: conflicting declaration of C function 'void dbug_tmp_use_all_columns(TABLE*, MY_BITMAP**, MY_BITMAP**, MY_BITMAP**)' 3239 | static inline void dbug_tmp_use_all_columns(TABLE *table, | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/table.h:3216:26: note: previous declaration 'MY_BITMAP* dbug_tmp_use_all_columns(TABLE*, MY_BITMAP**)' 3216 | static inline MY_BITMAP *dbug_tmp_use_all_columns(TABLE *table, | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/table.h:3303:6: error: conflicting declaration of C function 'bool get_field(MEM_ROOT*, Field*, String*)' 3303 | bool get_field(MEM_ROOT *mem, Field *field, class String *res); | ^~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/table.h:3302:7: note: previous declaration 'char* get_field(MEM_ROOT*, Field*)' 3302 | char *get_field(MEM_ROOT *mem, Field *field); | ^~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: At global scope: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:2727:1: error: template with C linkage 2727 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In constructor 'Item_fixed_hybrid::Item_fixed_hybrid(THD*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:2934:18: error: no match for 'operator~' (operand type is 'item_base_t') 2934 | base_flags&= ~item_base_t::FIXED; | ^~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In constructor 'Item_fixed_hybrid::Item_fixed_hybrid(THD*, Item_fixed_hybrid*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:2939:36: error: no match for 'operator&' (operand types are 'item_base_t' and 'item_base_t') 2939 | base_flags|= (item->base_flags & item_base_t::FIXED); | ~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ | | | | item_base_t item_base_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'virtual bool Item_fixed_hybrid::fix_fields(THD*, Item**)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:2944:15: error: no match for 'operator|=' (operand types are 'item_base_t' and 'item_base_t') 2944 | base_flags|= item_base_t::FIXED; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'virtual void Item_fixed_hybrid::cleanup()': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:2950:18: error: no match for 'operator~' (operand type is 'item_base_t') 2950 | base_flags&= ~item_base_t::FIXED; | ^~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'virtual void Item_fixed_hybrid::quick_fix_field()': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:2953:15: error: no match for 'operator|=' (operand types are 'item_base_t' and 'item_base_t') 2953 | { base_flags|= item_base_t::FIXED; } | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'virtual void Item_fixed_hybrid::unfix_fields()': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:2955:18: error: no match for 'operator~' (operand type is 'item_base_t') 2955 | { base_flags&= ~item_base_t::FIXED; } | ^~~~~~~~~~~~~~~~~~~ [ 14%] Building C object extra/readline/CMakeFiles/readline.dir/input.c.o [ 14%] Building C object libmariadb/libmariadb/CMakeFiles/mariadb_obj.dir/ma_password.c.o [ 14%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/ge_tobytes.c.o In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:35: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_profile.h:68:1: error: template with C linkage 68 | template class Queue | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:37: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/protocol.h:329:8: error: conflicting declaration of C function 'uchar* net_store_data(uchar*, int32)' 329 | uchar *net_store_data(uchar *to,int32 from); | ^~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/protocol.h:328:8: note: previous declaration 'uchar* net_store_data(uchar*, const uchar*, size_t)' 328 | uchar *net_store_data(uchar *to,const uchar *from, size_t length); | ^~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/protocol.h:330:8: error: conflicting declaration of C function 'uchar* net_store_data(uchar*, longlong)' 330 | uchar *net_store_data(uchar *to,longlong from); | ^~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/protocol.h:328:8: note: previous declaration 'uchar* net_store_data(uchar*, const uchar*, size_t)' 328 | uchar *net_store_data(uchar *to,const uchar *from, size_t length); | ^~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/session_tracker.h:22, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:50: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_hset.h:26:1: error: template with C linkage 26 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:52: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/xa.h:45:6: error: conflicting declaration of C function 'bool xid_cache_insert(THD*, XID_STATE*, XID*)' 45 | bool xid_cache_insert(THD *thd, XID_STATE *xid_state, XID *xid); | ^~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/xa.h:44:6: note: previous declaration 'bool xid_cache_insert(XID*)' 44 | bool xid_cache_insert(XID *xid); | ^~~~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:53: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/ddl_log.h:268:6: error: conflicting declaration of C function 'bool ddl_log_write_execute_entry(uint, DDL_LOG_MEMORY_ENTRY**)' 268 | bool ddl_log_write_execute_entry(uint first_entry, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/ddl_log.h:265:6: note: previous declaration 'bool ddl_log_write_execute_entry(uint, uint, DDL_LOG_MEMORY_ENTRY**)' 265 | bool ddl_log_write_execute_entry(uint first_entry, uint cond_entry, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:68: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/rpl_gtid.h:41:13: error: conflicting declaration of C function 'bool operator==(const rpl_gtid&, const rpl_gtid&)' 41 | inline bool operator==(const rpl_gtid& lhs, const rpl_gtid& rhs) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/rpl_gtid.h:715:1: error: template with C linkage 715 | template struct gtid_filter_element | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/rpl_gtid.h:732:1: error: template with C linkage 732 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:35: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_profile.h:68:1: error: template with C linkage 68 | template class Queue | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ [ 14%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/fe_invert.c.o [ 14%] Building C object libmariadb/libmariadb/CMakeFiles/mariadb_obj.dir/ma_ll2str.c.o In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/vector:65, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/buffer.hpp:24, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_service.hpp:30, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/wsrep_client_service.h:26, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:75: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:81:3: error: template with C linkage 81 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:110:3: error: template with C linkage 110 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:130:3: error: template with C linkage 130 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:140:3: error: template specialization with C linkage 140 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:161:3: error: template with C linkage 161 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:190:3: error: template with C linkage 190 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:208:3: error: template with C linkage 208 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:218:3: error: template specialization with C linkage 218 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:239:3: error: template with C linkage 239 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:258:3: error: template with C linkage 258 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:277:3: error: template with C linkage 277 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:287:3: error: template specialization with C linkage 287 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:310:3: error: template with C linkage 310 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:340:3: error: template with C linkage 340 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:377:3: error: template with C linkage 377 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:424:3: error: template with C linkage 424 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:438:3: error: template with C linkage 438 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:613:3: error: template specialization with C linkage 613 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:631:3: error: template with C linkage 631 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:654:3: error: template specialization with C linkage 654 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:676:3: error: template with C linkage 676 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:693:3: error: template with C linkage 693 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:719:3: error: template with C linkage 719 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:740:3: error: template with C linkage 740 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:751:3: error: template with C linkage 751 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:774:3: error: template with C linkage 774 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:782:3: error: template with C linkage 782 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:804:3: error: template specialization with C linkage 804 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:815:3: error: template with C linkage 815 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:837:3: error: template specialization with C linkage 837 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:37: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/protocol.h:329:8: error: conflicting declaration of C function 'uchar* net_store_data(uchar*, int32)' 329 | uchar *net_store_data(uchar *to,int32 from); | ^~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/protocol.h:328:8: note: previous declaration 'uchar* net_store_data(uchar*, const uchar*, size_t)' 328 | uchar *net_store_data(uchar *to,const uchar *from, size_t length); | ^~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:848:3: error: template with C linkage 848 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/protocol.h:330:8: error: conflicting declaration of C function 'uchar* net_store_data(uchar*, longlong)' 330 | uchar *net_store_data(uchar *to,longlong from); | ^~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/protocol.h:328:8: note: previous declaration 'uchar* net_store_data(uchar*, const uchar*, size_t)' 328 | uchar *net_store_data(uchar *to,const uchar *from, size_t length); | ^~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:863:3: error: template with C linkage 863 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:875:3: error: template with C linkage 875 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:955:3: error: template with C linkage 955 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:1067:3: error: template with C linkage 1067 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:1084:3: error: template with C linkage 1084 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:1088:3: error: template with C linkage 1088 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:1138:3: error: template with C linkage 1138 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_vector.h:424:3: error: template with C linkage 424 | template > | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/session_tracker.h:22, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:50: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_hset.h:26:1: error: template with C linkage 26 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_vector.h:2034:3: error: template with C linkage 2034 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_vector.h:2074:3: error: template with C linkage 2074 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_vector.h:2081:3: error: template with C linkage 2081 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_vector.h:2087:3: error: template with C linkage 2087 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_vector.h:2093:3: error: template with C linkage 2093 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_vector.h:2099:3: error: template with C linkage 2099 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_vector.h:2106:3: error: template with C linkage 2106 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/vector:67: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:153:5: error: conflicting declaration of C function 'void std::swap(_Bit_reference, bool&)' 153 | swap(_Bit_reference __x, bool& __y) noexcept | ^~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:144:5: note: previous declaration 'void std::swap(_Bit_reference, _Bit_reference)' 144 | swap(_Bit_reference __x, _Bit_reference __y) noexcept | ^~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:162:5: error: conflicting declaration of C function 'void std::swap(bool&, _Bit_reference)' 162 | swap(bool& __x, _Bit_reference __y) noexcept | ^~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:144:5: note: previous declaration 'void std::swap(_Bit_reference, _Bit_reference)' 144 | swap(_Bit_reference __x, _Bit_reference __y) noexcept | ^~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:368:5: error: conflicting declaration of C function 'std::_Bit_iterator::iterator std::operator+(iterator::difference_type, const _Bit_iterator::iterator&)' 368 | operator+(difference_type __n, const iterator& __x) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:359:5: note: previous declaration 'std::_Bit_iterator::iterator std::operator+(const _Bit_iterator::iterator&, iterator::difference_type)' 359 | operator+(const iterator& __x, difference_type __n) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:373:5: error: conflicting declaration of C function 'std::_Bit_iterator::iterator std::operator-(const _Bit_iterator::iterator&, iterator::difference_type)' 373 | operator-(const iterator& __x, difference_type __n) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:267:5: note: previous declaration 'std::ptrdiff_t std::operator-(const _Bit_iterator_base&, const _Bit_iterator_base&)' 267 | operator-(const _Bit_iterator_base& __x, const _Bit_iterator_base& __y) | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:52: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/xa.h:45:6: error: conflicting declaration of C function 'bool xid_cache_insert(THD*, XID_STATE*, XID*)' 45 | bool xid_cache_insert(THD *thd, XID_STATE *xid_state, XID *xid); | ^~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/xa.h:44:6: note: previous declaration 'bool xid_cache_insert(XID*)' 44 | bool xid_cache_insert(XID *xid); | ^~~~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:53: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/ddl_log.h:268:6: error: conflicting declaration of C function 'bool ddl_log_write_execute_entry(uint, DDL_LOG_MEMORY_ENTRY**)' 268 | bool ddl_log_write_execute_entry(uint first_entry, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/ddl_log.h:265:6: note: previous declaration 'bool ddl_log_write_execute_entry(uint, uint, DDL_LOG_MEMORY_ENTRY**)' 265 | bool ddl_log_write_execute_entry(uint first_entry, uint cond_entry, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:470:5: error: conflicting declaration of C function 'std::_Bit_const_iterator::const_iterator std::operator+(const _Bit_const_iterator::const_iterator&, iterator::difference_type)' 470 | operator+(const const_iterator& __x, difference_type __n) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:359:5: note: previous declaration 'std::_Bit_iterator::iterator std::operator+(const _Bit_iterator::iterator&, iterator::difference_type)' 359 | operator+(const iterator& __x, difference_type __n) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:479:5: error: conflicting declaration of C function 'std::_Bit_const_iterator::const_iterator std::operator-(const _Bit_const_iterator::const_iterator&, iterator::difference_type)' 479 | operator-(const const_iterator& __x, difference_type __n) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:267:5: note: previous declaration 'std::ptrdiff_t std::operator-(const _Bit_iterator_base&, const _Bit_iterator_base&)' 267 | operator-(const _Bit_iterator_base& __x, const _Bit_iterator_base& __y) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:488:5: error: conflicting declaration of C function 'std::_Bit_const_iterator::const_iterator std::operator+(iterator::difference_type, const _Bit_const_iterator::const_iterator&)' 488 | operator+(difference_type __n, const const_iterator& __x) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:359:5: note: previous declaration 'std::_Bit_iterator::iterator std::operator+(const _Bit_iterator::iterator&, iterator::difference_type)' 359 | operator+(const iterator& __x, difference_type __n) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h: In member function 'std::_Bit_const_iterator::const_reference std::_Bit_const_iterator::operator[](std::iterator::difference_type) const': /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:22: error: no match for 'operator+' (operand types are 'const std::_Bit_const_iterator' and 'std::iterator::difference_type' {aka 'int'}) 466 | { return *(*this + __i); } | ~~~~~ ^ ~~~ | | | | | std::iterator::difference_type {aka int} | const std::_Bit_const_iterator In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/iterator:63, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_list.h:24, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plugin.h:46: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_iterator.h:634:5: note: candidate: 'template std::reverse_iterator<_Iterator> std::operator+(typename reverse_iterator<_Iterator>::difference_type, const reverse_iterator<_Iterator>&)' 634 | operator+(typename reverse_iterator<_Iterator>::difference_type __n, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_iterator.h:634:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: mismatched types 'const std::reverse_iterator<_Iterator>' and 'std::iterator::difference_type' {aka 'int'} 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_iterator.h:1808:5: note: candidate: 'template std::move_iterator<_IteratorL> std::operator+(typename move_iterator<_IteratorL>::difference_type, const move_iterator<_IteratorL>&)' 1808 | operator+(typename move_iterator<_Iterator>::difference_type __n, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_iterator.h:1808:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: mismatched types 'const std::move_iterator<_IteratorL>' and 'std::iterator::difference_type' {aka 'int'} 466 | { return *(*this + __i); } | ^~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:68: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/rpl_gtid.h:41:13: error: conflicting declaration of C function 'bool operator==(const rpl_gtid&, const rpl_gtid&)' 41 | inline bool operator==(const rpl_gtid& lhs, const rpl_gtid& rhs) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/string:54, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_classes.h:40, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ios_base.h:41, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/streambuf:43, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/streambuf_iterator.h:35, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/iterator:66: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3541:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)' 3541 | operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3541:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: 'const std::_Bit_const_iterator' is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3559:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const _CharT*, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)' 3559 | operator+(const _CharT* __lhs, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3559:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: mismatched types 'const _CharT*' and 'std::_Bit_const_iterator' 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3578:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(_CharT, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)' 3578 | operator+(_CharT __lhs, const basic_string<_CharT,_Traits,_Alloc>& __rhs) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3578:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: mismatched types 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and 'std::iterator::difference_type' {aka 'int'} 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3595:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)' 3595 | operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3595:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: 'const std::_Bit_const_iterator' is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3613:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, _CharT)' 3613 | operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, _CharT __rhs) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3613:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: 'const std::_Bit_const_iterator' is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3625:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)' 3625 | operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3625:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: types 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and 'const std::_Bit_const_iterator' have incompatible cv-qualifiers 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3632:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, __cxx11::basic_string<_CharT, _Traits, _Alloc>&&)' 3632 | operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3632:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: 'const std::_Bit_const_iterator' is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3639:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, __cxx11::basic_string<_CharT, _Traits, _Alloc>&&)' 3639 | operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3639:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: types 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and 'const std::_Bit_const_iterator' have incompatible cv-qualifiers 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3662:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const _CharT*, __cxx11::basic_string<_CharT, _Traits, _Alloc>&&)' 3662 | operator+(const _CharT* __lhs, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3662:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: mismatched types 'const _CharT*' and 'std::_Bit_const_iterator' 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3669:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(_CharT, __cxx11::basic_string<_CharT, _Traits, _Alloc>&&)' 3669 | operator+(_CharT __lhs, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3669:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: mismatched types 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and 'std::iterator::difference_type' {aka 'int'} 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3676:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _CharT*)' 3676 | operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3676:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: types 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and 'const std::_Bit_const_iterator' have incompatible cv-qualifiers 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3683:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, _CharT)' 3683 | operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3683:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: types 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and 'const std::_Bit_const_iterator' have incompatible cv-qualifiers 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h: At global scope: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:492:3: error: template with C linkage 492 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In constructor 'Item_date_literal_for_invalid_dates::Item_date_literal_for_invalid_dates(THD*, const Date*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:5265:18: error: no match for 'operator~' (operand type is 'item_base_t') 5265 | base_flags&= ~item_base_t::MAYBE_NULL; | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:703:3: error: template with C linkage 703 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In constructor 'Item_datetime_literal_for_invalid_dates::Item_datetime_literal_for_invalid_dates(THD*, const Datetime*, decimal_digits_t)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:5287:18: error: no match for 'operator~' (operand type is 'item_base_t') 5287 | base_flags&= ~item_base_t::MAYBE_NULL; | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/rpl_gtid.h:715:1: error: template with C linkage 715 | template struct gtid_filter_element | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/rpl_gtid.h:732:1: error: template with C linkage 732 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/vector:65, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/buffer.hpp:24, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_service.hpp:30, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/wsrep_client_service.h:26, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:75: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:81:3: error: template with C linkage 81 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:110:3: error: template with C linkage 110 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:130:3: error: template with C linkage 130 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:140:3: error: template specialization with C linkage 140 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:161:3: error: template with C linkage 161 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:190:3: error: template with C linkage 190 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:208:3: error: template with C linkage 208 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:218:3: error: template specialization with C linkage 218 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:239:3: error: template with C linkage 239 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:258:3: error: template with C linkage 258 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:277:3: error: template with C linkage 277 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:287:3: error: template specialization with C linkage 287 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:310:3: error: template with C linkage 310 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:340:3: error: template with C linkage 340 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:377:3: error: template with C linkage 377 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/string:51: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_algobase.h:970:3: note: previous declaration with 'C++' linkage 970 | __fill_a1(_GLIBCXX_STD_C::_Bit_iterator, _GLIBCXX_STD_C::_Bit_iterator, | ^~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:424:3: error: template with C linkage 424 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:438:3: error: template with C linkage 438 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:461:3: error: template with C linkage 461 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:513:3: error: template with C linkage 513 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:592:3: error: template with C linkage 592 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:130:3: error: template with C linkage 130 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:613:3: error: template specialization with C linkage 613 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:631:3: error: template with C linkage 631 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:654:3: error: template specialization with C linkage 654 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:178:3: error: template with C linkage 178 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:676:3: error: template with C linkage 676 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:192:3: error: template with C linkage 192 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:693:3: error: template with C linkage 693 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:207:3: error: template with C linkage 207 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:719:3: error: template with C linkage 719 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:740:3: error: template with C linkage 740 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:751:3: error: template with C linkage 751 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:267:3: error: template with C linkage 267 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:774:3: error: template with C linkage 774 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:782:3: error: template with C linkage 782 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:804:3: error: template specialization with C linkage 804 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:292:3: error: template with C linkage 292 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:815:3: error: template with C linkage 815 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:837:3: error: template specialization with C linkage 837 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:311:3: error: template with C linkage 311 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:848:3: error: template with C linkage 848 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:863:3: error: template with C linkage 863 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:875:3: error: template with C linkage 875 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:895:3: error: template with C linkage 895 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:923:3: error: template with C linkage 923 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:409:3: error: template with C linkage 409 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:955:3: error: template with C linkage 955 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:1067:3: error: template with C linkage 1067 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:441:3: error: template with C linkage 441 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:1084:3: error: template with C linkage 1084 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:1088:3: error: template with C linkage 1088 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:526:3: error: template with C linkage 526 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:1138:3: error: template with C linkage 1138 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/vector:66: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_vector.h:84:3: error: template with C linkage 84 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:712:3: error: template with C linkage 712 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:725:3: error: template with C linkage 725 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:747:3: error: template with C linkage 747 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_vector.h:424:3: error: template with C linkage 424 | template > | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:843:3: error: template with C linkage 843 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:858:3: error: template with C linkage 858 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:890:3: error: template with C linkage 890 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:926:3: error: template with C linkage 926 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:955:3: error: template with C linkage 955 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:967:3: error: template with C linkage 967 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:979:3: error: template with C linkage 979 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:1013:3: error: template with C linkage 1013 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/buffer.hpp:86:9: error: template with C linkage 86 | template void push_back(const C& c) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_vector.h:2034:3: error: template with C linkage 2034 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_vector.h:2074:3: error: template with C linkage 2074 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_vector.h:2081:3: error: template with C linkage 2081 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_vector.h:2087:3: error: template with C linkage 2087 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_vector.h:2093:3: error: template with C linkage 2093 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_vector.h:2099:3: error: template with C linkage 2099 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_vector.h:2106:3: error: template with C linkage 2106 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/vector:67: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:153:5: error: conflicting declaration of C function 'void std::swap(_Bit_reference, bool&)' 153 | swap(_Bit_reference __x, bool& __y) noexcept | ^~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:144:5: note: previous declaration 'void std::swap(_Bit_reference, _Bit_reference)' 144 | swap(_Bit_reference __x, _Bit_reference __y) noexcept | ^~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:162:5: error: conflicting declaration of C function 'void std::swap(bool&, _Bit_reference)' 162 | swap(bool& __x, _Bit_reference __y) noexcept | ^~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:144:5: note: previous declaration 'void std::swap(_Bit_reference, _Bit_reference)' 144 | swap(_Bit_reference __x, _Bit_reference __y) noexcept | ^~~~ [ 14%] Building C object extra/readline/CMakeFiles/readline.dir/callback.c.o [ 14%] Building C object libmariadb/libmariadb/CMakeFiles/mariadb_obj.dir/ma_sha1.c.o /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:368:5: error: conflicting declaration of C function 'std::_Bit_iterator::iterator std::operator+(iterator::difference_type, const _Bit_iterator::iterator&)' 368 | operator+(difference_type __n, const iterator& __x) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:359:5: note: previous declaration 'std::_Bit_iterator::iterator std::operator+(const _Bit_iterator::iterator&, iterator::difference_type)' 359 | operator+(const iterator& __x, difference_type __n) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:373:5: error: conflicting declaration of C function 'std::_Bit_iterator::iterator std::operator-(const _Bit_iterator::iterator&, iterator::difference_type)' 373 | operator-(const iterator& __x, difference_type __n) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:267:5: note: previous declaration 'std::ptrdiff_t std::operator-(const _Bit_iterator_base&, const _Bit_iterator_base&)' 267 | operator-(const _Bit_iterator_base& __x, const _Bit_iterator_base& __y) | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/gtid.hpp:24, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/provider.hpp:23, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_service.hpp:31: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/seqno.hpp:96:19: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, seqno)' 96 | std::ostream& operator<<(std::ostream& os, wsrep::seqno seqno); | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/gtid.hpp:23: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In constructor 'Item_outer_ref::Item_outer_ref(THD*, Name_resolution_context*, Item_field*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:6264:18: error: no match for 'operator~' (operand type is 'item_base_t') 6264 | base_flags&= ~item_base_t::FIXED; | ^~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:470:5: error: conflicting declaration of C function 'std::_Bit_const_iterator::const_iterator std::operator+(const _Bit_const_iterator::const_iterator&, iterator::difference_type)' 470 | operator+(const const_iterator& __x, difference_type __n) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:359:5: note: previous declaration 'std::_Bit_iterator::iterator std::operator+(const _Bit_iterator::iterator&, iterator::difference_type)' 359 | operator+(const iterator& __x, difference_type __n) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:479:5: error: conflicting declaration of C function 'std::_Bit_const_iterator::const_iterator std::operator-(const _Bit_const_iterator::const_iterator&, iterator::difference_type)' 479 | operator-(const const_iterator& __x, difference_type __n) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:267:5: note: previous declaration 'std::ptrdiff_t std::operator-(const _Bit_iterator_base&, const _Bit_iterator_base&)' 267 | operator-(const _Bit_iterator_base& __x, const _Bit_iterator_base& __y) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/gtid.hpp:122:19: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, const gtid&)' 122 | std::ostream& operator<<(std::ostream&, const wsrep::gtid&); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:488:5: error: conflicting declaration of C function 'std::_Bit_const_iterator::const_iterator std::operator+(iterator::difference_type, const _Bit_const_iterator::const_iterator&)' 488 | operator+(difference_type __n, const const_iterator& __x) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/gtid.hpp:127:19: error: conflicting declaration of C function 'std::istream& wsrep::operator>>(std::istream&, gtid&)' 127 | std::istream& operator>>(std::istream&, wsrep::gtid&); | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:359:5: note: previous declaration 'std::_Bit_iterator::iterator std::operator+(const _Bit_iterator::iterator&, iterator::difference_type)' 359 | operator+(const iterator& __x, difference_type __n) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:102:19: note: previous declaration 'std::istream& wsrep::operator>>(std::istream&, id&)' 102 | std::istream& operator>>(std::istream&, wsrep::id& id); | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/provider.hpp:24: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/key.hpp:92:19: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, key::type)' 92 | std::ostream& operator<<(std::ostream&, enum wsrep::key::type); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/key.hpp:93:19: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, const key&)' 93 | std::ostream& operator<<(std::ostream&, const wsrep::key&); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h: In member function 'std::_Bit_const_iterator::const_reference std::_Bit_const_iterator::operator[](std::iterator::difference_type) const': /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:22: error: no match for 'operator+' (operand types are 'const std::_Bit_const_iterator' and 'std::iterator::difference_type' {aka 'int'}) 466 | { return *(*this + __i); } | ~~~~~ ^ ~~~ | | | | | std::iterator::difference_type {aka int} | const std::_Bit_const_iterator In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/iterator:63, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_list.h:24, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plugin.h:46: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_iterator.h:634:5: note: candidate: 'template std::reverse_iterator<_Iterator> std::operator+(typename reverse_iterator<_Iterator>::difference_type, const reverse_iterator<_Iterator>&)' 634 | operator+(typename reverse_iterator<_Iterator>::difference_type __n, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_iterator.h:634:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: mismatched types 'const std::reverse_iterator<_Iterator>' and 'std::iterator::difference_type' {aka 'int'} 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_iterator.h:1808:5: note: candidate: 'template std::move_iterator<_IteratorL> std::operator+(typename move_iterator<_IteratorL>::difference_type, const move_iterator<_IteratorL>&)' 1808 | operator+(typename move_iterator<_Iterator>::difference_type __n, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_iterator.h:1808:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: mismatched types 'const std::move_iterator<_IteratorL>' and 'std::iterator::difference_type' {aka 'int'} 466 | { return *(*this + __i); } | ^~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/string:54, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_classes.h:40, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ios_base.h:41, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/streambuf:43, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/streambuf_iterator.h:35, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/iterator:66: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3541:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)' 3541 | operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3541:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: 'const std::_Bit_const_iterator' is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3559:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const _CharT*, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)' 3559 | operator+(const _CharT* __lhs, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3559:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: mismatched types 'const _CharT*' and 'std::_Bit_const_iterator' 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3578:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(_CharT, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)' 3578 | operator+(_CharT __lhs, const basic_string<_CharT,_Traits,_Alloc>& __rhs) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3578:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: mismatched types 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and 'std::iterator::difference_type' {aka 'int'} 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3595:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)' 3595 | operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3595:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: 'const std::_Bit_const_iterator' is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3613:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, _CharT)' 3613 | operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, _CharT __rhs) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3613:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: 'const std::_Bit_const_iterator' is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3625:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)' 3625 | operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3625:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: types 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and 'const std::_Bit_const_iterator' have incompatible cv-qualifiers 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3632:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, __cxx11::basic_string<_CharT, _Traits, _Alloc>&&)' 3632 | operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3632:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: 'const std::_Bit_const_iterator' is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3639:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, __cxx11::basic_string<_CharT, _Traits, _Alloc>&&)' 3639 | operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3639:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: types 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and 'const std::_Bit_const_iterator' have incompatible cv-qualifiers 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3662:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const _CharT*, __cxx11::basic_string<_CharT, _Traits, _Alloc>&&)' 3662 | operator+(const _CharT* __lhs, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3662:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: mismatched types 'const _CharT*' and 'std::_Bit_const_iterator' 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3669:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(_CharT, __cxx11::basic_string<_CharT, _Traits, _Alloc>&&)' 3669 | operator+(_CharT __lhs, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3669:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: mismatched types 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and 'std::iterator::difference_type' {aka 'int'} 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3676:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _CharT*)' 3676 | operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3676:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: types 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and 'const std::_Bit_const_iterator' have incompatible cv-qualifiers 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3683:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, _CharT)' 3683 | operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3683:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: types 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and 'const std::_Bit_const_iterator' have incompatible cv-qualifiers 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h: At global scope: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:492:3: error: template with C linkage 492 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_ios.h:37, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ios:46, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:40, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_id.hpp:23, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/provider.hpp:26: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:74:3: error: template with C linkage 74 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:80:3: error: template specialization with C linkage 80 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:85:3: error: template specialization with C linkage 85 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:703:3: error: template with C linkage 703 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:90:3: error: template specialization with C linkage 90 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:97:3: error: template with C linkage 97 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:110:3: error: template with C linkage 110 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:119:3: error: template with C linkage 119 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:129:3: error: template with C linkage 129 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:152:3: error: template with C linkage 152 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:614:3: error: template with C linkage 614 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:671:3: error: template with C linkage 671 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:676:3: error: template with C linkage 676 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:688:3: error: template specialization with C linkage 688 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1193:3: error: template specialization with C linkage 1193 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1485:3: error: template with C linkage 1485 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1506:3: error: template specialization with C linkage 1506 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1524:3: error: template specialization with C linkage 1524 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1602:3: error: template with C linkage 1602 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:1566:3: error: conflicting declaration of 'void std::__fill_a1(_Bit_iterator, _Bit_iterator, const bool&)' with 'C' linkage 1566 | __fill_a1(_GLIBCXX_STD_C::_Bit_iterator __first, | ^~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1650:3: error: template with C linkage 1650 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/string:51: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_algobase.h:970:3: note: previous declaration with 'C++' linkage 970 | __fill_a1(_GLIBCXX_STD_C::_Bit_iterator, _GLIBCXX_STD_C::_Bit_iterator, | ^~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1677:3: error: template with C linkage 1677 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:1587:3: error: template with C linkage 1587 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/vector:72: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:64:3: error: template with C linkage 64 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1890:3: error: template with C linkage 1890 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1893:3: error: template specialization with C linkage 1893 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:103:3: error: template with C linkage 103 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:130:3: error: template with C linkage 130 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1896:3: error: template specialization with C linkage 1896 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1901:3: error: template specialization with C linkage 1901 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:178:3: error: template with C linkage 178 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:192:3: error: template with C linkage 192 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1904:3: error: template specialization with C linkage 1904 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1910:3: error: template with C linkage 1910 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:207:3: error: template with C linkage 207 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1959:3: error: template with C linkage 1959 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:267:3: error: template with C linkage 267 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:292:3: error: template with C linkage 292 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:311:3: error: template with C linkage 311 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:353:3: error: template with C linkage 353 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:377:3: error: template with C linkage 377 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:409:3: error: template with C linkage 409 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:441:3: error: template with C linkage 441 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2301:3: error: template with C linkage 2301 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2317:3: error: template with C linkage 2317 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:526:3: error: template with C linkage 526 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:631:3: error: template with C linkage 631 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2588:3: error: template with C linkage 2588 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2599:3: error: template with C linkage 2599 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:712:3: error: template with C linkage 712 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2605:3: error: template with C linkage 2605 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:725:3: error: template with C linkage 725 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2611:3: error: template with C linkage 2611 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2617:3: error: template with C linkage 2617 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:747:3: error: template with C linkage 747 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2623:3: error: template with C linkage 2623 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2629:3: error: template with C linkage 2629 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2635:3: error: template with C linkage 2635 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2641:3: error: template with C linkage 2641 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2647:3: error: template with C linkage 2647 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2653:3: error: template with C linkage 2653 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:843:3: error: template with C linkage 843 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2659:3: error: template with C linkage 2659 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2666:3: error: template with C linkage 2666 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ [ 14%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/ge_msub.c.o /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:858:3: error: template with C linkage 858 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2673:3: error: template with C linkage 2673 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2679:3: error: template with C linkage 2679 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2687: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:41:3: error: template with C linkage 41 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:49:3: error: template with C linkage 49 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:76:3: error: template with C linkage 76 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:890:3: error: template with C linkage 890 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:926:3: error: template with C linkage 926 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:145:3: error: template with C linkage 145 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:955:3: error: template with C linkage 955 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:967:3: error: template with C linkage 967 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:979:3: error: template with C linkage 979 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:1013:3: error: template with C linkage 1013 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:370:3: error: template with C linkage 370 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/buffer.hpp:86:9: error: template with C linkage 86 | template void push_back(const C& c) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:35: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_profile.h:68:1: error: template with C linkage 68 | template class Queue | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:592:3: error: template with C linkage 592 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:688:3: error: template with C linkage 688 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:703:3: error: template with C linkage 703 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:735:3: error: template with C linkage 735 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:750:3: error: template with C linkage 750 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:795:3: error: template with C linkage 795 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:810:3: error: template with C linkage 810 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:854:3: error: template with C linkage 854 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:865:3: error: template with C linkage 865 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:954:3: error: template with C linkage 954 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:37: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/protocol.h:329:8: error: conflicting declaration of C function 'uchar* net_store_data(uchar*, int32)' 329 | uchar *net_store_data(uchar *to,int32 from); | ^~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/protocol.h:328:8: note: previous declaration 'uchar* net_store_data(uchar*, const uchar*, size_t)' 328 | uchar *net_store_data(uchar *to,const uchar *from, size_t length); | ^~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/protocol.h:330:8: error: conflicting declaration of C function 'uchar* net_store_data(uchar*, longlong)' 330 | uchar *net_store_data(uchar *to,longlong from); | ^~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/protocol.h:328:8: note: previous declaration 'uchar* net_store_data(uchar*, const uchar*, size_t)' 328 | uchar *net_store_data(uchar *to,const uchar *from, size_t length); | ^~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:989:3: error: template with C linkage 989 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/gtid.hpp:24, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/provider.hpp:23, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_service.hpp:31: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/seqno.hpp:96:19: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, seqno)' 96 | std::ostream& operator<<(std::ostream& os, wsrep::seqno seqno); | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/gtid.hpp:23: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:1121:3: error: template with C linkage 1121 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/gtid.hpp:122:19: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, const gtid&)' 122 | std::ostream& operator<<(std::ostream&, const wsrep::gtid&); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/gtid.hpp:127:19: error: conflicting declaration of C function 'std::istream& wsrep::operator>>(std::istream&, gtid&)' 127 | std::istream& operator>>(std::istream&, wsrep::gtid&); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:102:19: note: previous declaration 'std::istream& wsrep::operator>>(std::istream&, id&)' 102 | std::istream& operator>>(std::istream&, wsrep::id& id); | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/provider.hpp:24: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/key.hpp:92:19: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, key::type)' 92 | std::ostream& operator<<(std::ostream&, enum wsrep::key::type); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/key.hpp:93:19: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, const key&)' 93 | std::ostream& operator<<(std::ostream&, const wsrep::key&); | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:1173:3: error: template with C linkage 1173 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:1187:3: error: template with C linkage 1187 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:1194:3: error: template with C linkage 1194 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:1233:3: error: template with C linkage 1233 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:1282:3: error: template with C linkage 1282 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_ios.h:37, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ios:46, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:40, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_id.hpp:23, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/provider.hpp:26: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:74:3: error: template with C linkage 74 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:80:3: error: template specialization with C linkage 80 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:85:3: error: template specialization with C linkage 85 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:90:3: error: template specialization with C linkage 90 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:97:3: error: template with C linkage 97 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:110:3: error: template with C linkage 110 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:119:3: error: template with C linkage 119 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:129:3: error: template with C linkage 129 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:152:3: error: template with C linkage 152 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:614:3: error: template with C linkage 614 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:671:3: error: template with C linkage 671 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:676:3: error: template with C linkage 676 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:688:3: error: template specialization with C linkage 688 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_ios.h:45:3: error: template with C linkage 45 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_ios.h:66:3: error: template with C linkage 66 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/session_tracker.h:22, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:50: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_hset.h:26:1: error: template with C linkage 26 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1193:3: error: template specialization with C linkage 1193 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1485:3: error: template with C linkage 1485 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1506:3: error: template specialization with C linkage 1506 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1524:3: error: template specialization with C linkage 1524 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_ios.h:516: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_ios.tcc:39:3: error: template with C linkage 39 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_ios.tcc:51:3: error: template with C linkage 51 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_ios.tcc:61:3: error: template with C linkage 61 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_ios.tcc:112:3: error: template with C linkage 112 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_ios.tcc:124:3: error: template with C linkage 124 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1602:3: error: template with C linkage 1602 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_ios.tcc:155:3: error: template with C linkage 155 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1650:3: error: template with C linkage 1650 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1677:3: error: template with C linkage 1677 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1890:3: error: template with C linkage 1890 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1893:3: error: template specialization with C linkage 1893 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:59:3: error: template with C linkage 59 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1896:3: error: template specialization with C linkage 1896 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1901:3: error: template specialization with C linkage 1901 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In constructor 'Item_type_holder::Item_type_holder(THD*, Item*, const Type_handler*, const Type_all_attributes*, bool)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:7627:52: error: no match for 'operator|' (operand types are 'item_base_t' and 'item_base_t') 7627 | copy_flags(item, item_base_t::IS_EXPLICIT_NAME | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ | | | item_base_t 7628 | item_base_t::IS_IN_WITH_CYCLE); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | item_base_t /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1904:3: error: template specialization with C linkage 1904 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1910:3: error: template with C linkage 1910 | template | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:52: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/xa.h:45:6: error: conflicting declaration of C function 'bool xid_cache_insert(THD*, XID_STATE*, XID*)' 45 | bool xid_cache_insert(THD *thd, XID_STATE *xid_state, XID *xid); | ^~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/xa.h:44:6: note: previous declaration 'bool xid_cache_insert(XID*)' 44 | bool xid_cache_insert(XID *xid); | ^~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:479:3: error: template with C linkage 479 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1959:3: error: template with C linkage 1959 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:552:3: error: template with C linkage 552 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:562:3: error: template with C linkage 562 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:568:3: error: template with C linkage 568 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:579:3: error: template with C linkage 579 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:53: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/ddl_log.h:268:6: error: conflicting declaration of C function 'bool ddl_log_write_execute_entry(uint, DDL_LOG_MEMORY_ENTRY**)' 268 | bool ddl_log_write_execute_entry(uint first_entry, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/ddl_log.h:265:6: note: previous declaration 'bool ddl_log_write_execute_entry(uint, uint, DDL_LOG_MEMORY_ENTRY**)' 265 | bool ddl_log_write_execute_entry(uint first_entry, uint cond_entry, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:584:3: error: template with C linkage 584 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:643:3: error: template with C linkage 643 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:655:3: error: template with C linkage 655 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:660:3: error: template with C linkage 660 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:673:3: error: template with C linkage 673 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:678:3: error: template with C linkage 678 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:733:3: error: template with C linkage 733 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:745:3: error: template with C linkage 745 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:755:3: error: template with C linkage 755 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:777:3: error: template with C linkage 777 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2301:3: error: template with C linkage 2301 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2317:3: error: template with C linkage 2317 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:782:3: error: template with C linkage 782 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:68: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/rpl_gtid.h:41:13: error: conflicting declaration of C function 'bool operator==(const rpl_gtid&, const rpl_gtid&)' 41 | inline bool operator==(const rpl_gtid& lhs, const rpl_gtid& rhs) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2588:3: error: template with C linkage 2588 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2599:3: error: template with C linkage 2599 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2605:3: error: template with C linkage 2605 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2611:3: error: template with C linkage 2611 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2617:3: error: template with C linkage 2617 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2623:3: error: template with C linkage 2623 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2629:3: error: template with C linkage 2629 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2635:3: error: template with C linkage 2635 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2641:3: error: template with C linkage 2641 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2647:3: error: template with C linkage 2647 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2653:3: error: template with C linkage 2653 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2659:3: error: template with C linkage 2659 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2666:3: error: template with C linkage 2666 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2673:3: error: template with C linkage 2673 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2679:3: error: template with C linkage 2679 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2687: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:41:3: error: template with C linkage 41 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:49:3: error: template with C linkage 49 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:76:3: error: template with C linkage 76 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:145:3: error: template with C linkage 145 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:370:3: error: template with C linkage 370 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/rpl_gtid.h:715:1: error: template with C linkage 715 | template struct gtid_filter_element | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/rpl_gtid.h:732:1: error: template with C linkage 732 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:592:3: error: template with C linkage 592 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/vector:65, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/buffer.hpp:24, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_service.hpp:30, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/wsrep_client_service.h:26, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:75: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:81:3: error: template with C linkage 81 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:688:3: error: template with C linkage 688 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:110:3: error: template with C linkage 110 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:130:3: error: template with C linkage 130 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:140:3: error: template specialization with C linkage 140 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:703:3: error: template with C linkage 703 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:161:3: error: template with C linkage 161 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:190:3: error: template with C linkage 190 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:735:3: error: template with C linkage 735 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:208:3: error: template with C linkage 208 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:218:3: error: template specialization with C linkage 218 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:750:3: error: template with C linkage 750 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:239:3: error: template with C linkage 239 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:258:3: error: template with C linkage 258 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:277:3: error: template with C linkage 277 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:287:3: error: template specialization with C linkage 287 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:795:3: error: template with C linkage 795 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:310:3: error: template with C linkage 310 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:810:3: error: template with C linkage 810 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:340:3: error: template with C linkage 340 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:377:3: error: template with C linkage 377 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:854:3: error: template with C linkage 854 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:424:3: error: template with C linkage 424 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:865:3: error: template with C linkage 865 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:438:3: error: template with C linkage 438 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:613:3: error: template specialization with C linkage 613 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:631:3: error: template with C linkage 631 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:654:3: error: template specialization with C linkage 654 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:676:3: error: template with C linkage 676 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:954:3: error: template with C linkage 954 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:693:3: error: template with C linkage 693 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:989:3: error: template with C linkage 989 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:719:3: error: template with C linkage 719 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:740:3: error: template with C linkage 740 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:751:3: error: template with C linkage 751 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:880: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:45:3: error: template with C linkage 45 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:774:3: error: template with C linkage 774 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:782:3: error: template with C linkage 782 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:60:3: error: template with C linkage 60 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:804:3: error: template specialization with C linkage 804 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:815:3: error: template with C linkage 815 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:94:3: error: template with C linkage 94 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:837:3: error: template specialization with C linkage 837 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:848:3: error: template with C linkage 848 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:863:3: error: template with C linkage 863 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:875:3: error: template with C linkage 875 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:923:3: error: template with C linkage 923 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:955:3: error: template with C linkage 955 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:108:3: error: template with C linkage 108 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:1067:3: error: template with C linkage 1067 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:1084:3: error: template with C linkage 1084 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:1088:3: error: template with C linkage 1088 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:1112:3: error: template with C linkage 1112 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:1173:3: error: template with C linkage 1173 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:1187:3: error: template with C linkage 1187 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:151:3: error: template with C linkage 151 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:1194:3: error: template with C linkage 1194 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:185:3: error: template with C linkage 185 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_uninitialized.h:1138:3: error: template with C linkage 1138 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:1233:3: error: template with C linkage 1233 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/vector:66: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_vector.h:84:3: error: template with C linkage 84 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:254:3: error: template with C linkage 254 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:266:3: error: template with C linkage 266 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:285:3: error: template with C linkage 285 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:305:3: error: template with C linkage 305 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h: At global scope: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:1121:3: error: template with C linkage 1121 | template int iterate(my_bool (*action)(THD *thd, T *arg), T *arg= 0) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:1282:3: error: template with C linkage 1282 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_vector.h:424:3: error: template with C linkage 424 | template > | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ [ 14%] Building C object libmariadb/libmariadb/CMakeFiles/mariadb_obj.dir/mariadb_stmt.c.o /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_id.hpp:35:9: error: template with C linkage 35 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_ios.h:45:3: error: template with C linkage 45 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_ios.h:66:3: error: template with C linkage 66 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_id.hpp:52:33: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, const client_id&)' 52 | static inline std::ostream& operator<<( | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/iostream:42, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction_id.hpp:23, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/provider.hpp:27: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:59:3: error: template with C linkage 59 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_vector.h:2034:3: error: template with C linkage 2034 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/plugin/disks/information_schema_disks.cc:290:2: error: expected '}' at end of input 290 | } | ^ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_vector.h:2074:3: error: template with C linkage 2074 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:36: note: to match this '{' 75 | #define C_MODE_START extern "C" { | ^ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_vector.h:2081:3: error: template with C linkage 2081 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_ios.h:516: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_ios.tcc:39:3: error: template with C linkage 39 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_vector.h:2087:3: error: template with C linkage 2087 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_vector.h:2093:3: error: template with C linkage 2093 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_ios.tcc:51:3: error: template with C linkage 51 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_vector.h:2099:3: error: template with C linkage 2099 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_vector.h:2106:3: error: template with C linkage 2106 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_ios.tcc:61:3: error: template with C linkage 61 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:735:3: error: template specialization with C linkage 735 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_ios.tcc:112:3: error: template with C linkage 112 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/vector:67: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:153:5: error: conflicting declaration of C function 'void std::swap(_Bit_reference, bool&)' 153 | swap(_Bit_reference __x, bool& __y) noexcept | ^~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_ios.tcc:124:3: error: template with C linkage 124 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:144:5: note: previous declaration 'void std::swap(_Bit_reference, _Bit_reference)' 144 | swap(_Bit_reference __x, _Bit_reference __y) noexcept | ^~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:162:5: error: conflicting declaration of C function 'void std::swap(bool&, _Bit_reference)' 162 | swap(bool& __x, _Bit_reference __y) noexcept | ^~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:144:5: note: previous declaration 'void std::swap(_Bit_reference, _Bit_reference)' 144 | swap(_Bit_reference __x, _Bit_reference __y) noexcept | ^~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_ios.tcc:155:3: error: template with C linkage 155 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ [ 14%] Building C object libmariadb/libmariadb/CMakeFiles/mariadb_obj.dir/ma_loaddata.c.o /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:59:3: error: template with C linkage 59 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:479:3: error: template with C linkage 479 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:552:3: error: template with C linkage 552 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:562:3: error: template with C linkage 562 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:568:3: error: template with C linkage 568 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:579:3: error: template with C linkage 579 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:368:5: error: conflicting declaration of C function 'std::_Bit_iterator::iterator std::operator+(iterator::difference_type, const _Bit_iterator::iterator&)' 368 | operator+(difference_type __n, const iterator& __x) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:359:5: note: previous declaration 'std::_Bit_iterator::iterator std::operator+(const _Bit_iterator::iterator&, iterator::difference_type)' 359 | operator+(const iterator& __x, difference_type __n) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:584:3: error: template with C linkage 584 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:373:5: error: conflicting declaration of C function 'std::_Bit_iterator::iterator std::operator-(const _Bit_iterator::iterator&, iterator::difference_type)' 373 | operator-(const iterator& __x, difference_type __n) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:267:5: note: previous declaration 'std::ptrdiff_t std::operator-(const _Bit_iterator_base&, const _Bit_iterator_base&)' 267 | operator-(const _Bit_iterator_base& __x, const _Bit_iterator_base& __y) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:643:3: error: template with C linkage 643 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:655:3: error: template with C linkage 655 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:660:3: error: template with C linkage 660 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:673:3: error: template with C linkage 673 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:678:3: error: template with C linkage 678 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:733:3: error: template with C linkage 733 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:745:3: error: template with C linkage 745 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:755:3: error: template with C linkage 755 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:777:3: error: template with C linkage 777 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:782:3: error: template with C linkage 782 | template::difference_type)' 470 | operator+(const const_iterator& __x, difference_type __n) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:359:5: note: previous declaration 'std::_Bit_iterator::iterator std::operator+(const _Bit_iterator::iterator&, iterator::difference_type)' 359 | operator+(const iterator& __x, difference_type __n) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:479:5: error: conflicting declaration of C function 'std::_Bit_const_iterator::const_iterator std::operator-(const _Bit_const_iterator::const_iterator&, iterator::difference_type)' 479 | operator-(const const_iterator& __x, difference_type __n) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:267:5: note: previous declaration 'std::ptrdiff_t std::operator-(const _Bit_iterator_base&, const _Bit_iterator_base&)' 267 | operator-(const _Bit_iterator_base& __x, const _Bit_iterator_base& __y) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:799:3: error: template with C linkage 799 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:488:5: error: conflicting declaration of C function 'std::_Bit_const_iterator::const_iterator std::operator+(iterator::difference_type, const _Bit_const_iterator::const_iterator&)' 488 | operator+(difference_type __n, const const_iterator& __x) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:359:5: note: previous declaration 'std::_Bit_iterator::iterator std::operator+(const _Bit_iterator::iterator&, iterator::difference_type)' 359 | operator+(const iterator& __x, difference_type __n) | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:880: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:45:3: error: template with C linkage 45 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:60:3: error: template with C linkage 60 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:94:3: error: template with C linkage 94 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h: In member function 'std::_Bit_const_iterator::const_reference std::_Bit_const_iterator::operator[](std::iterator::difference_type) const': /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:22: error: no match for 'operator+' (operand types are 'const std::_Bit_const_iterator' and 'std::iterator::difference_type' {aka 'int'}) 466 | { return *(*this + __i); } | ~~~~~ ^ ~~~ | | | | | std::iterator::difference_type {aka int} | const std::_Bit_const_iterator In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/iterator:63, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_list.h:24, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_plugin.h:46: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_iterator.h:634:5: note: candidate: 'template std::reverse_iterator<_Iterator> std::operator+(typename reverse_iterator<_Iterator>::difference_type, const reverse_iterator<_Iterator>&)' 634 | operator+(typename reverse_iterator<_Iterator>::difference_type __n, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_iterator.h:634:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: mismatched types 'const std::reverse_iterator<_Iterator>' and 'std::iterator::difference_type' {aka 'int'} 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:108:3: error: template with C linkage 108 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_iterator.h:1808:5: note: candidate: 'template std::move_iterator<_IteratorL> std::operator+(typename move_iterator<_IteratorL>::difference_type, const move_iterator<_IteratorL>&)' 1808 | operator+(typename move_iterator<_Iterator>::difference_type __n, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_iterator.h:1808:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: mismatched types 'const std::move_iterator<_IteratorL>' and 'std::iterator::difference_type' {aka 'int'} 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:122:3: error: template with C linkage 122 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/string:54, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_classes.h:40, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ios_base.h:41, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/streambuf:43, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/streambuf_iterator.h:35, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/iterator:66: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3541:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)' 3541 | operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3541:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: 'const std::_Bit_const_iterator' is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3559:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const _CharT*, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)' 3559 | operator+(const _CharT* __lhs, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3559:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: mismatched types 'const _CharT*' and 'std::_Bit_const_iterator' 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3578:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(_CharT, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)' 3578 | operator+(_CharT __lhs, const basic_string<_CharT,_Traits,_Alloc>& __rhs) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3578:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: mismatched types 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and 'std::iterator::difference_type' {aka 'int'} 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3595:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)' 3595 | operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3595:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: 'const std::_Bit_const_iterator' is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:151:3: error: template with C linkage 151 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3613:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, _CharT)' 3613 | operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, _CharT __rhs) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3613:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: 'const std::_Bit_const_iterator' is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3625:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)' 3625 | operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3625:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: types 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and 'const std::_Bit_const_iterator' have incompatible cv-qualifiers 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3632:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, __cxx11::basic_string<_CharT, _Traits, _Alloc>&&)' 3632 | operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3632:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: 'const std::_Bit_const_iterator' is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3639:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, __cxx11::basic_string<_CharT, _Traits, _Alloc>&&)' 3639 | operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3639:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: types 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and 'const std::_Bit_const_iterator' have incompatible cv-qualifiers 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:185:3: error: template with C linkage 185 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3662:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(const _CharT*, __cxx11::basic_string<_CharT, _Traits, _Alloc>&&)' 3662 | operator+(const _CharT* __lhs, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3662:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: mismatched types 'const _CharT*' and 'std::_Bit_const_iterator' 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3669:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(_CharT, __cxx11::basic_string<_CharT, _Traits, _Alloc>&&)' 3669 | operator+(_CharT __lhs, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3669:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: mismatched types 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and 'std::iterator::difference_type' {aka 'int'} 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3676:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _CharT*)' 3676 | operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3676:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: types 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and 'const std::_Bit_const_iterator' have incompatible cv-qualifiers 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3683:5: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc> std::operator+(__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, _CharT)' 3683 | operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_string.h:3683:5: note: template argument deduction/substitution failed: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:466:24: note: types 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and 'const std::_Bit_const_iterator' have incompatible cv-qualifiers 466 | { return *(*this + __i); } | ^~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:219:3: error: template with C linkage 219 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h: At global scope: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:492:3: error: template with C linkage 492 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:254:3: error: template with C linkage 254 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:266:3: error: template with C linkage 266 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:285:3: error: template with C linkage 285 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:305:3: error: template with C linkage 305 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:703:3: error: template with C linkage 703 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_id.hpp:35:9: error: template with C linkage 35 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:740:3: error: template specialization with C linkage 740 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:745:3: error: template specialization with C linkage 745 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:751:3: error: template specialization with C linkage 751 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_id.hpp:52:33: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, const client_id&)' 52 | static inline std::ostream& operator<<( | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/iostream:42, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction_id.hpp:23, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/provider.hpp:27: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:59:3: error: template with C linkage 59 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:756:3: error: template specialization with C linkage 756 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:761:3: error: template specialization with C linkage 761 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:775:3: error: template with C linkage 775 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:840:3: error: template with C linkage 840 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:844:3: error: template with C linkage 844 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:849:3: error: template with C linkage 849 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:856:3: error: template with C linkage 856 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:860:8: error: conflicting declaration of 'void std::__istream_extract(istream&, char*, streamsize)' with 'C' linkage 860 | void __istream_extract(istream&, char*, streamsize); | ^~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/streambuf:171:19: note: previous declaration with 'C++' linkage 171 | friend void __istream_extract(istream&, char*, streamsize); | ^~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:890:3: error: template with C linkage 890 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:933:3: error: template with C linkage 933 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:939:3: error: template with C linkage 939 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:979:3: error: template with C linkage 979 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:1062:3: error: template with C linkage 1062 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:1078:3: error: template with C linkage 1078 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:735:3: error: template specialization with C linkage 735 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:1566:3: error: conflicting declaration of 'void std::__fill_a1(_Bit_iterator, _Bit_iterator, const bool&)' with 'C' linkage 1566 | __fill_a1(_GLIBCXX_STD_C::_Bit_iterator __first, | ^~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/string:51: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_algobase.h:970:3: note: previous declaration with 'C++' linkage 970 | __fill_a1(_GLIBCXX_STD_C::_Bit_iterator, _GLIBCXX_STD_C::_Bit_iterator, | ^~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:1106: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:45:3: error: template with C linkage 45 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_bvector.h:1587:3: error: template with C linkage 1587 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/vector:72: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:64:3: error: template with C linkage 64 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:740:3: error: template specialization with C linkage 740 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:745:3: error: template specialization with C linkage 745 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:751:3: error: template specialization with C linkage 751 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:103:3: error: template with C linkage 103 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:93:3: error: template with C linkage 93 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:130:3: error: template with C linkage 130 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:126:3: error: template with C linkage 126 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:178:3: error: template with C linkage 178 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:192:3: error: template with C linkage 192 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:756:3: error: template specialization with C linkage 756 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:207:3: error: template with C linkage 207 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:761:3: error: template specialization with C linkage 761 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:775:3: error: template with C linkage 775 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:176:3: error: template with C linkage 176 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:840:3: error: template with C linkage 840 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:844:3: error: template with C linkage 844 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:267:3: error: template with C linkage 267 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:849:3: error: template with C linkage 849 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:856:3: error: template with C linkage 856 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:860:8: error: conflicting declaration of 'void std::__istream_extract(istream&, char*, streamsize)' with 'C' linkage 860 | void __istream_extract(istream&, char*, streamsize); | ^~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:292:3: error: template with C linkage 292 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:226:3: error: template with C linkage 226 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/streambuf:171:19: note: previous declaration with 'C++' linkage 171 | friend void __istream_extract(istream&, char*, streamsize); | ^~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:890:3: error: template with C linkage 890 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:311:3: error: template with C linkage 311 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:258:3: error: template with C linkage 258 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:933:3: error: template with C linkage 933 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:353:3: error: template with C linkage 353 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:939:3: error: template with C linkage 939 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:294:3: error: template with C linkage 294 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:979:3: error: template with C linkage 979 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:377:3: error: template with C linkage 377 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:331:3: error: template with C linkage 331 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:409:3: error: template with C linkage 409 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:1062:3: error: template with C linkage 1062 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:1078:3: error: template with C linkage 1078 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:441:3: error: template with C linkage 441 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ [ 14%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/ge_p3_tobytes.c.o /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:378:3: error: template with C linkage 378 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:526:3: error: template with C linkage 526 | template | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:1106: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:45:3: error: template with C linkage 45 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:429:3: error: template with C linkage 429 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:489:3: error: template with C linkage 489 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:631:3: error: template with C linkage 631 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:522:3: error: template with C linkage 522 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:93:3: error: template with C linkage 93 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:126:3: error: template with C linkage 126 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:712:3: error: template with C linkage 712 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:725:3: error: template with C linkage 725 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:592:3: error: template with C linkage 592 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:747:3: error: template with C linkage 747 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:176:3: error: template with C linkage 176 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ [ 14%] Building C object extra/readline/CMakeFiles/readline.dir/terminal.c.o /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:669:3: error: template with C linkage 669 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:843:3: error: template with C linkage 843 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:699:3: error: template with C linkage 699 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:226:3: error: template with C linkage 226 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:858:3: error: template with C linkage 858 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:728:3: error: template with C linkage 728 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:258:3: error: template with C linkage 258 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:294:3: error: template with C linkage 294 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:760:3: error: template with C linkage 760 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:331:3: error: template with C linkage 331 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:795:3: error: template with C linkage 795 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:890:3: error: template with C linkage 890 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:378:3: error: template with C linkage 378 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:830:3: error: template with C linkage 830 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:926:3: error: template with C linkage 926 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:866:3: error: template with C linkage 866 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:429:3: error: template with C linkage 429 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:955:3: error: template with C linkage 955 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:894:3: error: template with C linkage 894 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:967:3: error: template with C linkage 967 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:933:3: error: template with C linkage 933 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:489:3: error: template with C linkage 489 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:522:3: error: template with C linkage 522 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:973:3: error: template with C linkage 973 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:979:3: error: template with C linkage 979 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:1005:3: error: template with C linkage 1005 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/vector.tcc:1013:3: error: template with C linkage 1013 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:592:3: error: template with C linkage 592 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:1068:3: error: template with C linkage 1068 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:669:3: error: template with C linkage 669 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:699:3: error: template with C linkage 699 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:728:3: error: template with C linkage 728 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:760:3: error: template with C linkage 760 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:795:3: error: template with C linkage 795 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:830:3: error: template with C linkage 830 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:866:3: error: template with C linkage 866 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:894:3: error: template with C linkage 894 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:933:3: error: template with C linkage 933 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:973:3: error: template with C linkage 973 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:1005:3: error: template with C linkage 1005 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:1068:3: error: template with C linkage 1068 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction_id.hpp:38:9: error: template with C linkage 38 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction_id.hpp:57:33: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, transaction_id)' 57 | static inline std::ostream& operator<<(std::ostream& os, transaction_id id) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction_id.hpp:38:9: error: template with C linkage 38 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/provider.hpp:192:19: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, const ws_meta&)' 192 | std::ostream& operator<<(std::ostream& os, const wsrep::ws_meta& ws_meta); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction_id.hpp:57:33: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, transaction_id)' 57 | static inline std::ostream& operator<<(std::ostream& os, transaction_id id) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/buffer.hpp:86:9: error: template with C linkage 86 | template void push_back(const C& c) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/provider.hpp:192:19: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, const ws_meta&)' 192 | std::ostream& operator<<(std::ostream& os, const wsrep::ws_meta& ws_meta); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ [ 15%] Building C object libmariadb/CMakeFiles/client_ed25519.dir/plugins/auth/ref10/keypair.c.o In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:39, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:40, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/lock.hpp:23, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_service.hpp:33: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:51:3: error: template with C linkage 51 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:61:3: error: template with C linkage 61 | template> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:65:3: error: template with C linkage 65 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:72:3: error: template with C linkage 72 | template | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/gtid.hpp:24, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/provider.hpp:23, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_service.hpp:31: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/seqno.hpp:96:19: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, seqno)' 96 | std::ostream& operator<<(std::ostream& os, wsrep::seqno seqno); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/gtid.hpp:23: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:84:3: error: template with C linkage 84 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:87:3: error: template with C linkage 87 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:90:3: error: template with C linkage 90 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:93:3: error: template with C linkage 93 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:109:3: error: template with C linkage 109 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:113:3: error: template with C linkage 113 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:117:3: error: template with C linkage 117 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/gtid.hpp:122:19: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, const gtid&)' 122 | std::ostream& operator<<(std::ostream&, const wsrep::gtid&); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:127:3: error: template with C linkage 127 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/gtid.hpp:127:19: error: conflicting declaration of C function 'std::istream& wsrep::operator>>(std::istream&, gtid&)' 127 | std::istream& operator>>(std::istream&, wsrep::gtid&); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:102:19: note: previous declaration 'std::istream& wsrep::operator>>(std::istream&, id&)' 102 | std::istream& operator>>(std::istream&, wsrep::id& id); | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:137:3: error: template with C linkage 137 | template class _Predicate, | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:145:3: error: template with C linkage 145 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:156:3: error: template with C linkage 156 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:170:3: error: template with C linkage 170 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:175:3: error: template with C linkage 175 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:183:3: error: template with C linkage 183 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:188:3: error: template with C linkage 188 | template | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/provider.hpp:24: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/key.hpp:92:19: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, key::type)' 92 | std::ostream& operator<<(std::ostream&, enum wsrep::key::type); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/key.hpp:93:19: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, const key&)' 93 | std::ostream& operator<<(std::ostream&, const wsrep::key&); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:57:3: error: template with C linkage 57 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:60:3: error: template with C linkage 60 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:64:3: error: template with C linkage 64 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:68:3: error: template with C linkage 68 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:73:3: error: template with C linkage 73 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:39, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:40, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/lock.hpp:23, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_service.hpp:33: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:51:3: error: template with C linkage 51 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:61:3: error: template with C linkage 61 | template> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:65:3: error: template with C linkage 65 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:187:3: error: template with C linkage 187 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:72:3: error: template with C linkage 72 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:84:3: error: template with C linkage 84 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:250:3: error: template with C linkage 250 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:87:3: error: template with C linkage 87 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:258:3: error: template with C linkage 258 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:90:3: error: template with C linkage 90 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:93:3: error: template with C linkage 93 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_ios.h:37, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ios:46, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:40, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_id.hpp:23, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/provider.hpp:26: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:74:3: error: template with C linkage 74 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:80:3: error: template specialization with C linkage 80 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:109:3: error: template with C linkage 109 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:113:3: error: template with C linkage 113 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:117:3: error: template with C linkage 117 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:85:3: error: template specialization with C linkage 85 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:127:3: error: template with C linkage 127 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:137:3: error: template with C linkage 137 | template class _Predicate, | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:90:3: error: template specialization with C linkage 90 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:145:3: error: template with C linkage 145 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:97:3: error: template with C linkage 97 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:156:3: error: template with C linkage 156 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:170:3: error: template with C linkage 170 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:110:3: error: template with C linkage 110 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:119:3: error: template with C linkage 119 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:175:3: error: template with C linkage 175 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:129:3: error: template with C linkage 129 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:183:3: error: template with C linkage 183 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:152:3: error: template with C linkage 152 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:188:3: error: template with C linkage 188 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:488:3: error: template with C linkage 488 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:57:3: error: template with C linkage 57 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:60:3: error: template with C linkage 60 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:64:3: error: template with C linkage 64 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:68:3: error: template with C linkage 68 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:73:3: error: template with C linkage 73 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:78:3: error: template with C linkage 78 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:671:3: error: template with C linkage 671 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:676:3: error: template with C linkage 676 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:688:3: error: template specialization with C linkage 688 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:187:3: error: template with C linkage 187 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:684:3: error: template with C linkage 684 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:250:3: error: template with C linkage 250 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:258:3: error: template with C linkage 258 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:732:3: error: template with C linkage 732 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:745:3: error: template with C linkage 745 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1193:3: error: template specialization with C linkage 1193 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:488:3: error: template with C linkage 488 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1485:3: error: template with C linkage 1485 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1506:3: error: template specialization with C linkage 1506 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:684:3: error: template with C linkage 684 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1524:3: error: template specialization with C linkage 1524 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:732:3: error: template with C linkage 732 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:745:3: error: template with C linkage 745 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1602:3: error: template with C linkage 1602 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1650:3: error: template with C linkage 1650 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1677:3: error: template with C linkage 1677 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1208:3: error: template specialization with C linkage 1208 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1890:3: error: template with C linkage 1890 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1893:3: error: template specialization with C linkage 1893 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1231:3: error: template with C linkage 1231 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1896:3: error: template specialization with C linkage 1896 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1901:3: error: template specialization with C linkage 1901 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1904:3: error: template specialization with C linkage 1904 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1910:3: error: template with C linkage 1910 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:1959:3: error: template with C linkage 1959 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2301:3: error: template with C linkage 2301 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2317:3: error: template with C linkage 2317 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1208:3: error: template specialization with C linkage 1208 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1231:3: error: template with C linkage 1231 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2588:3: error: template with C linkage 2588 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2599:3: error: template with C linkage 2599 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2605:3: error: template with C linkage 2605 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2611:3: error: template with C linkage 2611 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2617:3: error: template with C linkage 2617 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2623:3: error: template with C linkage 2623 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2629:3: error: template with C linkage 2629 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2635:3: error: template with C linkage 2635 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2641:3: error: template with C linkage 2641 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ [ 15%] Building C object extra/readline/CMakeFiles/readline.dir/xmalloc.c.o /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2647:3: error: template with C linkage 2647 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2653:3: error: template with C linkage 2653 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1748:3: error: template with C linkage 1748 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2659:3: error: template with C linkage 2659 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1763:3: error: template with C linkage 1763 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2666:3: error: template with C linkage 2666 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2673:3: error: template with C linkage 2673 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1771:3: error: template with C linkage 1771 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2679:3: error: template with C linkage 2679 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1776:3: error: template with C linkage 1776 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1782:3: error: template with C linkage 1782 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.h:2687: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:41:3: error: template with C linkage 41 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:49:3: error: template with C linkage 49 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1787:3: error: template with C linkage 1787 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:76:3: error: template with C linkage 76 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1793:3: error: template with C linkage 1793 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1799:3: error: template with C linkage 1799 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1808:3: error: template with C linkage 1808 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1818:3: error: template with C linkage 1818 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1874:3: error: template with C linkage 1874 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1893:3: error: template with C linkage 1893 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1903:3: error: template with C linkage 1903 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:145:3: error: template with C linkage 145 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1945:3: error: template with C linkage 1945 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1958:3: error: template with C linkage 1958 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1964:3: error: template with C linkage 1964 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1970:3: error: template with C linkage 1970 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1976:3: error: template with C linkage 1976 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1985:3: error: template with C linkage 1985 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1997:3: error: template with C linkage 1997 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2005:3: error: template with C linkage 2005 | template struct array; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2007:3: error: template with C linkage 2007 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2011:3: error: template with C linkage 2011 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2015:3: error: template with C linkage 2015 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2019:3: error: template with C linkage 2019 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2024:3: error: template with C linkage 2024 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:370:3: error: template with C linkage 370 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2027:3: error: template with C linkage 2027 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2034:3: error: template with C linkage 2034 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2040:3: error: template with C linkage 2040 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2046:3: error: template with C linkage 2046 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2052:3: error: template with C linkage 2052 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2055:3: error: template specialization with C linkage 2055 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2061:3: error: template with C linkage 2061 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2067:3: error: template with C linkage 2067 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2075:3: error: template with C linkage 2075 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2084:3: error: template with C linkage 2084 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2087:3: error: template specialization with C linkage 2087 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2093:3: error: template with C linkage 2093 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2103:3: error: template with C linkage 2103 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2106:3: error: template with C linkage 2106 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1748:3: error: template with C linkage 1748 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1763:3: error: template with C linkage 1763 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2121:3: error: template with C linkage 2121 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2132:3: error: template with C linkage 2132 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1771:3: error: template with C linkage 1771 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2138:3: error: template with C linkage 2138 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1782:3: error: template with C linkage 1782 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2153:3: error: template with C linkage 2153 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2159:3: error: template with C linkage 2159 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2184:3: error: template with C linkage 2184 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1787:3: error: template with C linkage 1787 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2196:5: error: template with C linkage 2196 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2222:3: error: template with C linkage 2222 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1793:3: error: template with C linkage 1793 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2234:3: error: template with C linkage 2234 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1799:3: error: template with C linkage 1799 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2246:3: error: template with C linkage 2246 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1808:3: error: template with C linkage 1808 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:592:3: error: template with C linkage 592 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1818:3: error: template with C linkage 1818 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:37, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:43: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:56:3: error: template with C linkage 56 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1874:3: error: template with C linkage 1874 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:61:3: error: template with C linkage 61 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:66:3: error: template with C linkage 66 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:71:3: error: template with C linkage 71 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1893:3: error: template with C linkage 1893 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:76:3: error: template with C linkage 76 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:688:3: error: template with C linkage 688 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:87:3: error: template with C linkage 87 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1903:3: error: template with C linkage 1903 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1945:3: error: template with C linkage 1945 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:703:3: error: template with C linkage 703 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:114:3: error: template with C linkage 114 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1958:3: error: template with C linkage 1958 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:120:3: error: template with C linkage 120 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1964:3: error: template with C linkage 1964 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:129:3: error: template with C linkage 129 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:735:3: error: template with C linkage 735 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1970:3: error: template with C linkage 1970 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1976:3: error: template with C linkage 1976 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:140:3: error: template with C linkage 140 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1985:3: error: template with C linkage 1985 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:750:3: error: template with C linkage 750 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:165:3: error: template with C linkage 165 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1997:3: error: template with C linkage 1997 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:795:3: error: template with C linkage 795 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2005:3: error: template with C linkage 2005 | template struct array; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2007:3: error: template with C linkage 2007 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:810:3: error: template with C linkage 810 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2011:3: error: template with C linkage 2011 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2015:3: error: template with C linkage 2015 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2019:3: error: template with C linkage 2019 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:210:3: error: template with C linkage 210 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2024:3: error: template with C linkage 2024 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2027:3: error: template with C linkage 2027 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2034:3: error: template with C linkage 2034 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:854:3: error: template with C linkage 854 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2040:3: error: template with C linkage 2040 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:865:3: error: template with C linkage 865 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2046:3: error: template with C linkage 2046 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2052:3: error: template with C linkage 2052 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2055:3: error: template specialization with C linkage 2055 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2061:3: error: template with C linkage 2061 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:265:3: error: template with C linkage 265 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2067:3: error: template with C linkage 2067 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2075:3: error: template with C linkage 2075 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:283:3: error: template with C linkage 283 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:286:3: error: template with C linkage 286 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2084:3: error: template with C linkage 2084 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2087:3: error: template specialization with C linkage 2087 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:292:3: error: template with C linkage 292 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2093:3: error: template with C linkage 2093 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2103:3: error: template with C linkage 2103 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:313:3: error: template with C linkage 313 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2106:3: error: template with C linkage 2106 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:316:3: error: template with C linkage 316 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:323:3: error: template with C linkage 323 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:328:3: error: template with C linkage 328 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2121:3: error: template with C linkage 2121 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:342:3: error: template with C linkage 342 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:345:3: error: template with C linkage 345 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2132:3: error: template with C linkage 2132 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:352:3: error: template with C linkage 352 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2138:3: error: template with C linkage 2138 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:362:3: error: template with C linkage 362 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:370:3: error: template with C linkage 370 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:954:3: error: template with C linkage 954 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2159:3: error: template with C linkage 2159 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:378:3: error: template with C linkage 378 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2184:3: error: template with C linkage 2184 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:989:3: error: template with C linkage 989 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:393:3: error: template with C linkage 393 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2196:5: error: template with C linkage 2196 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:402:3: error: template with C linkage 402 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2222:3: error: template with C linkage 2222 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:408:3: error: template with C linkage 408 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2234:3: error: template with C linkage 2234 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:414:3: error: template with C linkage 414 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:420:3: error: template with C linkage 420 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2246:3: error: template with C linkage 2246 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:444:3: error: template with C linkage 444 | template | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:37, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:43: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:56:3: error: template with C linkage 56 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:61:3: error: template with C linkage 61 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:66:3: error: template with C linkage 66 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:71:3: error: template with C linkage 71 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:76:3: error: template with C linkage 76 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:484:3: error: template with C linkage 484 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:87:3: error: template with C linkage 87 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:490:3: error: template with C linkage 490 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:1121:3: error: template with C linkage 1121 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:114:3: error: template with C linkage 114 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:513:3: error: template with C linkage 513 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:120:3: error: template with C linkage 120 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:522:3: error: template with C linkage 522 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:129:3: error: template with C linkage 129 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:525:3: error: template with C linkage 525 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:532:3: error: template with C linkage 532 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:140:3: error: template with C linkage 140 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:537:3: error: template with C linkage 537 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:549:3: error: template with C linkage 549 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:552:3: error: template with C linkage 552 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:559:3: error: template with C linkage 559 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:1173:3: error: template with C linkage 1173 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:165:3: error: template with C linkage 165 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:1187:3: error: template with C linkage 1187 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:1194:3: error: template with C linkage 1194 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:61:5: error: template with C linkage 61 | template> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:65:5: error: template with C linkage 65 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:77:3: error: template with C linkage 77 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:81:3: error: template with C linkage 81 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:1233:3: error: template with C linkage 1233 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:210:3: error: template with C linkage 210 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:102:3: error: template with C linkage 102 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:111:3: error: template with C linkage 111 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:120:3: error: template with C linkage 120 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:132:3: error: template with C linkage 132 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:136:3: error: template with C linkage 136 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:148:3: error: template with C linkage 148 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:155:3: error: template with C linkage 155 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:265:3: error: template with C linkage 265 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:161:3: error: template with C linkage 161 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/locale_facets.tcc:1282:3: error: template with C linkage 1282 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:176:5: error: template with C linkage 176 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:286:3: error: template with C linkage 286 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:191:5: error: template with C linkage 191 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:292:3: error: template with C linkage 292 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:203:5: error: template with C linkage 203 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:313:3: error: template with C linkage 313 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:316:3: error: template with C linkage 316 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:323:3: error: template with C linkage 323 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:216:5: error: template with C linkage 216 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:328:3: error: template with C linkage 328 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:342:3: error: template with C linkage 342 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:229:5: error: template with C linkage 229 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:345:3: error: template with C linkage 345 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:234:5: error: template with C linkage 234 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:352:3: error: template with C linkage 352 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:356:3: error: template with C linkage 356 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:239:5: error: template with C linkage 239 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:362:3: error: template with C linkage 362 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:243:5: error: template with C linkage 243 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:370:3: error: template with C linkage 370 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:378:3: error: template with C linkage 378 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:393:3: error: template with C linkage 393 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:402:3: error: template with C linkage 402 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:408:3: error: template with C linkage 408 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:414:3: error: template with C linkage 414 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:420:3: error: template with C linkage 420 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:444:3: error: template with C linkage 444 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:474:7: error: template with C linkage 474 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:460:3: error: template with C linkage 460 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:482:7: error: template with C linkage 482 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:492:5: error: template with C linkage 492 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:510:5: error: template with C linkage 510 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:515:5: error: template with C linkage 515 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:484:3: error: template with C linkage 484 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:522:5: error: template with C linkage 522 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:490:3: error: template with C linkage 490 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:513:3: error: template with C linkage 513 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:522:3: error: template with C linkage 522 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:525:3: error: template with C linkage 525 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:532:3: error: template with C linkage 532 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:537:3: error: template with C linkage 537 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:549:3: error: template with C linkage 549 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:552:3: error: template with C linkage 552 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:559:3: error: template with C linkage 559 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:61:5: error: template with C linkage 61 | template> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:65:5: error: template with C linkage 65 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:77:3: error: template with C linkage 77 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:81:3: error: template with C linkage 81 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:703:5: error: template with C linkage 703 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:717:5: error: template with C linkage 717 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:738:5: error: template with C linkage 738 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:750:5: error: template with C linkage 750 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:132:3: error: template with C linkage 132 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:136:3: error: template with C linkage 136 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:759:5: error: template with C linkage 759 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:148:3: error: template with C linkage 148 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_ios.h:45:3: error: template with C linkage 45 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:155:3: error: template with C linkage 155 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_ios.h:66:3: error: template with C linkage 66 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:764:5: error: template with C linkage 764 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:161:3: error: template with C linkage 161 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:176:5: error: template with C linkage 176 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:787:5: error: template with C linkage 787 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:203:5: error: template with C linkage 203 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:797:5: error: template with C linkage 797 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:818:5: error: template with C linkage 818 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:234:5: error: template with C linkage 234 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:855:5: error: template with C linkage 855 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:863:5: error: template with C linkage 863 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:870:5: error: template with C linkage 870 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:877:5: error: template with C linkage 877 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:302:5: error: template with C linkage 302 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:474:7: error: template with C linkage 474 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:1027:5: error: template with C linkage 1027 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:482:7: error: template with C linkage 482 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:492:5: error: template with C linkage 492 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:1108:5: error: template with C linkage 1108 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:515:5: error: template with C linkage 515 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:1122:5: error: template with C linkage 1122 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:1136:5: error: template with C linkage 1136 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:1150:5: error: template with C linkage 1150 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:1162:5: error: template with C linkage 1162 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_ios.tcc:51:3: error: template with C linkage 51 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:1176:5: error: template with C linkage 1176 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_ios.tcc:61:3: error: template with C linkage 61 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:1183:5: error: template with C linkage 1183 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:1189:5: error: template with C linkage 1189 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:1195:5: error: template with C linkage 1195 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:1201:5: error: template with C linkage 1201 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_ios.tcc:112:3: error: template with C linkage 112 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_ios.tcc:124:3: error: template with C linkage 124 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/basic_ios.tcc:155:3: error: template with C linkage 155 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:703:5: error: template with C linkage 703 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:59:3: error: template with C linkage 59 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:759:5: error: template with C linkage 759 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:764:5: error: template with C linkage 764 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:774:5: error: template with C linkage 774 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:797:5: error: template with C linkage 797 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:830:5: error: template with C linkage 830 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:863:5: error: template with C linkage 863 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:870:5: error: template with C linkage 870 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:877:5: error: template with C linkage 877 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:584:3: error: template with C linkage 584 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:932:5: error: template with C linkage 932 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:643:3: error: template with C linkage 643 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:655:3: error: template with C linkage 655 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:660:3: error: template with C linkage 660 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:673:3: error: template with C linkage 673 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:678:3: error: template with C linkage 678 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:1027:5: error: template with C linkage 1027 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:733:3: error: template with C linkage 733 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:745:3: error: template with C linkage 745 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:755:3: error: template with C linkage 755 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:1108:5: error: template with C linkage 1108 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:1122:5: error: template with C linkage 1122 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:799:3: error: template with C linkage 799 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:1162:5: error: template with C linkage 1162 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:1176:5: error: template with C linkage 1176 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ostream:880: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:45:3: error: template with C linkage 45 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:1183:5: error: template with C linkage 1183 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:1189:5: error: template with C linkage 1189 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:60:3: error: template with C linkage 60 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:1195:5: error: template with C linkage 1195 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:1201:5: error: template with C linkage 1201 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:94:3: error: template with C linkage 94 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:108:3: error: template with C linkage 108 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:122:3: error: template with C linkage 122 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:151:3: error: template with C linkage 151 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:185:3: error: template with C linkage 185 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:219:3: error: template with C linkage 219 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:254:3: error: template with C linkage 254 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:266:3: error: template with C linkage 266 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:285:3: error: template with C linkage 285 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/ostream.tcc:305:3: error: template with C linkage 305 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:45: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/std_mutex.h:242:3: error: template with C linkage 242 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:46: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/unique_lock.h:58:3: error: template with C linkage 58 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/unique_lock.h:241:3: error: template with C linkage 241 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:150:3: error: template with C linkage 150 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:265:5: error: template with C linkage 265 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:271:5: error: template with C linkage 271 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:343:5: error: template with C linkage 343 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:349:5: error: template with C linkage 349 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:562:5: error: template with C linkage 562 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:577:5: error: template with C linkage 577 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_id.hpp:35:9: error: template with C linkage 35 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:631:3: error: template with C linkage 631 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:647:5: error: template with C linkage 647 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:691:3: error: template with C linkage 691 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:814:5: error: template with C linkage 814 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_id.hpp:52:33: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, const client_id&)' 52 | static inline std::ostream& operator<<( | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:45: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/std_mutex.h:242:3: error: template with C linkage 242 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:829:5: error: template with C linkage 829 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:46: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/unique_lock.h:58:3: error: template with C linkage 58 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/iostream:42, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction_id.hpp:23, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/provider.hpp:27: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:59:3: error: template with C linkage 59 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:894:3: error: template with C linkage 894 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/lock.hpp:27:5: error: template with C linkage 27 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/logger.hpp:28, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/streaming_context.hpp:24, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:26, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:35, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/wsrep_client_service.h:27: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/sstream:78:3: error: template with C linkage 78 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/unique_lock.h:241:3: error: template with C linkage 241 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:150:3: error: template with C linkage 150 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:735:3: error: template specialization with C linkage 735 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:265:5: error: template with C linkage 265 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:271:5: error: template with C linkage 271 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:740:3: error: template specialization with C linkage 740 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:745:3: error: template specialization with C linkage 745 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:751:3: error: template specialization with C linkage 751 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:343:5: error: template with C linkage 343 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:349:5: error: template with C linkage 349 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/sstream:546:3: error: template with C linkage 546 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:756:3: error: template specialization with C linkage 756 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:761:3: error: template specialization with C linkage 761 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:775:3: error: template with C linkage 775 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:840:3: error: template with C linkage 840 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/sstream:770:3: error: template with C linkage 770 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:562:5: error: template with C linkage 562 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:844:3: error: template with C linkage 844 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:577:5: error: template with C linkage 577 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:849:3: error: template with C linkage 849 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:856:3: error: template with C linkage 856 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:631:3: error: template with C linkage 631 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:860:8: error: conflicting declaration of 'void std::__istream_extract(istream&, char*, streamsize)' with 'C' linkage 860 | void __istream_extract(istream&, char*, streamsize); | ^~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:647:5: error: template with C linkage 647 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/streambuf:171:19: note: previous declaration with 'C++' linkage 171 | friend void __istream_extract(istream&, char*, streamsize); | ^~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:890:3: error: template with C linkage 890 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/sstream:994:3: error: template with C linkage 994 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:691:3: error: template with C linkage 691 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:814:5: error: template with C linkage 814 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:933:3: error: template with C linkage 933 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:939:3: error: template with C linkage 939 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:829:5: error: template with C linkage 829 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:979:3: error: template with C linkage 979 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/sstream:1202:3: error: template with C linkage 1202 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/sstream:1210:3: error: template with C linkage 1210 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/sstream:1217:3: error: template with C linkage 1217 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:1062:3: error: template with C linkage 1062 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:1078:3: error: template with C linkage 1078 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:894:3: error: template with C linkage 894 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:1094:3: error: template with C linkage 1094 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/sstream:1238: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/sstream.tcc:43:3: error: template with C linkage 43 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/lock.hpp:27:5: error: template with C linkage 27 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/sstream.tcc:77:3: error: template with C linkage 77 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/istream:1106: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:45:3: error: template with C linkage 45 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/sstream.tcc:147:3: error: template with C linkage 147 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/logger.hpp:28, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/streaming_context.hpp:24, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:26, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:35, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/wsrep_client_service.h:27: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/sstream:78:3: error: template with C linkage 78 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/sstream.tcc:165:3: error: template with C linkage 165 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:93:3: error: template with C linkage 93 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:126:3: error: template with C linkage 126 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:176:3: error: template with C linkage 176 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:226:3: error: template with C linkage 226 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:258:3: error: template with C linkage 258 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:294:3: error: template with C linkage 294 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/sstream.tcc:213:3: error: template with C linkage 213 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:331:3: error: template with C linkage 331 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:378:3: error: template with C linkage 378 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/sstream.tcc:243:3: error: template with C linkage 243 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/sstream.tcc:274:3: error: template with C linkage 274 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/sstream:546:3: error: template with C linkage 546 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:429:3: error: template with C linkage 429 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:489:3: error: template with C linkage 489 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:522:3: error: template with C linkage 522 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/sstream:770:3: error: template with C linkage 770 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:592:3: error: template with C linkage 592 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/sstream:994:3: error: template with C linkage 994 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:669:3: error: template with C linkage 669 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:699:3: error: template with C linkage 699 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/sstream:1202:3: error: template with C linkage 1202 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:728:3: error: template with C linkage 728 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/sstream:1210:3: error: template with C linkage 1210 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/sstream:1217:3: error: template with C linkage 1217 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/sstream:1224:3: error: template with C linkage 1224 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:760:3: error: template with C linkage 760 | template | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/sstream:1238: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/sstream.tcc:43:3: error: template with C linkage 43 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:795:3: error: template with C linkage 795 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/sstream.tcc:77:3: error: template with C linkage 77 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:830:3: error: template with C linkage 830 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:866:3: error: template with C linkage 866 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/sstream.tcc:147:3: error: template with C linkage 147 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:894:3: error: template with C linkage 894 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/sstream.tcc:165:3: error: template with C linkage 165 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:933:3: error: template with C linkage 933 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:973:3: error: template with C linkage 973 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:1005:3: error: template with C linkage 1005 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/logger.hpp:98:9: error: template with C linkage 98 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/istream.tcc:1068:3: error: template with C linkage 1068 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/sstream.tcc:213:3: error: template with C linkage 213 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/sstream.tcc:243:3: error: template with C linkage 243 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/sstream.tcc:274:3: error: template with C linkage 274 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction_id.hpp:38:9: error: template with C linkage 38 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction_id.hpp:57:33: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, transaction_id)' 57 | static inline std::ostream& operator<<(std::ostream& os, transaction_id id) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:69, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/set:62, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/sr_key_set.hpp:23, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:28: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ext/aligned_buffer.h:46:3: error: template with C linkage 46 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/logger.hpp:98:9: error: template with C linkage 98 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ext/aligned_buffer.h:91:3: error: template with C linkage 91 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ [ 15%] Building C object extra/readline/CMakeFiles/readline.dir/history.c.o /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:141:3: error: template with C linkage 141 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/provider.hpp:192:19: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, const ws_meta&)' 192 | std::ostream& operator<<(std::ostream& os, const wsrep::ws_meta& ws_meta); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:215:3: error: template with C linkage 215 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:247:3: error: conflicting declaration of C function 'const std::_Rb_tree_node_base* std::_Rb_tree_increment(const _Rb_tree_node_base*)' 247 | _Rb_tree_increment(const _Rb_tree_node_base* __x) throw (); | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:244:3: note: previous declaration 'std::_Rb_tree_node_base* std::_Rb_tree_increment(_Rb_tree_node_base*)' 244 | _Rb_tree_increment(_Rb_tree_node_base* __x) throw (); | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:253:3: error: conflicting declaration of C function 'const std::_Rb_tree_node_base* std::_Rb_tree_decrement(const _Rb_tree_node_base*)' 253 | _Rb_tree_decrement(const _Rb_tree_node_base* __x) throw (); | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:250:3: note: previous declaration 'std::_Rb_tree_node_base* std::_Rb_tree_decrement(_Rb_tree_node_base*)' 250 | _Rb_tree_decrement(_Rb_tree_node_base* __x) throw (); | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:255:3: error: template with C linkage 255 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:327:3: error: template with C linkage 327 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:425:3: error: template with C linkage 425 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ext/aligned_buffer.h:91:3: error: template with C linkage 91 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:141:3: error: template with C linkage 141 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:39, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:40, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/lock.hpp:23, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_service.hpp:33: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:51:3: error: template with C linkage 51 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:61:3: error: template with C linkage 61 | template> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:65:3: error: template with C linkage 65 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:72:3: error: template with C linkage 72 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:215:3: error: template with C linkage 215 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:84:3: error: template with C linkage 84 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:87:3: error: template with C linkage 87 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:247:3: error: conflicting declaration of C function 'const std::_Rb_tree_node_base* std::_Rb_tree_increment(const _Rb_tree_node_base*)' 247 | _Rb_tree_increment(const _Rb_tree_node_base* __x) throw (); | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:90:3: error: template with C linkage 90 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:244:3: note: previous declaration 'std::_Rb_tree_node_base* std::_Rb_tree_increment(_Rb_tree_node_base*)' 244 | _Rb_tree_increment(_Rb_tree_node_base* __x) throw (); | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:93:3: error: template with C linkage 93 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:253:3: error: conflicting declaration of C function 'const std::_Rb_tree_node_base* std::_Rb_tree_decrement(const _Rb_tree_node_base*)' 253 | _Rb_tree_decrement(const _Rb_tree_node_base* __x) throw (); | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:250:3: note: previous declaration 'std::_Rb_tree_node_base* std::_Rb_tree_decrement(_Rb_tree_node_base*)' 250 | _Rb_tree_decrement(_Rb_tree_node_base* __x) throw (); | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:255:3: error: template with C linkage 255 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:109:3: error: template with C linkage 109 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:113:3: error: template with C linkage 113 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:327:3: error: template with C linkage 327 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:117:3: error: template with C linkage 117 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:127:3: error: template with C linkage 127 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:137:3: error: template with C linkage 137 | template class _Predicate, | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:145:3: error: template with C linkage 145 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:425:3: error: template with C linkage 425 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:170:3: error: template with C linkage 170 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:175:3: error: template with C linkage 175 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:183:3: error: template with C linkage 183 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/uses_allocator.h:188:3: error: template with C linkage 188 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:57:3: error: template with C linkage 57 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:60:3: error: template with C linkage 60 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:64:3: error: template with C linkage 64 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:68:3: error: template with C linkage 68 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:73:3: error: template with C linkage 73 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:187:3: error: template with C linkage 187 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:250:3: error: template with C linkage 250 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:258:3: error: template with C linkage 258 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:1676:3: error: template with C linkage 1676 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:1702:3: error: template with C linkage 1702 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:1761:3: error: template with C linkage 1761 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:1810:3: error: template with C linkage 1810 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:1839:3: error: template with C linkage 1839 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:2374:3: error: template with C linkage 2374 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:1927:3: error: template with C linkage 1927 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_set.h:94:3: error: template with C linkage 94 | template, | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:2290:3: error: template with C linkage 2290 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1763:3: error: template with C linkage 1763 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:2525:3: error: template with C linkage 2525 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:2538:3: error: template with C linkage 2538 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:2551:3: error: template with C linkage 2551 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_set.h:985:3: error: template with C linkage 985 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:2566:3: error: template with C linkage 2566 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_set.h:1030:3: error: template with C linkage 1030 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1787:3: error: template with C linkage 1787 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_set.h:1037:3: error: template with C linkage 1037 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_set.h:1044:3: error: template with C linkage 1044 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1793:3: error: template with C linkage 1793 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_set.h:1051:3: error: template with C linkage 1051 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1799:3: error: template with C linkage 1799 | template | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/set:63: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_set.h:69:3: error: template with C linkage 69 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_set.h:94:3: error: template with C linkage 94 | template, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_set.h:1059:3: error: template with C linkage 1059 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1808:3: error: template with C linkage 1808 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1818:3: error: template with C linkage 1818 | template | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/set:64: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multiset.h:69:3: error: template with C linkage 69 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multiset.h:95:3: error: template with C linkage 95 | template , | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1874:3: error: template with C linkage 1874 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1893:3: error: template with C linkage 1893 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1903:3: error: template with C linkage 1903 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1945:3: error: template with C linkage 1945 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1958:3: error: template with C linkage 1958 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1964:3: error: template with C linkage 1964 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1970:3: error: template with C linkage 1970 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1976:3: error: template with C linkage 1976 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1985:3: error: template with C linkage 1985 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:1997:3: error: template with C linkage 1997 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2005:3: error: template with C linkage 2005 | template struct array; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2007:3: error: template with C linkage 2007 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2011:3: error: template with C linkage 2011 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2015:3: error: template with C linkage 2015 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2019:3: error: template with C linkage 2019 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2024:3: error: template with C linkage 2024 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2027:3: error: template with C linkage 2027 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_set.h:985:3: error: template with C linkage 985 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multiset.h:971:3: error: template with C linkage 971 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_set.h:1023:3: error: template with C linkage 1023 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2034:3: error: template with C linkage 2034 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multiset.h:1009:3: error: template with C linkage 1009 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_set.h:1030:3: error: template with C linkage 1030 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2040:3: error: template with C linkage 2040 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multiset.h:1016:3: error: template with C linkage 1016 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_set.h:1037:3: error: template with C linkage 1037 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2046:3: error: template with C linkage 2046 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multiset.h:1023:3: error: template with C linkage 1023 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_set.h:1044:3: error: template with C linkage 1044 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2052:3: error: template with C linkage 2052 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2055:3: error: template specialization with C linkage 2055 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multiset.h:1030:3: error: template with C linkage 1030 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_set.h:1051:3: error: template with C linkage 1051 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2061:3: error: template with C linkage 2061 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_set.h:1059:3: error: template with C linkage 1059 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multiset.h:1037:3: error: template with C linkage 1037 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2067:3: error: template with C linkage 2067 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multiset.h:1045:3: error: template with C linkage 1045 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2075:3: error: template with C linkage 2075 | template | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/set:64: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multiset.h:69:3: error: template with C linkage 69 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multiset.h:95:3: error: template with C linkage 95 | template , | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2084:3: error: template with C linkage 2084 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/map:63, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/sr_key_set.hpp:24: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_map.h:71:3: error: template with C linkage 71 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2087:3: error: template specialization with C linkage 2087 | template<> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_map.h:100:3: error: template with C linkage 100 | template , | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2093:3: error: template with C linkage 2093 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2103:3: error: template with C linkage 2103 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2106:3: error: template with C linkage 2106 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2121:3: error: template with C linkage 2121 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2132:3: error: template with C linkage 2132 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2138:3: error: template with C linkage 2138 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2159:3: error: template with C linkage 2159 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2184:3: error: template with C linkage 2184 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2196:5: error: template with C linkage 2196 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2222:3: error: template with C linkage 2222 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2234:3: error: template with C linkage 2234 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/tuple:2246:3: error: template with C linkage 2246 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multiset.h:971:3: error: template with C linkage 971 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:37, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:43: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:56:3: error: template with C linkage 56 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multiset.h:1009:3: error: template with C linkage 1009 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:61:3: error: template with C linkage 61 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multiset.h:1016:3: error: template with C linkage 1016 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:66:3: error: template with C linkage 66 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multiset.h:1023:3: error: template with C linkage 1023 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:71:3: error: template with C linkage 71 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multiset.h:1030:3: error: template with C linkage 1030 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:76:3: error: template with C linkage 76 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multiset.h:1037:3: error: template with C linkage 1037 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:87:3: error: template with C linkage 87 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multiset.h:1045:3: error: template with C linkage 1045 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/map:63, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/sr_key_set.hpp:24: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_map.h:71:3: error: template with C linkage 71 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:114:3: error: template with C linkage 114 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_map.h:100:3: error: template with C linkage 100 | template , | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:120:3: error: template with C linkage 120 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:129:3: error: template with C linkage 129 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:140:3: error: template with C linkage 140 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:165:3: error: template with C linkage 165 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:210:3: error: template with C linkage 210 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_map.h:1511:3: error: template with C linkage 1511 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_map.h:1549:3: error: template with C linkage 1549 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_map.h:1556:3: error: template with C linkage 1556 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_map.h:1563:3: error: template with C linkage 1563 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_map.h:1570:3: error: template with C linkage 1570 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_map.h:1577:3: error: template with C linkage 1577 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:265:3: error: template with C linkage 265 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_map.h:1585:3: error: template with C linkage 1585 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/map:64: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multimap.h:69:3: error: template with C linkage 69 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:283:3: error: template with C linkage 283 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:286:3: error: template with C linkage 286 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multimap.h:98:3: error: template with C linkage 98 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:313:3: error: template with C linkage 313 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:316:3: error: template with C linkage 316 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:323:3: error: template with C linkage 323 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:328:3: error: template with C linkage 328 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:342:3: error: template with C linkage 342 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:345:3: error: template with C linkage 345 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:352:3: error: template with C linkage 352 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:356:3: error: template with C linkage 356 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:362:3: error: template with C linkage 362 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:370:3: error: template with C linkage 370 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:393:3: error: template with C linkage 393 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:402:3: error: template with C linkage 402 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:408:3: error: template with C linkage 408 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:414:3: error: template with C linkage 414 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:420:3: error: template with C linkage 420 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_map.h:1511:3: error: template with C linkage 1511 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:444:3: error: template with C linkage 444 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_map.h:1556:3: error: template with C linkage 1556 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:460:3: error: template with C linkage 460 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_map.h:1563:3: error: template with C linkage 1563 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_map.h:1570:3: error: template with C linkage 1570 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_map.h:1577:3: error: template with C linkage 1577 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_map.h:1585:3: error: template with C linkage 1585 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:484:3: error: template with C linkage 484 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:490:3: error: template with C linkage 490 | template | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/map:64: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multimap.h:69:3: error: template with C linkage 69 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multimap.h:98:3: error: template with C linkage 98 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:522:3: error: template with C linkage 522 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:525:3: error: template with C linkage 525 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:532:3: error: template with C linkage 532 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:537:3: error: template with C linkage 537 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:549:3: error: template with C linkage 549 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:552:3: error: template with C linkage 552 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multimap.h:1132:3: error: template with C linkage 1132 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ratio:559:3: error: template with C linkage 559 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multimap.h:1170:3: error: template with C linkage 1170 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multimap.h:1177:3: error: template with C linkage 1177 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multimap.h:1184:3: error: template with C linkage 1184 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:61:5: error: template with C linkage 61 | template> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:65:5: error: template with C linkage 65 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multimap.h:1191:3: error: template with C linkage 1191 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:77:3: error: template with C linkage 77 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multimap.h:1198:3: error: template with C linkage 1198 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:81:3: error: template with C linkage 81 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multimap.h:1206:3: error: template with C linkage 1206 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:102:3: error: template with C linkage 102 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:111:3: error: template with C linkage 111 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:120:3: error: template with C linkage 120 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:132:3: error: template with C linkage 132 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:136:3: error: template with C linkage 136 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:148:3: error: template with C linkage 148 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:155:3: error: template with C linkage 155 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:161:3: error: template with C linkage 161 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:176:5: error: template with C linkage 176 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multimap.h:1132:3: error: template with C linkage 1132 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:203:5: error: template with C linkage 203 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multimap.h:1170:3: error: template with C linkage 1170 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multimap.h:1177:3: error: template with C linkage 1177 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:216:5: error: template with C linkage 216 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multimap.h:1184:3: error: template with C linkage 1184 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:229:5: error: template with C linkage 229 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multimap.h:1191:3: error: template with C linkage 1191 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:234:5: error: template with C linkage 234 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multimap.h:1198:3: error: template with C linkage 1198 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:239:5: error: template with C linkage 239 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:243:5: error: template with C linkage 243 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multimap.h:1206:3: error: template with C linkage 1206 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:270:5: error: template with C linkage 270 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:302:5: error: template with C linkage 302 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:474:7: error: template with C linkage 474 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:482:7: error: template with C linkage 482 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:492:5: error: template with C linkage 492 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:510:5: error: template with C linkage 510 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:515:5: error: template with C linkage 515 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:522:5: error: template with C linkage 522 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:703:5: error: template with C linkage 703 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:759:5: error: template with C linkage 759 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:764:5: error: template with C linkage 764 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:774:5: error: template with C linkage 774 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:797:5: error: template with C linkage 797 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:30: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/xid.hpp:99:30: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, const xid&)' 99 | friend std::ostream& operator<<(std::ostream& os, const wsrep::xid& xid); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:1027:5: error: template with C linkage 1027 | template | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:30: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/xid.hpp:99:30: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, const xid&)' 99 | friend std::ostream& operator<<(std::ostream& os, const wsrep::xid& xid); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:1108:5: error: template with C linkage 1108 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:1162:5: error: template with C linkage 1162 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:1176:5: error: template with C linkage 1176 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:1183:5: error: template with C linkage 1183 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:1189:5: error: template with C linkage 1189 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/xid.hpp:108:19: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, const xid&)' 108 | std::ostream& operator<<(std::ostream& os, const wsrep::xid& xid); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/xid.hpp:108:19: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, const xid&)' 108 | std::ostream& operator<<(std::ostream& os, const wsrep::xid& xid); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:1195:5: error: template with C linkage 1195 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/chrono.h:1201:5: error: template with C linkage 1201 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:316:31: error: conflicting declaration of C function 'std::string wsrep::to_string(transaction::state)' 316 | static inline std::string to_string(enum wsrep::transaction::state state) | ^~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/xid.hpp:107:17: note: previous declaration 'std::string wsrep::to_string(const xid&)' 107 | std::string to_string(const wsrep::xid& xid); | ^~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:321:19: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, transaction::state)' 321 | std::ostream& operator<<(std::ostream& os, enum wsrep::transaction::state); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:40: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/thread.hpp:34:25: warning: conflicting C language linkage declaration 'bool wsrep::operator==(thread::id, thread::id)' 34 | friend bool operator==(thread::id left, thread::id right) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/thread.hpp:38:34: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, const thread::id&)' 38 | friend std::ostream& operator<<(std::ostream&, const id&); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/thread.hpp:54:19: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, const thread::id&)' 54 | std::ostream& operator<<(std::ostream&, const thread::id&); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:316:31: error: conflicting declaration of C function 'std::string wsrep::to_string(transaction::state)' 316 | static inline std::string to_string(enum wsrep::transaction::state state) | ^~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/xid.hpp:107:17: note: previous declaration 'std::string wsrep::to_string(const xid&)' 107 | std::string to_string(const wsrep::xid& xid); | ^~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:63:31: error: conflicting declaration of C function 'const char* wsrep::to_c_string(client_error)' 63 | static inline const char* to_c_string(enum client_error error) | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:296:31: note: previous declaration 'const char* wsrep::to_c_string(transaction::state)' 296 | static inline const char* to_c_string(enum wsrep::transaction::state state) | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:321:19: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, transaction::state)' 321 | std::ostream& operator<<(std::ostream& os, enum wsrep::transaction::state); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:79:31: error: conflicting declaration of C function 'std::string wsrep::to_string(client_error)' 79 | static inline std::string to_string(enum client_error error) | ^~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/xid.hpp:107:17: note: previous declaration 'std::string wsrep::to_string(const xid&)' 107 | std::string to_string(const wsrep::xid& xid); | ^~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp: In function 'std::string wsrep::to_string(client_error)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:81:28: error: cannot convert 'wsrep::client_error' to 'wsrep::transaction::state' 81 | return to_c_string(error); | ^~~~~ | | | wsrep::client_error /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:296:74: note: initializing argument 1 of 'const char* wsrep::to_c_string(transaction::state)' 296 | static inline const char* to_c_string(enum wsrep::transaction::state state) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:40: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/thread.hpp:34:25: warning: conflicting C language linkage declaration 'bool wsrep::operator==(thread::id, thread::id)' 34 | friend bool operator==(thread::id left, thread::id right) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/thread.hpp:38:34: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, const thread::id&)' 38 | friend std::ostream& operator<<(std::ostream&, const id&); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ [ 16%] Building C object libmariadb/libmariadb/CMakeFiles/mariadb_obj.dir/ma_stmt_codec.c.o /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/thread.hpp:54:19: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, const thread::id&)' 54 | std::ostream& operator<<(std::ostream&, const thread::id&); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:63:31: error: conflicting declaration of C function 'const char* wsrep::to_c_string(client_error)' 63 | static inline const char* to_c_string(enum client_error error) | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:296:31: note: previous declaration 'const char* wsrep::to_c_string(transaction::state)' 296 | static inline const char* to_c_string(enum wsrep::transaction::state state) | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:79:31: error: conflicting declaration of C function 'std::string wsrep::to_string(client_error)' 79 | static inline std::string to_string(enum client_error error) | ^~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/xid.hpp:107:17: note: previous declaration 'std::string wsrep::to_string(const xid&)' 107 | std::string to_string(const wsrep::xid& xid); | ^~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp: In function 'std::string wsrep::to_string(client_error)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:81:28: error: cannot convert 'wsrep::client_error' to 'wsrep::transaction::state' 81 | return to_c_string(error); | ^~~~~ | | | wsrep::client_error /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:296:74: note: initializing argument 1 of 'const char* wsrep::to_c_string(transaction::state)' 296 | static inline const char* to_c_string(enum wsrep::transaction::state state) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:45: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/std_mutex.h:242:3: error: template with C linkage 242 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:46: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/unique_lock.h:58:3: error: template with C linkage 58 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/unique_lock.h:241:3: error: template with C linkage 241 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ make[3]: *** [plugin/disks/CMakeFiles/disks.dir/build.make:76: plugin/disks/CMakeFiles/disks.dir/information_schema_disks.cc.o] Error 1 make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[2]: *** [CMakeFiles/Makefile2:3985: plugin/disks/CMakeFiles/disks.dir/all] Error 2 /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:150:3: error: template with C linkage 150 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:265:5: error: template with C linkage 265 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:271:5: error: template with C linkage 271 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:343:5: error: template with C linkage 343 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:349:5: error: template with C linkage 349 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp: At global scope: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:1021:31: error: conflicting declaration of C function 'const char* wsrep::to_c_string(client_state::state)' 1021 | static inline const char* to_c_string( | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:296:31: note: previous declaration 'const char* wsrep::to_c_string(transaction::state)' 296 | static inline const char* to_c_string(enum wsrep::transaction::state state) | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:1035:31: error: conflicting declaration of C function 'std::string wsrep::to_string(client_state::state)' 1035 | static inline std::string to_string(enum wsrep::client_state::state state) | ^~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/xid.hpp:107:17: note: previous declaration 'std::string wsrep::to_string(const xid&)' 107 | std::string to_string(const wsrep::xid& xid); | ^~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp: In function 'std::string wsrep::to_string(client_state::state)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:1037:28: error: cannot convert 'wsrep::client_state::state' to 'wsrep::transaction::state' 1037 | return to_c_string(state); | ^~~~~ | | | wsrep::client_state::state /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:296:74: note: initializing argument 1 of 'const char* wsrep::to_c_string(transaction::state)' 296 | static inline const char* to_c_string(enum wsrep::transaction::state state) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:562:5: error: template with C linkage 562 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp: At global scope: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:1040:31: error: conflicting declaration of C function 'const char* wsrep::to_c_string(client_state::mode)' 1040 | static inline const char* to_c_string(enum wsrep::client_state::mode mode) | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:296:31: note: previous declaration 'const char* wsrep::to_c_string(transaction::state)' 296 | static inline const char* to_c_string(enum wsrep::transaction::state state) | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:577:5: error: template with C linkage 577 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:1054:31: error: conflicting declaration of C function 'std::string wsrep::to_string(client_state::mode)' 1054 | static inline std::string to_string(enum wsrep::client_state::mode mode) | ^~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/xid.hpp:107:17: note: previous declaration 'std::string wsrep::to_string(const xid&)' 107 | std::string to_string(const wsrep::xid& xid); | ^~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:631:3: error: template with C linkage 631 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp: In function 'std::string wsrep::to_string(client_state::mode)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:1056:28: error: cannot convert 'wsrep::client_state::mode' to 'wsrep::transaction::state' 1056 | return to_c_string(mode); | ^~~~ | | | wsrep::client_state::mode /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:296:74: note: initializing argument 1 of 'const char* wsrep::to_c_string(transaction::state)' 296 | static inline const char* to_c_string(enum wsrep::transaction::state state) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:647:5: error: template with C linkage 647 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:691:3: error: template with C linkage 691 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:814:5: error: template with C linkage 814 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:829:5: error: template with C linkage 829 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ [ 16%] Building C object libmariadb/libmariadb/CMakeFiles/mariadb_obj.dir/ma_string.c.o /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/mutex:894:3: error: template with C linkage 894 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp: At global scope: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:1021:31: error: conflicting declaration of C function 'const char* wsrep::to_c_string(client_state::state)' 1021 | static inline const char* to_c_string( | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:296:31: note: previous declaration 'const char* wsrep::to_c_string(transaction::state)' 296 | static inline const char* to_c_string(enum wsrep::transaction::state state) | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/lock.hpp:27:5: error: template with C linkage 27 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:1035:31: error: conflicting declaration of C function 'std::string wsrep::to_string(client_state::state)' 1035 | static inline std::string to_string(enum wsrep::client_state::state state) | ^~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/xid.hpp:107:17: note: previous declaration 'std::string wsrep::to_string(const xid&)' 107 | std::string to_string(const wsrep::xid& xid); | ^~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp: In function 'std::string wsrep::to_string(client_state::state)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:1037:28: error: cannot convert 'wsrep::client_state::state' to 'wsrep::transaction::state' 1037 | return to_c_string(state); | ^~~~~ | | | wsrep::client_state::state /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:296:74: note: initializing argument 1 of 'const char* wsrep::to_c_string(transaction::state)' 296 | static inline const char* to_c_string(enum wsrep::transaction::state state) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp: At global scope: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:1040:31: error: conflicting declaration of C function 'const char* wsrep::to_c_string(client_state::mode)' 1040 | static inline const char* to_c_string(enum wsrep::client_state::mode mode) | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:296:31: note: previous declaration 'const char* wsrep::to_c_string(transaction::state)' 296 | static inline const char* to_c_string(enum wsrep::transaction::state state) | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:1054:31: error: conflicting declaration of C function 'std::string wsrep::to_string(client_state::mode)' 1054 | static inline std::string to_string(enum wsrep::client_state::mode mode) | ^~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/xid.hpp:107:17: note: previous declaration 'std::string wsrep::to_string(const xid&)' 107 | std::string to_string(const wsrep::xid& xid); | ^~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp: In function 'std::string wsrep::to_string(client_state::mode)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:1056:28: error: cannot convert 'wsrep::client_state::mode' to 'wsrep::transaction::state' 1056 | return to_c_string(mode); | ^~~~ | | | wsrep::client_state::mode /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:296:74: note: initializing argument 1 of 'const char* wsrep::to_c_string(transaction::state)' 296 | static inline const char* to_c_string(enum wsrep::transaction::state state) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/logger.hpp:28, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/streaming_context.hpp:24, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:26, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:35, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/wsrep_client_service.h:27: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/sstream:78:3: error: template with C linkage 78 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/sstream:546:3: error: template with C linkage 546 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/sstream:770:3: error: template with C linkage 770 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/sstream:994:3: error: template with C linkage 994 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/sstream:1202:3: error: template with C linkage 1202 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/sstream:1210:3: error: template with C linkage 1210 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/sstream:1217:3: error: template with C linkage 1217 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/sstream:1224:3: error: template with C linkage 1224 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/sstream:1238: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/sstream.tcc:43:3: error: template with C linkage 43 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/sstream.tcc:77:3: error: template with C linkage 77 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ [ 16%] Building CXX object plugin/handler_socket/CMakeFiles/hsclient.dir/libhsclient/string_util.cpp.o /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/sstream.tcc:147:3: error: template with C linkage 147 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/sstream.tcc:165:3: error: template with C linkage 165 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/sstream.tcc:213:3: error: template with C linkage 213 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/sstream.tcc:243:3: error: template with C linkage 243 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/sstream.tcc:274:3: error: template with C linkage 274 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_lex.h:28, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:660: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/grant.h: In member function 'void Grant_privilege::add_object_privilege(privilege_t)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/grant.h:85:23: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 85 | m_object_privilege|= privilege; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ | | | long long unsigned int /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/logger.hpp:98:9: error: template with C linkage 98 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_lex.h:28, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:660: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/grant.h: In member function 'void Grant_privilege::add_object_privilege(privilege_t)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/grant.h:85:23: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 85 | m_object_privilege|= privilege; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ | | | long long unsigned int In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:69, from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/set:62, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/sr_key_set.hpp:23, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:28: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ext/aligned_buffer.h:46:3: error: template with C linkage 46 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/ext/aligned_buffer.h:91:3: error: template with C linkage 91 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:141:3: error: template with C linkage 141 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_window.h:20, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_lex.h:31: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/filesort.h: At global scope: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/filesort.h:222:3: error: template with C linkage 222 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:215:3: error: template with C linkage 215 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:247:3: error: conflicting declaration of C function 'const std::_Rb_tree_node_base* std::_Rb_tree_increment(const _Rb_tree_node_base*)' 247 | _Rb_tree_increment(const _Rb_tree_node_base* __x) throw (); | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:244:3: note: previous declaration 'std::_Rb_tree_node_base* std::_Rb_tree_increment(_Rb_tree_node_base*)' 244 | _Rb_tree_increment(_Rb_tree_node_base* __x) throw (); | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:253:3: error: conflicting declaration of C function 'const std::_Rb_tree_node_base* std::_Rb_tree_decrement(const _Rb_tree_node_base*)' 253 | _Rb_tree_decrement(const _Rb_tree_node_base* __x) throw (); | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:250:3: note: previous declaration 'std::_Rb_tree_node_base* std::_Rb_tree_decrement(_Rb_tree_node_base*)' 250 | _Rb_tree_decrement(_Rb_tree_node_base* __x) throw (); | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:255:3: error: template with C linkage 255 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:327:3: error: template with C linkage 327 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:425:3: error: template with C linkage 425 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_lex.h:33: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sp.h:45:1: error: template with C linkage 45 | template class SQL_I_List; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_lex.h:33: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sp.h:45:1: error: template with C linkage 45 | template class SQL_I_List; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sp.h:647:6: error: conflicting declaration of C function 'void sp_update_stmt_used_routines(THD*, Query_tables_list*, SQL_I_List*, TABLE_LIST*)' 647 | void sp_update_stmt_used_routines(THD *thd, Query_tables_list *prelocking_ctx, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sp.h:645:6: note: previous declaration 'void sp_update_stmt_used_routines(THD*, Query_tables_list*, HASH*, TABLE_LIST*)' 645 | void sp_update_stmt_used_routines(THD *thd, Query_tables_list *prelocking_ctx, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:1676:3: error: template with C linkage 1676 | template*, TABLE_LIST*)' 647 | void sp_update_stmt_used_routines(THD *thd, Query_tables_list *prelocking_ctx, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sp.h:645:6: note: previous declaration 'void sp_update_stmt_used_routines(THD*, Query_tables_list*, HASH*, TABLE_LIST*)' 645 | void sp_update_stmt_used_routines(THD *thd, Query_tables_list *prelocking_ctx, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:1748:3: error: template with C linkage 1748 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:1959:3: error: template with C linkage 1959 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_tree.h:2184:3: error: template with C linkage 2184 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_set.h:94:3: error: template with C linkage 94 | template, | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ [ 16%] Building C object extra/readline/CMakeFiles/readline.dir/histsearch.c.o /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:798:27: error: conflicting declaration of C function 'item_base_t operator&(item_base_t, item_base_t)' 798 | static inline item_base_t operator&(const item_base_t a, const item_base_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:188:37: note: previous declaration 'constexpr privilege_t operator&(privilege_t, privilege_t)' 188 | static inline constexpr privilege_t operator&(privilege_t a, privilege_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:803:29: error: conflicting declaration of C function 'item_base_t& operator&=(item_base_t&, item_base_t)' 803 | static inline item_base_t & operator&=(item_base_t &a, item_base_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:212:28: note: previous declaration 'privilege_t& operator&=(privilege_t&, privilege_t)' 212 | static inline privilege_t& operator&=(privilege_t &a, privilege_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:809:27: error: conflicting declaration of C function 'item_base_t operator|(item_base_t, item_base_t)' 809 | static inline item_base_t operator|(const item_base_t a, const item_base_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:2973:31: note: previous declaration 'my_repertoire_t operator|(my_repertoire_t, my_repertoire_t)' 2973 | static inline my_repertoire_t operator|(const my_repertoire_t a, | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:814:29: error: conflicting declaration of C function 'item_base_t& operator|=(item_base_t&, item_base_t)' 814 | static inline item_base_t & operator|=(item_base_t &a, item_base_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:2979:32: note: previous declaration 'my_repertoire_t& operator|=(my_repertoire_t&, my_repertoire_t)' 2979 | static inline my_repertoire_t &operator|=(my_repertoire_t &a, | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:820:27: error: conflicting declaration of C function 'item_base_t operator~(item_base_t)' 820 | static inline item_base_t operator~(const item_base_t a) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:133:35: note: previous declaration 'constexpr ulonglong operator~(privilege_t)' 133 | static inline constexpr ulonglong operator~(privilege_t access) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:825:27: error: conflicting declaration of C function 'item_with_t operator&(item_with_t, item_with_t)' 825 | static inline item_with_t operator&(const item_with_t a, const item_with_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:188:37: note: previous declaration 'constexpr privilege_t operator&(privilege_t, privilege_t)' 188 | static inline constexpr privilege_t operator&(privilege_t a, privilege_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:830:29: error: conflicting declaration of C function 'item_with_t& operator&=(item_with_t&, item_with_t)' 830 | static inline item_with_t & operator&=(item_with_t &a, item_with_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:212:28: note: previous declaration 'privilege_t& operator&=(privilege_t&, privilege_t)' 212 | static inline privilege_t& operator&=(privilege_t &a, privilege_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:836:27: error: conflicting declaration of C function 'item_with_t operator|(item_with_t, item_with_t)' 836 | static inline item_with_t operator|(const item_with_t a, const item_with_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:2973:31: note: previous declaration 'my_repertoire_t operator|(my_repertoire_t, my_repertoire_t)' 2973 | static inline my_repertoire_t operator|(const my_repertoire_t a, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_set.h:985:3: error: template with C linkage 985 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:841:29: error: conflicting declaration of C function 'item_with_t& operator|=(item_with_t&, item_with_t)' 841 | static inline item_with_t & operator|=(item_with_t &a, item_with_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_set.h:1023:3: error: template with C linkage 1023 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:2979:32: note: previous declaration 'my_repertoire_t& operator|=(my_repertoire_t&, my_repertoire_t)' 2979 | static inline my_repertoire_t &operator|=(my_repertoire_t &a, | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_set.h:1030:3: error: template with C linkage 1030 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:847:27: error: conflicting declaration of C function 'item_with_t operator~(item_with_t)' 847 | static inline item_with_t operator~(const item_with_t a) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:133:35: note: previous declaration 'constexpr ulonglong operator~(privilege_t)' 133 | static inline constexpr ulonglong operator~(privilege_t access) | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_set.h:1037:3: error: template with C linkage 1037 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_set.h:1044:3: error: template with C linkage 1044 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_set.h:1051:3: error: template with C linkage 1051 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_set.h:1059:3: error: template with C linkage 1059 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/set:64: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multiset.h:69:3: error: template with C linkage 69 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multiset.h:95:3: error: template with C linkage 95 | template , | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multiset.h:971:3: error: template with C linkage 971 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multiset.h:1009:3: error: template with C linkage 1009 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multiset.h:1016:3: error: template with C linkage 1016 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multiset.h:1023:3: error: template with C linkage 1023 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multiset.h:1030:3: error: template with C linkage 1030 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multiset.h:1037:3: error: template with C linkage 1037 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multiset.h:1045:3: error: template with C linkage 1045 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/map:63, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/sr_key_set.hpp:24: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_map.h:71:3: error: template with C linkage 71 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_map.h:100:3: error: template with C linkage 100 | template , | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::maybe_null() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1071:31: error: no match for 'operator&' (operand types are 'const item_base_t' and 'item_base_t') 1071 | { return (bool) (base_flags & item_base_t::MAYBE_NULL); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | const item_base_t item_base_t /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_map.h:1511:3: error: template with C linkage 1511 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::in_rollup() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1073:31: error: no match for 'operator&' (operand types are 'const item_base_t' and 'item_base_t') 1073 | { return (bool) (base_flags & item_base_t::IN_ROLLUP); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~ | | | | const item_base_t item_base_t /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_map.h:1549:3: error: template with C linkage 1549 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::fixed() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1075:31: error: no match for 'operator&' (operand types are 'const item_base_t' and 'item_base_t') 1075 | { return (bool) (base_flags & item_base_t::FIXED); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ | | | | const item_base_t item_base_t /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_map.h:1556:3: error: template with C linkage 1556 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::is_explicit_name() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1077:31: error: no match for 'operator&' (operand types are 'const item_base_t' and 'item_base_t') 1077 | { return (bool) (base_flags & item_base_t::IS_EXPLICIT_NAME); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | const item_base_t item_base_t /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_map.h:1563:3: error: template with C linkage 1563 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::is_in_with_cycle() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1079:31: error: no match for 'operator&' (operand types are 'const item_base_t' and 'item_base_t') 1079 | { return (bool) (base_flags & item_base_t::IS_IN_WITH_CYCLE); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | const item_base_t item_base_t /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_map.h:1570:3: error: template with C linkage 1570 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::with_sp_var() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1082:31: error: no match for 'operator&' (operand types are 'const item_with_t' and 'item_with_t') 1082 | { return (bool) (with_flags & item_with_t::SP_VAR); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~ | | | | const item_with_t item_with_t /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_map.h:1577:3: error: template with C linkage 1577 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::with_window_func() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1084:31: error: no match for 'operator&' (operand types are 'const item_with_t' and 'item_with_t') 1084 | { return (bool) (with_flags & item_with_t::WINDOW_FUNC); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ | | | | const item_with_t item_with_t /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_map.h:1585:3: error: template with C linkage 1585 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::with_field() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1086:31: error: no match for 'operator&' (operand types are 'const item_with_t' and 'item_with_t') 1086 | { return (bool) (with_flags & item_with_t::FIELD); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ | | | | const item_with_t item_with_t In file included from /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/map:64: /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multimap.h:69:3: error: template with C linkage 69 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::with_sum_func() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1088:31: error: no match for 'operator&' (operand types are 'const item_with_t' and 'item_with_t') 1088 | { return (bool) (with_flags & item_with_t::SUM_FUNC); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~ | | | | const item_with_t item_with_t /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multimap.h:98:3: error: template with C linkage 98 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::with_sp_var() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1082:31: error: no match for 'operator&' (operand types are 'const item_with_t' and 'item_with_t') 1082 | { return (bool) (with_flags & item_with_t::SP_VAR); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~ | | | | const item_with_t item_with_t /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multimap.h:1170:3: error: template with C linkage 1170 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multimap.h:1177:3: error: template with C linkage 1177 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::with_window_func() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1084:31: error: no match for 'operator&' (operand types are 'const item_with_t' and 'item_with_t') 1084 | { return (bool) (with_flags & item_with_t::WINDOW_FUNC); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ | | | | const item_with_t item_with_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multimap.h:1184:3: error: template with C linkage 1184 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::with_field() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1086:31: error: no match for 'operator&' (operand types are 'const item_with_t' and 'item_with_t') 1086 | { return (bool) (with_flags & item_with_t::FIELD); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ | | | | const item_with_t item_with_t /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multimap.h:1191:3: error: template with C linkage 1191 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::with_sum_func() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1088:31: error: no match for 'operator&' (operand types are 'const item_with_t' and 'item_with_t') 1088 | { return (bool) (with_flags & item_with_t::SUM_FUNC); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~ | | | | const item_with_t item_with_t /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multimap.h:1198:3: error: template with C linkage 1198 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/opt/ext-toolchain/riscv32-buildroot-linux-gnu/include/c++/13.2.0/bits/stl_multimap.h:1206:3: error: template with C linkage 1206 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::with_subquery() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1090:31: error: no match for 'operator&' (operand types are 'const item_with_t' and 'item_with_t') 1090 | { return (bool) (with_flags & item_with_t::SUBQUERY); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~ | | | | const item_with_t item_with_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::with_rownum_func() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1092:31: error: no match for 'operator&' (operand types are 'const item_with_t' and 'item_with_t') 1092 | { return (bool) (with_flags & item_with_t::ROWNUM_FUNC); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ | | | | const item_with_t item_with_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::with_param() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1094:31: error: no match for 'operator&' (operand types are 'const item_with_t' and 'item_with_t') 1094 | { return (bool) (with_flags & item_with_t::PARAM); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ | | | | const item_with_t item_with_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'void Item::set_maybe_null(bool)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1321:47: error: no match for 'operator~' (operand type is 'item_base_t') 1321 | base_flags= ((item_base_t) ((base_flags & ~item_base_t::MAYBE_NULL)) | | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'void Item::set_maybe_null()': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1328:15: error: no match for 'operator|=' (operand types are 'item_base_t' and 'item_base_t') 1328 | base_flags|= item_base_t::MAYBE_NULL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'virtual void Item::top_level_item()': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1347:15: error: no match for 'operator|=' (operand types are 'item_base_t' and 'item_base_t') 1347 | base_flags|= item_base_t::AT_TOP_LEVEL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::is_top_level_item() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1353:31: error: no match for 'operator&' (operand types are 'const item_base_t' and 'item_base_t') 1353 | { return (bool) (base_flags & item_base_t::AT_TOP_LEVEL); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | const item_base_t item_base_t In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:30: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/xid.hpp:99:30: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, const xid&)' 99 | friend std::ostream& operator<<(std::ostream& os, const wsrep::xid& xid); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: At global scope: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:2727:1: error: template with C linkage 2727 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/xid.hpp:108:19: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, const xid&)' 108 | std::ostream& operator<<(std::ostream& os, const wsrep::xid& xid); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In constructor 'Item_fixed_hybrid::Item_fixed_hybrid(THD*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:2934:18: error: no match for 'operator~' (operand type is 'item_base_t') 2934 | base_flags&= ~item_base_t::FIXED; | ^~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In constructor 'Item_fixed_hybrid::Item_fixed_hybrid(THD*, Item_fixed_hybrid*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:2939:36: error: no match for 'operator&' (operand types are 'item_base_t' and 'item_base_t') 2939 | base_flags|= (item->base_flags & item_base_t::FIXED); | ~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ | | | | item_base_t item_base_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: At global scope: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:2727:1: error: template with C linkage 2727 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'virtual bool Item_fixed_hybrid::fix_fields(THD*, Item**)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:2944:15: error: no match for 'operator|=' (operand types are 'item_base_t' and 'item_base_t') 2944 | base_flags|= item_base_t::FIXED; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'virtual void Item_fixed_hybrid::cleanup()': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:2950:18: error: no match for 'operator~' (operand type is 'item_base_t') 2950 | base_flags&= ~item_base_t::FIXED; | ^~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'virtual void Item_fixed_hybrid::quick_fix_field()': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:2953:15: error: no match for 'operator|=' (operand types are 'item_base_t' and 'item_base_t') 2953 | { base_flags|= item_base_t::FIXED; } | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'virtual void Item_fixed_hybrid::unfix_fields()': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:2955:18: error: no match for 'operator~' (operand type is 'item_base_t') 2955 | { base_flags&= ~item_base_t::FIXED; } | ^~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:316:31: error: conflicting declaration of C function 'std::string wsrep::to_string(transaction::state)' 316 | static inline std::string to_string(enum wsrep::transaction::state state) | ^~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/xid.hpp:107:17: note: previous declaration 'std::string wsrep::to_string(const xid&)' 107 | std::string to_string(const wsrep::xid& xid); | ^~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:321:19: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, transaction::state)' 321 | std::ostream& operator<<(std::ostream& os, enum wsrep::transaction::state); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:40: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/thread.hpp:34:25: warning: conflicting C language linkage declaration 'bool wsrep::operator==(thread::id, thread::id)' 34 | friend bool operator==(thread::id left, thread::id right) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:146:20: note: previous declaration 'bool operator==(privilege_t, ulonglong)' 146 | static inline bool operator==(privilege_t, ulonglong)= delete; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/thread.hpp:38:34: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, const thread::id&)' 38 | friend std::ostream& operator<<(std::ostream&, const id&); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In constructor 'Item_fixed_hybrid::Item_fixed_hybrid(THD*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:2934:18: error: no match for 'operator~' (operand type is 'item_base_t') 2934 | base_flags&= ~item_base_t::FIXED; | ^~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/thread.hpp:54:19: error: conflicting declaration of C function 'std::ostream& wsrep::operator<<(std::ostream&, const thread::id&)' 54 | std::ostream& operator<<(std::ostream&, const thread::id&); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/id.hpp:101:19: note: previous declaration 'std::ostream& wsrep::operator<<(std::ostream&, const id&)' 101 | std::ostream& operator<<(std::ostream&, const wsrep::id& id); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:63:31: error: conflicting declaration of C function 'const char* wsrep::to_c_string(client_error)' 63 | static inline const char* to_c_string(enum client_error error) | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:296:31: note: previous declaration 'const char* wsrep::to_c_string(transaction::state)' 296 | static inline const char* to_c_string(enum wsrep::transaction::state state) | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In constructor 'Item_fixed_hybrid::Item_fixed_hybrid(THD*, Item_fixed_hybrid*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:2939:36: error: no match for 'operator&' (operand types are 'item_base_t' and 'item_base_t') 2939 | base_flags|= (item->base_flags & item_base_t::FIXED); | ~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ | | | | item_base_t item_base_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:79:31: error: conflicting declaration of C function 'std::string wsrep::to_string(client_error)' 79 | static inline std::string to_string(enum client_error error) | ^~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/xid.hpp:107:17: note: previous declaration 'std::string wsrep::to_string(const xid&)' 107 | std::string to_string(const wsrep::xid& xid); | ^~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp: In function 'std::string wsrep::to_string(client_error)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:81:28: error: cannot convert 'wsrep::client_error' to 'wsrep::transaction::state' 81 | return to_c_string(error); | ^~~~~ | | | wsrep::client_error /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:296:74: note: initializing argument 1 of 'const char* wsrep::to_c_string(transaction::state)' 296 | static inline const char* to_c_string(enum wsrep::transaction::state state) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'virtual bool Item_fixed_hybrid::fix_fields(THD*, Item**)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:2944:15: error: no match for 'operator|=' (operand types are 'item_base_t' and 'item_base_t') 2944 | base_flags|= item_base_t::FIXED; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'virtual void Item_fixed_hybrid::cleanup()': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:2950:18: error: no match for 'operator~' (operand type is 'item_base_t') 2950 | base_flags&= ~item_base_t::FIXED; | ^~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'virtual void Item_fixed_hybrid::quick_fix_field()': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:2953:15: error: no match for 'operator|=' (operand types are 'item_base_t' and 'item_base_t') 2953 | { base_flags|= item_base_t::FIXED; } | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'virtual void Item_fixed_hybrid::unfix_fields()': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:2955:18: error: no match for 'operator~' (operand type is 'item_base_t') 2955 | { base_flags&= ~item_base_t::FIXED; } | ^~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp: At global scope: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:1021:31: error: conflicting declaration of C function 'const char* wsrep::to_c_string(client_state::state)' 1021 | static inline const char* to_c_string( | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:296:31: note: previous declaration 'const char* wsrep::to_c_string(transaction::state)' 296 | static inline const char* to_c_string(enum wsrep::transaction::state state) | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:1035:31: error: conflicting declaration of C function 'std::string wsrep::to_string(client_state::state)' 1035 | static inline std::string to_string(enum wsrep::client_state::state state) | ^~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/xid.hpp:107:17: note: previous declaration 'std::string wsrep::to_string(const xid&)' 107 | std::string to_string(const wsrep::xid& xid); | ^~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp: In function 'std::string wsrep::to_string(client_state::state)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:1037:28: error: cannot convert 'wsrep::client_state::state' to 'wsrep::transaction::state' 1037 | return to_c_string(state); | ^~~~~ | | | wsrep::client_state::state /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:296:74: note: initializing argument 1 of 'const char* wsrep::to_c_string(transaction::state)' 296 | static inline const char* to_c_string(enum wsrep::transaction::state state) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp: At global scope: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:1040:31: error: conflicting declaration of C function 'const char* wsrep::to_c_string(client_state::mode)' 1040 | static inline const char* to_c_string(enum wsrep::client_state::mode mode) | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:296:31: note: previous declaration 'const char* wsrep::to_c_string(transaction::state)' 296 | static inline const char* to_c_string(enum wsrep::transaction::state state) | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:1054:31: error: conflicting declaration of C function 'std::string wsrep::to_string(client_state::mode)' 1054 | static inline std::string to_string(enum wsrep::client_state::mode mode) | ^~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/xid.hpp:107:17: note: previous declaration 'std::string wsrep::to_string(const xid&)' 107 | std::string to_string(const wsrep::xid& xid); | ^~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp: In function 'std::string wsrep::to_string(client_state::mode)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/client_state.hpp:1056:28: error: cannot convert 'wsrep::client_state::mode' to 'wsrep::transaction::state' 1056 | return to_c_string(mode); | ^~~~ | | | wsrep::client_state::mode /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/wsrep-lib/include/wsrep/transaction.hpp:296:74: note: initializing argument 1 of 'const char* wsrep::to_c_string(transaction::state)' 296 | static inline const char* to_c_string(enum wsrep::transaction::state state) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ [ 16%] Building C object libmariadb/libmariadb/CMakeFiles/mariadb_obj.dir/ma_dtoa.c.o In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_lex.h:28, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:660: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/grant.h: In member function 'void Grant_privilege::add_object_privilege(privilege_t)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/grant.h:85:23: error: invalid conversion from 'long long unsigned int' to 'privilege_t' [-fpermissive] 85 | m_object_privilege|= privilege; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ | | | long long unsigned int In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_window.h:20, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_lex.h:31: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/filesort.h: At global scope: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/filesort.h:222:3: error: template with C linkage 222 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_lex.h:33: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sp.h:45:1: error: template with C linkage 45 | template class SQL_I_List; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sp.h:647:6: error: conflicting declaration of C function 'void sp_update_stmt_used_routines(THD*, Query_tables_list*, SQL_I_List*, TABLE_LIST*)' 647 | void sp_update_stmt_used_routines(THD *thd, Query_tables_list *prelocking_ctx, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sp.h:645:6: note: previous declaration 'void sp_update_stmt_used_routines(THD*, Query_tables_list*, HASH*, TABLE_LIST*)' 645 | void sp_update_stmt_used_routines(THD *thd, Query_tables_list *prelocking_ctx, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_lex.h:35: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:87:1: error: template with C linkage 87 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:151:6: error: conflicting declaration of C function 'bool mark_unsupported_function(const char*, const char*, void*, uint)' 151 | bool mark_unsupported_function(const char *w1, const char *w2, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: previous declaration 'bool mark_unsupported_function(const char*, void*, uint)' 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:798:27: error: conflicting declaration of C function 'item_base_t operator&(item_base_t, item_base_t)' 798 | static inline item_base_t operator&(const item_base_t a, const item_base_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:188:37: note: previous declaration 'constexpr privilege_t operator&(privilege_t, privilege_t)' 188 | static inline constexpr privilege_t operator&(privilege_t a, privilege_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:803:29: error: conflicting declaration of C function 'item_base_t& operator&=(item_base_t&, item_base_t)' 803 | static inline item_base_t & operator&=(item_base_t &a, item_base_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:212:28: note: previous declaration 'privilege_t& operator&=(privilege_t&, privilege_t)' 212 | static inline privilege_t& operator&=(privilege_t &a, privilege_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:809:27: error: conflicting declaration of C function 'item_base_t operator|(item_base_t, item_base_t)' 809 | static inline item_base_t operator|(const item_base_t a, const item_base_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:2973:31: note: previous declaration 'my_repertoire_t operator|(my_repertoire_t, my_repertoire_t)' 2973 | static inline my_repertoire_t operator|(const my_repertoire_t a, | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:814:29: error: conflicting declaration of C function 'item_base_t& operator|=(item_base_t&, item_base_t)' 814 | static inline item_base_t & operator|=(item_base_t &a, item_base_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:2979:32: note: previous declaration 'my_repertoire_t& operator|=(my_repertoire_t&, my_repertoire_t)' 2979 | static inline my_repertoire_t &operator|=(my_repertoire_t &a, | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:820:27: error: conflicting declaration of C function 'item_base_t operator~(item_base_t)' 820 | static inline item_base_t operator~(const item_base_t a) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:133:35: note: previous declaration 'constexpr ulonglong operator~(privilege_t)' 133 | static inline constexpr ulonglong operator~(privilege_t access) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:825:27: error: conflicting declaration of C function 'item_with_t operator&(item_with_t, item_with_t)' 825 | static inline item_with_t operator&(const item_with_t a, const item_with_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:188:37: note: previous declaration 'constexpr privilege_t operator&(privilege_t, privilege_t)' 188 | static inline constexpr privilege_t operator&(privilege_t a, privilege_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:830:29: error: conflicting declaration of C function 'item_with_t& operator&=(item_with_t&, item_with_t)' 830 | static inline item_with_t & operator&=(item_with_t &a, item_with_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:212:28: note: previous declaration 'privilege_t& operator&=(privilege_t&, privilege_t)' 212 | static inline privilege_t& operator&=(privilege_t &a, privilege_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:836:27: error: conflicting declaration of C function 'item_with_t operator|(item_with_t, item_with_t)' 836 | static inline item_with_t operator|(const item_with_t a, const item_with_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:2973:31: note: previous declaration 'my_repertoire_t operator|(my_repertoire_t, my_repertoire_t)' 2973 | static inline my_repertoire_t operator|(const my_repertoire_t a, | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:841:29: error: conflicting declaration of C function 'item_with_t& operator|=(item_with_t&, item_with_t)' 841 | static inline item_with_t & operator|=(item_with_t &a, item_with_t b) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type.h:2979:32: note: previous declaration 'my_repertoire_t& operator|=(my_repertoire_t&, my_repertoire_t)' 2979 | static inline my_repertoire_t &operator|=(my_repertoire_t &a, | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:847:27: error: conflicting declaration of C function 'item_with_t operator~(item_with_t)' 847 | static inline item_with_t operator~(const item_with_t a) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/privilege.h:133:35: note: previous declaration 'constexpr ulonglong operator~(privilege_t)' 133 | static inline constexpr ulonglong operator~(privilege_t access) | ^~~~~~~~ [ 16%] Linking C shared module client_ed25519.so /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::maybe_null() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1071:31: error: no match for 'operator&' (operand types are 'const item_base_t' and 'item_base_t') 1071 | { return (bool) (base_flags & item_base_t::MAYBE_NULL); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | const item_base_t item_base_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::in_rollup() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1073:31: error: no match for 'operator&' (operand types are 'const item_base_t' and 'item_base_t') 1073 | { return (bool) (base_flags & item_base_t::IN_ROLLUP); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~ | | | | const item_base_t item_base_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::fixed() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1075:31: error: no match for 'operator&' (operand types are 'const item_base_t' and 'item_base_t') 1075 | { return (bool) (base_flags & item_base_t::FIXED); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ | | | | const item_base_t item_base_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::is_explicit_name() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1077:31: error: no match for 'operator&' (operand types are 'const item_base_t' and 'item_base_t') 1077 | { return (bool) (base_flags & item_base_t::IS_EXPLICIT_NAME); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | const item_base_t item_base_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::is_in_with_cycle() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1079:31: error: no match for 'operator&' (operand types are 'const item_base_t' and 'item_base_t') 1079 | { return (bool) (base_flags & item_base_t::IS_IN_WITH_CYCLE); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | const item_base_t item_base_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::with_sp_var() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1082:31: error: no match for 'operator&' (operand types are 'const item_with_t' and 'item_with_t') 1082 | { return (bool) (with_flags & item_with_t::SP_VAR); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~ | | | | const item_with_t item_with_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::with_window_func() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1084:31: error: no match for 'operator&' (operand types are 'const item_with_t' and 'item_with_t') 1084 | { return (bool) (with_flags & item_with_t::WINDOW_FUNC); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ | | | | const item_with_t item_with_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::with_field() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1086:31: error: no match for 'operator&' (operand types are 'const item_with_t' and 'item_with_t') 1086 | { return (bool) (with_flags & item_with_t::FIELD); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ | | | | const item_with_t item_with_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::with_sum_func() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1088:31: error: no match for 'operator&' (operand types are 'const item_with_t' and 'item_with_t') 1088 | { return (bool) (with_flags & item_with_t::SUM_FUNC); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~ | | | | const item_with_t item_with_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::with_subquery() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1090:31: error: no match for 'operator&' (operand types are 'const item_with_t' and 'item_with_t') 1090 | { return (bool) (with_flags & item_with_t::SUBQUERY); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~ | | | | const item_with_t item_with_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::with_rownum_func() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1092:31: error: no match for 'operator&' (operand types are 'const item_with_t' and 'item_with_t') 1092 | { return (bool) (with_flags & item_with_t::ROWNUM_FUNC); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ | | | | const item_with_t item_with_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::with_param() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1094:31: error: no match for 'operator&' (operand types are 'const item_with_t' and 'item_with_t') 1094 | { return (bool) (with_flags & item_with_t::PARAM); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ | | | | const item_with_t item_with_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'void Item::set_maybe_null(bool)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1321:47: error: no match for 'operator~' (operand type is 'item_base_t') 1321 | base_flags= ((item_base_t) ((base_flags & ~item_base_t::MAYBE_NULL)) | | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'void Item::set_maybe_null()': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1328:15: error: no match for 'operator|=' (operand types are 'item_base_t' and 'item_base_t') 1328 | base_flags|= item_base_t::MAYBE_NULL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'virtual void Item::top_level_item()': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1347:15: error: no match for 'operator|=' (operand types are 'item_base_t' and 'item_base_t') 1347 | base_flags|= item_base_t::AT_TOP_LEVEL; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'bool Item::is_top_level_item() const': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:1353:31: error: no match for 'operator&' (operand types are 'const item_base_t' and 'item_base_t') 1353 | { return (bool) (base_flags & item_base_t::AT_TOP_LEVEL); } | ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | const item_base_t item_base_t [ 16%] Linking C static library libref10.a /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In constructor 'Item_date_literal_for_invalid_dates::Item_date_literal_for_invalid_dates(THD*, const Date*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:5265:18: error: no match for 'operator~' (operand type is 'item_base_t') 5265 | base_flags&= ~item_base_t::MAYBE_NULL; | ^~~~~~~~~~~~~~~~~~~~~~~~ [ 16%] Building C object extra/readline/CMakeFiles/readline.dir/histexpand.c.o /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In constructor 'Item_datetime_literal_for_invalid_dates::Item_datetime_literal_for_invalid_dates(THD*, const Datetime*, decimal_digits_t)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:5287:18: error: no match for 'operator~' (operand type is 'item_base_t') 5287 | base_flags&= ~item_base_t::MAYBE_NULL; | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: At global scope: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:2727:1: error: template with C linkage 2727 | template | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ [ 16%] Building C object extra/readline/CMakeFiles/readline.dir/histfile.c.o /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In constructor 'Item_date_literal_for_invalid_dates::Item_date_literal_for_invalid_dates(THD*, const Date*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:5265:18: error: no match for 'operator~' (operand type is 'item_base_t') 5265 | base_flags&= ~item_base_t::MAYBE_NULL; | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In constructor 'Item_datetime_literal_for_invalid_dates::Item_datetime_literal_for_invalid_dates(THD*, const Datetime*, decimal_digits_t)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:5287:18: error: no match for 'operator~' (operand type is 'item_base_t') 5287 | base_flags&= ~item_base_t::MAYBE_NULL; | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In constructor 'Item_fixed_hybrid::Item_fixed_hybrid(THD*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:2934:18: error: no match for 'operator~' (operand type is 'item_base_t') 2934 | base_flags&= ~item_base_t::FIXED; | ^~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In constructor 'Item_fixed_hybrid::Item_fixed_hybrid(THD*, Item_fixed_hybrid*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:2939:36: error: no match for 'operator&' (operand types are 'item_base_t' and 'item_base_t') 2939 | base_flags|= (item->base_flags & item_base_t::FIXED); | ~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ | | | | item_base_t item_base_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'virtual bool Item_fixed_hybrid::fix_fields(THD*, Item**)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:2944:15: error: no match for 'operator|=' (operand types are 'item_base_t' and 'item_base_t') 2944 | base_flags|= item_base_t::FIXED; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'virtual void Item_fixed_hybrid::cleanup()': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:2950:18: error: no match for 'operator~' (operand type is 'item_base_t') 2950 | base_flags&= ~item_base_t::FIXED; | ^~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'virtual void Item_fixed_hybrid::quick_fix_field()': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:2953:15: error: no match for 'operator|=' (operand types are 'item_base_t' and 'item_base_t') 2953 | { base_flags|= item_base_t::FIXED; } | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In member function 'virtual void Item_fixed_hybrid::unfix_fields()': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:2955:18: error: no match for 'operator~' (operand type is 'item_base_t') 2955 | { base_flags&= ~item_base_t::FIXED; } | ^~~~~~~~~~~~~~~~~~~ [ 16%] Building C object libmariadb/libmariadb/CMakeFiles/mariadb_obj.dir/mariadb_rpl.c.o /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/yy_mariadb.cc:35720: warning: suspicious sequence in the output: b4_bin [-Wother] /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In constructor 'Item_outer_ref::Item_outer_ref(THD*, Name_resolution_context*, Item_field*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:6264:18: error: no match for 'operator~' (operand type is 'item_base_t') 6264 | base_flags&= ~item_base_t::FIXED; | ^~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In constructor 'Item_outer_ref::Item_outer_ref(THD*, Name_resolution_context*, Item_field*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:6264:18: error: no match for 'operator~' (operand type is 'item_base_t') 6264 | base_flags&= ~item_base_t::FIXED; | ^~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 16%] Built target ref10 [ 16%] Building C object libmariadb/libmariadb/CMakeFiles/mariadb_obj.dir/ma_client_plugin.c.o In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:6354: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_sum.h: In member function 'virtual bool Item_sum_int::fix_length_and_dec(THD*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_sum.h:797:18: error: no match for 'operator~' (operand type is 'item_base_t') 797 | base_flags&= ~item_base_t::MAYBE_NULL; | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_sum.h: In member function 'virtual bool Item_sum_bit::fix_length_and_dec(THD*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_sum.h:1256:18: error: no match for 'operator~' (operand type is 'item_base_t') 1256 | base_flags&= ~item_base_t::MAYBE_NULL; | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In constructor 'Item_type_holder::Item_type_holder(THD*, Item*, const Type_handler*, const Type_all_attributes*, bool)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:7627:52: error: no match for 'operator|' (operand types are 'item_base_t' and 'item_base_t') 7627 | copy_flags(item, item_base_t::IS_EXPLICIT_NAME | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ | | | item_base_t 7628 | item_base_t::IS_IN_WITH_CYCLE); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | item_base_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_sum.h: In member function 'virtual bool Item_udf_sum::fix_fields(THD*, Item**)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_sum.h:1673:15: error: no match for 'operator|=' (operand types are 'item_base_t' and 'item_base_t') 1673 | base_flags|= item_base_t::FIXED; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In constructor 'Item_date_literal_for_invalid_dates::Item_date_literal_for_invalid_dates(THD*, const Date*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:5265:18: error: no match for 'operator~' (operand type is 'item_base_t') 5265 | base_flags&= ~item_base_t::MAYBE_NULL; | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In constructor 'Item_datetime_literal_for_invalid_dates::Item_datetime_literal_for_invalid_dates(THD*, const Datetime*, decimal_digits_t)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:5287:18: error: no match for 'operator~' (operand type is 'item_base_t') 5287 | base_flags&= ~item_base_t::MAYBE_NULL; | ^~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h: At global scope: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:1121:3: error: template with C linkage 1121 | template int iterate(my_bool (*action)(THD *thd, T *arg), T *arg= 0) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/plugin/locale_info/locale_info.cc:121:26: error: expected '}' at end of input 121 | maria_declare_plugin_end; | ^ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:36: note: to match this '{' 75 | #define C_MODE_START extern "C" { | ^ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ [ 16%] Built target client_ed25519 In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:6355: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In constructor 'Item_func::Item_func(THD*, Item*, Item*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:110:31: error: no match for 'operator|' (operand types are 'item_with_t' and 'item_with_t') 110 | with_flags= a->with_flags | b->with_flags; | ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ | | | | item_with_t item_with_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In constructor 'Item_func::Item_func(THD*, Item*, Item*, Item*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:115:32: error: no match for 'operator|' (operand types are 'item_with_t' and 'item_with_t') 115 | with_flags|= a->with_flags | b->with_flags | c->with_flags; | ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ | | | | item_with_t item_with_t [ 16%] Building C object libmariadb/libmariadb/CMakeFiles/mariadb_obj.dir/ma_io.c.o /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In constructor 'Item_func::Item_func(THD*, Item*, Item*, Item*, Item*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:120:31: error: no match for 'operator|' (operand types are 'item_with_t' and 'item_with_t') 120 | with_flags= a->with_flags | b->with_flags | c->with_flags | d->with_flags; | ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ | | | | item_with_t item_with_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In constructor 'Item_func::Item_func(THD*, Item*, Item*, Item*, Item*, Item*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:125:32: error: no match for 'operator|' (operand types are 'item_with_t' and 'item_with_t') 125 | with_flags= (a->with_flags | b->with_flags | c->with_flags | d->with_flags | | ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ | | | | item_with_t item_with_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In constructor 'Item_outer_ref::Item_outer_ref(THD*, Name_resolution_context*, Item_field*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:6264:18: error: no match for 'operator~' (operand type is 'item_base_t') 6264 | base_flags&= ~item_base_t::FIXED; | ^~~~~~~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:6354: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_sum.h: In member function 'virtual bool Item_sum_int::fix_length_and_dec(THD*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_sum.h:797:18: error: no match for 'operator~' (operand type is 'item_base_t') 797 | base_flags&= ~item_base_t::MAYBE_NULL; | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_connection_id::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:1314:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 1314 | return mark_unsupported_function(func_name(), "()", arg, | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:1314:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 1314 | return mark_unsupported_function(func_name(), "()", arg, | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:1314:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 1314 | return mark_unsupported_function(func_name(), "()", arg, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 1315 | VCOL_SESSION_FUNC); | ~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 16%] Building C object libmariadb/libmariadb/CMakeFiles/mariadb_obj.dir/secure/openssl.c.o /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_sum.h: In member function 'virtual bool Item_sum_bit::fix_length_and_dec(THD*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_sum.h:1256:18: error: no match for 'operator~' (operand type is 'item_base_t') 1256 | base_flags&= ~item_base_t::MAYBE_NULL; | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/yy_oracle.cc:34832: warning: suspicious sequence in the output: b4_bin [-Wother] /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_sum.h: In member function 'virtual bool Item_udf_sum::fix_fields(THD*, Item**)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_sum.h:1673:15: error: no match for 'operator|=' (operand types are 'item_base_t' and 'item_base_t') 1673 | base_flags|= item_base_t::FIXED; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:6355: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In constructor 'Item_func::Item_func(THD*, Item*, Item*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:110:31: error: no match for 'operator|' (operand types are 'item_with_t' and 'item_with_t') 110 | with_flags= a->with_flags | b->with_flags; | ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ | | | | item_with_t item_with_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In constructor 'Item_func::Item_func(THD*, Item*, Item*, Item*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:115:32: error: no match for 'operator|' (operand types are 'item_with_t' and 'item_with_t') 115 | with_flags|= a->with_flags | b->with_flags | c->with_flags; | ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ | | | | item_with_t item_with_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In constructor 'Item_func::Item_func(THD*, Item*, Item*, Item*, Item*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:120:31: error: no match for 'operator|' (operand types are 'item_with_t' and 'item_with_t') 120 | with_flags= a->with_flags | b->with_flags | c->with_flags | d->with_flags; | ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ | | | | item_with_t item_with_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In constructor 'Item_func::Item_func(THD*, Item*, Item*, Item*, Item*, Item*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:125:32: error: no match for 'operator|' (operand types are 'item_with_t' and 'item_with_t') 125 | with_flags= (a->with_flags | b->with_flags | c->with_flags | d->with_flags | | ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ | | | | item_with_t item_with_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_rand::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2135:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 2135 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2135:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 2135 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2135:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 2135 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_rownum::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2178:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 2178 | return mark_unsupported_function(func_name(), "()", arg, | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2178:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 2178 | return mark_unsupported_function(func_name(), "()", arg, | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2178:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 2178 | return mark_unsupported_function(func_name(), "()", arg, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 2179 | VCOL_IMPOSSIBLE); | ~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_rownum::check_handler_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2183:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 2183 | return mark_unsupported_function(func_name(), "()", arg, | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2183:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 2183 | return mark_unsupported_function(func_name(), "()", arg, | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2183:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 2183 | return mark_unsupported_function(func_name(), "()", arg, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 2184 | VCOL_IMPOSSIBLE); | ~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_coercibility::fix_length_and_dec(THD*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2477:18: error: no match for 'operator~' (operand type is 'item_base_t') 2477 | base_flags&= ~item_base_t::MAYBE_NULL; | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_connection_id::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:1314:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 1314 | return mark_unsupported_function(func_name(), "()", arg, | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:1314:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 1314 | return mark_unsupported_function(func_name(), "()", arg, | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:1314:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 1314 | return mark_unsupported_function(func_name(), "()", arg, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 1315 | VCOL_SESSION_FUNC); | ~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_last_insert_id::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2766:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 2766 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2766:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 2766 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2766:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 2766 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_benchmark::fix_length_and_dec(THD*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2793:18: error: no match for 'operator~' (operand type is 'item_base_t') 2793 | base_flags&= ~item_base_t::MAYBE_NULL; | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_benchmark::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2799:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 2799 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2799:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 2799 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2799:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 2799 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_sleep::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2830:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 2830 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2830:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 2830 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2830:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 2830 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_udf_func::fix_fields(THD*, Item**)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2883:15: error: no match for 'operator|=' (operand types are 'item_base_t' and 'item_base_t') 2883 | base_flags|= item_base_t::FIXED; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_udf_func::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2950:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 2950 | return mark_unsupported_function(func_name(), "()", arg, | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2950:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 2950 | return mark_unsupported_function(func_name(), "()", arg, | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2950:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 2950 | return mark_unsupported_function(func_name(), "()", arg, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 2951 | VCOL_NON_DETERMINISTIC); | ~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_lock::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:3162:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 3162 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:3162:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 3162 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:3162:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 3162 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_master_pos_wait::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:3268:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 3268 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:3268:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 3268 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:3268:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 3268 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_master_gtid_wait::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:3297:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 3297 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:3297:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 3297 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:3297:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 3297 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [plugin/locale_info/CMakeFiles/locales.dir/build.make:76: plugin/locale_info/CMakeFiles/locales.dir/locale_info.cc.o] Error 1 make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[2]: *** [CMakeFiles/Makefile2:4200: plugin/locale_info/CMakeFiles/locales.dir/all] Error 2 [ 16%] Building C object libmariadb/libmariadb/CMakeFiles/mariadb_obj.dir/mariadb_async.c.o [ 16%] Building C object libmariadb/libmariadb/CMakeFiles/mariadb_obj.dir/ma_context.c.o [ 16%] Building C object extra/readline/CMakeFiles/readline.dir/nls.c.o /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_rand::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2135:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 2135 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2135:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 2135 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2135:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 2135 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_rownum::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2178:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 2178 | return mark_unsupported_function(func_name(), "()", arg, | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2178:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 2178 | return mark_unsupported_function(func_name(), "()", arg, | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2178:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 2178 | return mark_unsupported_function(func_name(), "()", arg, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 2179 | VCOL_IMPOSSIBLE); | ~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_rownum::check_handler_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2183:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 2183 | return mark_unsupported_function(func_name(), "()", arg, | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2183:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 2183 | return mark_unsupported_function(func_name(), "()", arg, | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2183:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 2183 | return mark_unsupported_function(func_name(), "()", arg, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 2184 | VCOL_IMPOSSIBLE); | ~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_is_free_lock::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:3740:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 3740 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:3740:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 3740 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:3740:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 3740 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_is_used_lock::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:3767:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 3767 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:3767:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 3767 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:3767:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 3767 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_row_count::fix_length_and_dec(THD*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:3829:18: error: no match for 'operator~' (operand type is 'item_base_t') 3829 | base_flags&= ~item_base_t::MAYBE_NULL; | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_row_count::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:3834:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 3834 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:3834:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 3834 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:3834:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 3834 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_found_rows::fix_length_and_dec(THD*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:4002:18: error: no match for 'operator~' (operand type is 'item_base_t') 4002 | base_flags&= ~item_base_t::MAYBE_NULL; | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_found_rows::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:4007:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 4007 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:4007:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 4007 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:4007:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 4007 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_oracle_sql_rowcount::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:4030:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 4030 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:4030:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 4030 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:4030:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 4030 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_coercibility::fix_length_and_dec(THD*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2477:18: error: no match for 'operator~' (operand type is 'item_base_t') 2477 | base_flags&= ~item_base_t::MAYBE_NULL; | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_sqlcode::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:4053:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 4053 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:4053:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 4053 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:4053:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 4053 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_sqlcode::fix_length_and_dec(THD*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:4057:18: error: no match for 'operator~' (operand type is 'item_base_t') 4057 | base_flags&= ~item_base_t::MAYBE_NULL; | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_uuid_short::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:4086:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 4086 | return mark_unsupported_function(func_name(), "()", arg, | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:4086:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 4086 | return mark_unsupported_function(func_name(), "()", arg, | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:4086:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 4086 | return mark_unsupported_function(func_name(), "()", arg, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 4087 | VCOL_NON_DETERMINISTIC); | ~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_nextval::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:4180:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 4180 | return mark_unsupported_function(func_name(), "()", arg, VCOL_NEXTVAL); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:4180:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 4180 | return mark_unsupported_function(func_name(), "()", arg, VCOL_NEXTVAL); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:4180:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 4180 | return mark_unsupported_function(func_name(), "()", arg, VCOL_NEXTVAL); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:6357: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_cmpfunc.h: At global scope: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_cmpfunc.h:30:20: error: conflicting declaration of C function 'Item_result item_cmp_type(const Item*, const Item*)' 30 | inline Item_result item_cmp_type(const Item *a, const Item *b) | ^~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_cmpfunc.h:29:20: note: previous declaration 'Item_result item_cmp_type(Item_result, Item_result)' 29 | extern Item_result item_cmp_type(Item_result a,Item_result b); | ^~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_cmpfunc.h:34:20: error: conflicting declaration of C function 'Item_result item_cmp_type(Item_result, const Item*)' 34 | inline Item_result item_cmp_type(Item_result a, const Item *b) | ^~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_cmpfunc.h:29:20: note: previous declaration 'Item_result item_cmp_type(Item_result, Item_result)' 29 | extern Item_result item_cmp_type(Item_result a,Item_result b); | ^~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_last_insert_id::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2766:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 2766 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2766:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 2766 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2766:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 2766 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_benchmark::fix_length_and_dec(THD*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2793:18: error: no match for 'operator~' (operand type is 'item_base_t') 2793 | base_flags&= ~item_base_t::MAYBE_NULL; | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_benchmark::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2799:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 2799 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2799:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 2799 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2799:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 2799 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_sleep::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2830:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 2830 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2830:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 2830 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2830:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 2830 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_udf_func::fix_fields(THD*, Item**)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2883:15: error: no match for 'operator|=' (operand types are 'item_base_t' and 'item_base_t') 2883 | base_flags|= item_base_t::FIXED; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_udf_func::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2950:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 2950 | return mark_unsupported_function(func_name(), "()", arg, | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2950:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 2950 | return mark_unsupported_function(func_name(), "()", arg, | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:2950:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 2950 | return mark_unsupported_function(func_name(), "()", arg, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 2951 | VCOL_NON_DETERMINISTIC); | ~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_cmpfunc.h: In constructor 'Item_in_optimizer::Item_in_optimizer(THD*, Item*, Item*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_cmpfunc.h:390:15: error: no match for 'operator|=' (operand types are 'item_with_t' and 'item_with_t') 390 | with_flags|= item_with_t::SUBQUERY; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_lock::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:3162:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 3162 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:3162:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 3162 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:3162:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 3162 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 16%] Building C object extra/readline/CMakeFiles/readline.dir/search.c.o /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_master_pos_wait::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:3268:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 3268 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:3268:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 3268 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:3268:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 3268 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_master_gtid_wait::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:3297:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 3297 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:3297:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 3297 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:3297:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 3297 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_is_free_lock::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:3740:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 3740 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:3740:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 3740 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:3740:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 3740 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_is_used_lock::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:3767:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 3767 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:3767:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 3767 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:3767:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 3767 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_row_count::fix_length_and_dec(THD*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:3829:18: error: no match for 'operator~' (operand type is 'item_base_t') 3829 | base_flags&= ~item_base_t::MAYBE_NULL; | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_row_count::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:3834:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 3834 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:3834:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 3834 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:3834:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 3834 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_found_rows::fix_length_and_dec(THD*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:4002:18: error: no match for 'operator~' (operand type is 'item_base_t') 4002 | base_flags&= ~item_base_t::MAYBE_NULL; | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_found_rows::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:4007:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 4007 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:4007:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 4007 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:4007:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 4007 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_oracle_sql_rowcount::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:4030:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 4030 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:4030:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 4030 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:4030:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 4030 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_sqlcode::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:4053:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 4053 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:4053:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 4053 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:4053:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 4053 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_sqlcode::fix_length_and_dec(THD*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:4057:18: error: no match for 'operator~' (operand type is 'item_base_t') 4057 | base_flags&= ~item_base_t::MAYBE_NULL; | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_uuid_short::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:4086:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 4086 | return mark_unsupported_function(func_name(), "()", arg, | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:4086:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 4086 | return mark_unsupported_function(func_name(), "()", arg, | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:4086:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 4086 | return mark_unsupported_function(func_name(), "()", arg, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 4087 | VCOL_NON_DETERMINISTIC); | ~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 17%] Building C object extra/readline/CMakeFiles/readline.dir/shell.c.o /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h: In member function 'virtual bool Item_func_nextval::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:4180:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 4180 | return mark_unsupported_function(func_name(), "()", arg, VCOL_NEXTVAL); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:4180:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 4180 | return mark_unsupported_function(func_name(), "()", arg, VCOL_NEXTVAL); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_func.h:4180:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 4180 | return mark_unsupported_function(func_name(), "()", arg, VCOL_NEXTVAL); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:6357: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_cmpfunc.h: At global scope: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_cmpfunc.h:30:20: error: conflicting declaration of C function 'Item_result item_cmp_type(const Item*, const Item*)' 30 | inline Item_result item_cmp_type(const Item *a, const Item *b) | ^~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_cmpfunc.h:29:20: note: previous declaration 'Item_result item_cmp_type(Item_result, Item_result)' 29 | extern Item_result item_cmp_type(Item_result a,Item_result b); | ^~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_cmpfunc.h:34:20: error: conflicting declaration of C function 'Item_result item_cmp_type(Item_result, const Item*)' 34 | inline Item_result item_cmp_type(Item_result a, const Item *b) | ^~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_cmpfunc.h:29:20: note: previous declaration 'Item_result item_cmp_type(Item_result, Item_result)' 29 | extern Item_result item_cmp_type(Item_result a,Item_result b); | ^~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/libmariadb/libmariadb/ma_context.c: In function 'my_context_spawn': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/libmariadb/libmariadb/ma_context.c:106:3: warning: 'u.a[1]' may be used uninitialized [-Wmaybe-uninitialized] 106 | makecontext(&c->spawned_context, (uc_func_t)my_context_spawn_internal, 2, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 107 | u.a[0], u.a[1]); | ~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/libmariadb/libmariadb/ma_context.c:94:32: note: 'u.a[1]' was declared here 94 | union pass_void_ptr_as_2_int u; | ^ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_cmpfunc.h: In constructor 'Item_in_optimizer::Item_in_optimizer(THD*, Item*, Item*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_cmpfunc.h:390:15: error: no match for 'operator|=' (operand types are 'item_with_t' and 'item_with_t') 390 | with_flags|= item_with_t::SUBQUERY; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_cmpfunc.h: In member function 'virtual bool Item_func_null_predicate::fix_length_and_dec(THD*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_cmpfunc.h:2719:18: error: no match for 'operator~' (operand type is 'item_base_t') 2719 | base_flags&= ~item_base_t::MAYBE_NULL; | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_cmpfunc.h: At global scope: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_cmpfunc.h:3238:1: error: template with C linkage 3238 | template class LI, class T> class Item_equal_iterator; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_cmpfunc.h:3490:1: error: template with C linkage 3490 | template class LI, typename T> class Item_equal_iterator | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ [ 17%] Building C object extra/readline/CMakeFiles/readline.dir/tilde.c.o In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:6358: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_strfunc.h: In member function 'virtual bool Item_func_random_bytes::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_strfunc.h:402:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 402 | return mark_unsupported_function(func_name(), "()", arg, | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_strfunc.h:402:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 402 | return mark_unsupported_function(func_name(), "()", arg, | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_strfunc.h:402:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 402 | return mark_unsupported_function(func_name(), "()", arg, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 403 | VCOL_NON_DETERMINISTIC | VCOL_NEXTVAL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_cmpfunc.h: In member function 'virtual bool Item_func_null_predicate::fix_length_and_dec(THD*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_cmpfunc.h:2719:18: error: no match for 'operator~' (operand type is 'item_base_t') 2719 | base_flags&= ~item_base_t::MAYBE_NULL; | ^~~~~~~~~~~~~~~~~~~~~~~~ [ 17%] Building C object extra/readline/CMakeFiles/readline.dir/misc.c.o /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_cmpfunc.h: At global scope: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_cmpfunc.h:3238:1: error: template with C linkage 3238 | template class LI, class T> class Item_equal_iterator; | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ [ 17%] Building C object extra/readline/CMakeFiles/readline.dir/text.c.o /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_cmpfunc.h:3490:1: error: template with C linkage 3490 | template class LI, typename T> class Item_equal_iterator | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_strfunc.h: In member function 'virtual bool Item_func_sqlerrm::fix_length_and_dec(THD*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_strfunc.h:1111:18: error: no match for 'operator~' (operand type is 'item_base_t') 1111 | base_flags&= ~item_base_t::MAYBE_NULL; | ^~~~~~~~~~~~~~~~~~~~~~~~ [ 17%] Building C object extra/readline/CMakeFiles/readline.dir/mbutil.c.o /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_strfunc.h: In member function 'virtual bool Item_func_binlog_gtid_pos::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_strfunc.h:1389:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 1389 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_strfunc.h:1389:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 1389 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_strfunc.h:1389:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 1389 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:6358: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_strfunc.h: In member function 'virtual bool Item_func_random_bytes::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_strfunc.h:402:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 402 | return mark_unsupported_function(func_name(), "()", arg, | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_strfunc.h:402:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 402 | return mark_unsupported_function(func_name(), "()", arg, | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_strfunc.h:402:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 402 | return mark_unsupported_function(func_name(), "()", arg, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 403 | VCOL_NON_DETERMINISTIC | VCOL_NEXTVAL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_strfunc.h: In member function 'virtual bool Item_load_file::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_strfunc.h:1691:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 1691 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_strfunc.h:1691:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 1691 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_strfunc.h:1691:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 1691 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_strfunc.h: In member function 'virtual bool Item_func_expr_str_metadata::fix_length_and_dec(THD*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_strfunc.h:1876:19: error: no match for 'operator~' (operand type is 'item_base_t') 1876 | base_flags&= ~item_base_t::MAYBE_NULL; | ^~~~~~~~~~~~~~~~~~~~~~~~ [ 17%] Linking CXX static library libhsclient.a [ 17%] Building C object extra/readline/CMakeFiles/readline.dir/compat.c.o [ 17%] Building C object extra/readline/CMakeFiles/readline.dir/savestring.c.o /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_strfunc.h: In member function 'virtual bool Item_func_sqlerrm::fix_length_and_dec(THD*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_strfunc.h:1111:18: error: no match for 'operator~' (operand type is 'item_base_t') 1111 | base_flags&= ~item_base_t::MAYBE_NULL; | ^~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 17%] Built target hsclient /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_strfunc.h: In member function 'virtual bool Item_func_binlog_gtid_pos::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_strfunc.h:1389:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 1389 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_strfunc.h:1389:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 1389 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_strfunc.h:1389:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 1389 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:6359: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h: In member function 'virtual bool Item_func_monthname::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:237:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 237 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:237:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 237 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:237:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 237 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h: In member function 'virtual bool Item_func_week::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:411:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 411 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:411:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 411 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:411:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 411 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h: In member function 'virtual bool Item_func_dayname::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:536:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 536 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:536:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 536 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:536:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 536 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_strfunc.h: In member function 'virtual bool Item_load_file::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_strfunc.h:1691:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 1691 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_strfunc.h:1691:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 1691 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_strfunc.h:1691:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 1691 | return mark_unsupported_function(func_name(), "()", arg, VCOL_IMPOSSIBLE); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h: In member function 'virtual bool Item_func_unix_timestamp::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:601:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 601 | return mark_unsupported_function(func_name(), "()", arg, VCOL_TIME_FUNC); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:601:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 601 | return mark_unsupported_function(func_name(), "()", arg, VCOL_TIME_FUNC); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:601:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 601 | return mark_unsupported_function(func_name(), "()", arg, VCOL_TIME_FUNC); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h: In member function 'virtual bool Item_func_curtime::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:731:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 731 | return mark_unsupported_function(func_name(), "()", arg, VCOL_TIME_FUNC); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:731:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 731 | return mark_unsupported_function(func_name(), "()", arg, VCOL_TIME_FUNC); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:731:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 731 | return mark_unsupported_function(func_name(), "()", arg, VCOL_TIME_FUNC); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_strfunc.h: In member function 'virtual bool Item_func_expr_str_metadata::fix_length_and_dec(THD*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_strfunc.h:1876:19: error: no match for 'operator~' (operand type is 'item_base_t') 1876 | base_flags&= ~item_base_t::MAYBE_NULL; | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h: In member function 'virtual bool Item_func_curdate::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:779:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 779 | return mark_unsupported_function(func_name(), "()", arg, VCOL_TIME_FUNC); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:779:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 779 | return mark_unsupported_function(func_name(), "()", arg, VCOL_TIME_FUNC); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:779:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 779 | return mark_unsupported_function(func_name(), "()", arg, VCOL_TIME_FUNC); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h: In member function 'virtual bool Item_func_now::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:834:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 834 | return mark_unsupported_function(func_name(), "()", arg, VCOL_TIME_FUNC); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:834:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 834 | return mark_unsupported_function(func_name(), "()", arg, VCOL_TIME_FUNC); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:834:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 834 | return mark_unsupported_function(func_name(), "()", arg, VCOL_TIME_FUNC); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h: In member function 'virtual bool Item_func_now_utc::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:870:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 870 | return mark_unsupported_function(func_name(), "()", arg, | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:870:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 870 | return mark_unsupported_function(func_name(), "()", arg, | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:870:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 870 | return mark_unsupported_function(func_name(), "()", arg, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 871 | VCOL_TIME_FUNC | VCOL_NON_DETERMINISTIC); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h: In member function 'virtual bool Item_func_sysdate_local::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:897:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 897 | return mark_unsupported_function(func_name(), "()", arg, | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:897:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 897 | return mark_unsupported_function(func_name(), "()", arg, | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:897:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 897 | return mark_unsupported_function(func_name(), "()", arg, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 898 | VCOL_TIME_FUNC | VCOL_NON_DETERMINISTIC); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h: In member function 'virtual bool Item_func_date_format::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:959:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 959 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:959:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 959 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:959:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 959 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h: In member function 'virtual bool Item_func_tochar::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:1027:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 1027 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:1027:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 1027 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:1027:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 1027 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h: In member function 'virtual bool Item_func_from_unixtime::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:1051:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 1051 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:1051:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 1051 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:1051:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 1051 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h: In member function 'virtual bool Item_extract::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:1219:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 1219 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:1219:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 1219 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:1219:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 1219 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:6359: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h: In member function 'virtual bool Item_func_monthname::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:237:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 237 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:237:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 237 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:237:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 237 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h: In member function 'virtual bool Item_func_week::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:411:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 411 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:411:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 411 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:411:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 411 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h: In member function 'virtual bool Item_func_dayname::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:536:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 536 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:536:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 536 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:536:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 536 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h: In member function 'virtual bool Item_func_unix_timestamp::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:601:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 601 | return mark_unsupported_function(func_name(), "()", arg, VCOL_TIME_FUNC); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:601:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 601 | return mark_unsupported_function(func_name(), "()", arg, VCOL_TIME_FUNC); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:601:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 601 | return mark_unsupported_function(func_name(), "()", arg, VCOL_TIME_FUNC); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h: In member function 'virtual bool Item_func_curtime::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:731:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 731 | return mark_unsupported_function(func_name(), "()", arg, VCOL_TIME_FUNC); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:731:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 731 | return mark_unsupported_function(func_name(), "()", arg, VCOL_TIME_FUNC); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:731:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 731 | return mark_unsupported_function(func_name(), "()", arg, VCOL_TIME_FUNC); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h: In member function 'virtual bool Item_func_curdate::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:779:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 779 | return mark_unsupported_function(func_name(), "()", arg, VCOL_TIME_FUNC); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:779:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 779 | return mark_unsupported_function(func_name(), "()", arg, VCOL_TIME_FUNC); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:779:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 779 | return mark_unsupported_function(func_name(), "()", arg, VCOL_TIME_FUNC); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h: In member function 'virtual bool Item_func_now::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:834:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 834 | return mark_unsupported_function(func_name(), "()", arg, VCOL_TIME_FUNC); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:834:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 834 | return mark_unsupported_function(func_name(), "()", arg, VCOL_TIME_FUNC); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:834:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 834 | return mark_unsupported_function(func_name(), "()", arg, VCOL_TIME_FUNC); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h: In member function 'virtual bool Item_func_now_utc::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:870:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 870 | return mark_unsupported_function(func_name(), "()", arg, | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:870:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 870 | return mark_unsupported_function(func_name(), "()", arg, | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:870:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 870 | return mark_unsupported_function(func_name(), "()", arg, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 871 | VCOL_TIME_FUNC | VCOL_NON_DETERMINISTIC); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h: In member function 'virtual bool Item_func_sysdate_local::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:897:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 897 | return mark_unsupported_function(func_name(), "()", arg, | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:897:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 897 | return mark_unsupported_function(func_name(), "()", arg, | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:897:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 897 | return mark_unsupported_function(func_name(), "()", arg, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 898 | VCOL_TIME_FUNC | VCOL_NON_DETERMINISTIC); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h: In member function 'virtual bool Item_func_date_format::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:959:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 959 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:959:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 959 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:959:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 959 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h: In member function 'virtual bool Item_func_tochar::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:1027:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 1027 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:1027:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 1027 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:1027:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 1027 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h: In member function 'virtual bool Item_func_from_unixtime::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:1051:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 1051 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:1051:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 1051 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:1051:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 1051 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h: In member function 'virtual bool Item_extract::check_vcol_func_processor(void*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:1219:51: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 1219 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ^~~~ | | | const void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:1219:57: error: invalid conversion from 'void*' to 'uint' {aka 'unsigned int'} [-fpermissive] 1219 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ^~~ | | | void* /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_timefunc.h:1219:37: error: too many arguments to function 'bool mark_unsupported_function(const char*, void*, uint)' 1219 | return mark_unsupported_function(func_name(), "()", arg, VCOL_SESSION_FUNC); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:148:6: note: declared here 148 | bool mark_unsupported_function(const char *where, void *store, uint result); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_jsonfunc.h:27, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:6362: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type_json.h: At global scope: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type_json.h:49:1: error: template with C linkage 49 | template &thbase> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item_jsonfunc.h:27, from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:6362: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type_json.h: At global scope: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_type_json.h:49:1: error: template with C linkage 49 | template &thbase> | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 17%] Built target GenServerSource /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In constructor 'Item_type_holder::Item_type_holder(THD*, Item*, const Type_handler*, const Type_all_attributes*, bool)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:7627:52: error: no match for 'operator|' (operand types are 'item_base_t' and 'item_base_t') 7627 | copy_flags(item, item_base_t::IS_EXPLICIT_NAME | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ | | | item_base_t 7628 | item_base_t::IS_IN_WITH_CYCLE); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | item_base_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h: In constructor 'Item_type_holder::Item_type_holder(THD*, Item*, const Type_handler*, const Type_all_attributes*, bool)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/item.h:7627:52: error: no match for 'operator|' (operand types are 'item_base_t' and 'item_base_t') 7627 | copy_flags(item, item_base_t::IS_EXPLICIT_NAME | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ | | | item_base_t 7628 | item_base_t::IS_IN_WITH_CYCLE); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | item_base_t /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h: At global scope: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:1121:3: error: template with C linkage 1121 | template int iterate(my_bool (*action)(THD *thd, T *arg), T *arg= 0) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:3001:3: error: template with C linkage 3001 | template Rows_log_event* | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h: At global scope: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:1121:3: error: template with C linkage 1121 | template int iterate(my_bool (*action)(THD *thd, T *arg), T *arg= 0) | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/sql_class.h:3001:3: error: template with C linkage 3001 | template Rows_log_event* | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:25: note: 'extern "C"' linkage started here 75 | #define C_MODE_START extern "C" { | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/plugin/func_test/plugin.cc:60:27: error: conflicting declaration of 'Create_func_sysconst_test Create_func_sysconst_test::s_singleton' with 'C' linkage 60 | Create_func_sysconst_test Create_func_sysconst_test::s_singleton; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/plugin/func_test/plugin.cc:54:36: note: previous declaration with 'C++' linkage 54 | static Create_func_sysconst_test s_singleton; | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/plugin/func_test/plugin.cc:92:26: error: expected '}' at end of input 92 | maria_declare_plugin_end; | ^ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:36: note: to match this '{' 75 | #define C_MODE_START extern "C" { | ^ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/plugin/metadata_lock_info/metadata_lock_info.cc:57:5: error: conflicting declaration of C function 'int i_s_metadata_lock_info_fill_row(MDL_ticket*, void*, bool)' 57 | int i_s_metadata_lock_info_fill_row( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/sql/mdl.h:1103:14: note: previous declaration 'int i_s_metadata_lock_info_fill_row(MDL_ticket*, void*)' 1103 | friend int i_s_metadata_lock_info_fill_row(MDL_ticket*, void*); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:1031: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/plugin/metadata_lock_info/metadata_lock_info.cc: In function 'int i_s_metadata_lock_info_fill_table(THD*, TABLE_LIST*, COND*)': /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/plugin/metadata_lock_info/metadata_lock_info.cc:100:27: error: 'i_s_metadata_lock_info_fill_row' was not declared in this scope; did you mean 'i_s_metadata_lock_info_fill_table'? 100 | DBUG_RETURN(mdl_iterate(i_s_metadata_lock_info_fill_row, ¶m)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_dbug.h:171:53: note: in definition of macro 'DBUG_RETURN' 171 | #define DBUG_RETURN(a1) do { return(a1); } while(0) | ^~ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/plugin/metadata_lock_info/metadata_lock_info.cc: At global scope: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/plugin/metadata_lock_info/metadata_lock_info.cc:144:26: error: expected '}' at end of input 144 | maria_declare_plugin_end; | ^ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_global.h:75:36: note: to match this '{' 75 | #define C_MODE_START extern "C" { | ^ /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/include/my_rdtsc.h:95:1: note: in expansion of macro 'C_MODE_START' 95 | C_MODE_START | ^~~~~~~~~~~~ [ 17%] Linking C static library libreadline.a make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 17%] Built target readline make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' [ 17%] Built target mariadb_obj make[3]: *** [plugin/metadata_lock_info/CMakeFiles/metadata_lock_info.dir/build.make:76: plugin/metadata_lock_info/CMakeFiles/metadata_lock_info.dir/metadata_lock_info.cc.o] Error 1 make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[2]: *** [CMakeFiles/Makefile2:4227: plugin/metadata_lock_info/CMakeFiles/metadata_lock_info.dir/all] Error 2 make[3]: *** [plugin/func_test/CMakeFiles/func_test.dir/build.make:76: plugin/func_test/CMakeFiles/func_test.dir/plugin.cc.o] Error 1 make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[2]: *** [CMakeFiles/Makefile2:4119: plugin/func_test/CMakeFiles/func_test.dir/all] Error 2 make[2]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make[1]: *** [Makefile:156: all] Error 2 make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/mariadb-10.11.6' make: *** [package/pkg-generic.mk:283: /home/buildroot/instance-0/output-1/build/mariadb-10.11.6/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/instance-0/buildroot'