>>> mesa3d 22.1.6 Extracting xzcat /home/buildroot/autobuild/instance-3/dl/mesa3d/mesa-22.1.6.tar.xz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-3/output-1/build/mesa3d-22.1.6 -xf - >>> mesa3d 22.1.6 Patching Applying 0001-c99_math-import-isinf-for-uclibc-based-toolchains.patch using patch: patching file include/c99_math.h Applying 0002-meson-Set-proper-value-for-LIBCLC_INCLUDEDIR.patch using patch: patching file src/gallium/frontends/clover/meson.build Applying 0003-vc4-add-meson-option-to-disable-optional-neon-suppor.patch using patch: patching file meson_options.txt Hunk #1 succeeded at 131 (offset 8 lines). patching file src/gallium/drivers/vc4/meson.build patching file src/gallium/drivers/vc4/vc4_tiling.h Applying 0004-src-util-rand_xor-Include-stddef.h-to-fix-build-erro.patch using patch: patching file src/util/rand_xor.c Applying 0005-src-util-futex.h-fix-build-on-32-bit-architectures-u.patch using patch: patching file src/util/futex.h Applying 0006-util-remove-needless-c99-compat-h-includes.patch using patch: patching file src/util/bitscan.h patching file src/util/compiler.h patching file src/util/format_srgb.h patching file src/util/hash_table.h patching file src/util/list.h patching file src/util/macros.h patching file src/util/mesa-sha1.h patching file src/util/ptralloc.h Applying 0007-include-drop-c11-compat-h.patch using patch: patching file include/c11_compat.h patching file src/amd/common/ac_sqtt.h patching file src/imagination/vulkan/pvr_cmd_buffer.c patching file src/util/macros.h Applying 0008-Fix-uClibc-build.patch using patch: patching file src/egl/main/egldisplay.c patching file src/util/compiler.h >>> mesa3d 22.1.6 Configuring rm -rf /home/buildroot/autobuild/instance-3/output-1/build/mesa3d-22.1.6//build mkdir -p /home/buildroot/autobuild/instance-3/output-1/build/mesa3d-22.1.6//build sed -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" -e "s%@TARGET_CC@%/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-gcc%g" -e "s%@TARGET_CXX@%/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-g++%g" -e "s%@TARGET_AR@%/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-gcc-ar%g" -e "s%@TARGET_FC@%/bin/false%g" -e "s%@TARGET_STRIP@%/bin/true%g" -e "s%@TARGET_ARCH@%arm%g" -e "s%@TARGET_CPU@%arm1176jz-s%g" -e "s%@TARGET_ENDIAN@%little%g" -e "s%@TARGET_FCFLAGS@%%g" -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1'%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1'%g" -e "s%@BR2_CMAKE@%/home/buildroot/autobuild/instance-3/output-1/host/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/home/buildroot/autobuild/instance-3/output-1/host/bin/pkgconf%g" -e "s%@HOST_DIR@%/home/buildroot/autobuild/instance-3/output-1/host%g" -e "s%@STAGING_DIR@%/home/buildroot/autobuild/instance-3/output-1/host/arm-buildroot-linux-gnueabi/sysroot%g" -e "s%@STATIC@%false%g" /home/buildroot/autobuild/instance-3/buildroot/support/misc/cross-compilation.conf.in > /home/buildroot/autobuild/instance-3/output-1/build/mesa3d-22.1.6//build/cross-compilation.conf PATH="/home/buildroot/autobuild/instance-3/output-1/host/bin:/home/buildroot/autobuild/instance-3/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" CC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" PYTHONNOUSERSITE=y /home/buildroot/autobuild/instance-3/output-1/host/bin/meson --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/home/buildroot/autobuild/instance-3/output-1/build/mesa3d-22.1.6//build/cross-compilation.conf -Db_pie=false -Dstrip=false -Dbuild.pkg_config_path=/home/buildroot/autobuild/instance-3/output-1/host/lib/pkgconfig -Dbuild.cmake_prefix_path=/home/buildroot/autobuild/instance-3/output-1/host/lib/cmake -Dgallium-omx=disabled -Dpower8=disabled -Db_asneeded=false -Ddri3=disabled -Dllvm=disabled -Dgallium-opencl=disabled -Dglx=disabled -Dgallium-xa=disabled -Dgallium-vc4-neon=disabled -Dshared-glapi=enabled -Dgallium-drivers=lima,nouveau,swrast,tegra -Dgallium-extra-hud=true -Dvulkan-drivers= -Dosmesa=false -Dopengl=true -Dgallium-va=disabled -Dplatforms= -Dgbm=disabled -Degl=disabled -Dgles1=enabled -Dgles2=enabled -Dgallium-xvmc=disabled -Dvalgrind=disabled -Dlibunwind=disabled -Dgallium-vdpau=disabled -Dlmsensors=disabled -Dzstd=disabled -Dglvnd=false /home/buildroot/autobuild/instance-3/output-1/build/mesa3d-22.1.6/ /home/buildroot/autobuild/instance-3/output-1/build/mesa3d-22.1.6//build The Meson build system Version: 0.63.3 Source dir: /home/buildroot/autobuild/instance-3/output-1/build/mesa3d-22.1.6 Build dir: /home/buildroot/autobuild/instance-3/output-1/build/mesa3d-22.1.6/build Build type: cross build Program python3 found: YES (/home/buildroot/autobuild/instance-3/output-1/host/bin/python3) Project name: mesa Project version: 22.1.6 C compiler for the host machine: /home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-gcc (gcc 4.8.3 "arm-none-linux-gnueabi-gcc (Sourcery CodeBench Lite 2014.05-29) 4.8.3 20140320 (prerelease)") C linker for the host machine: /home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-gcc ld.bfd 2.24.51.20140217 C++ compiler for the host machine: /home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-g++ (gcc 4.8.3 "arm-none-linux-gnueabi-g++ (Sourcery CodeBench Lite 2014.05-29) 4.8.3 20140320 (prerelease)") C++ linker for the host machine: /home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-g++ ld.bfd 2.24.51.20140217 C compiler for the build machine: /usr/bin/gcc (gcc 6.3.0 "gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516") C linker for the build machine: /usr/bin/gcc ld.bfd 2.28 C++ compiler for the build machine: /usr/bin/g++ (gcc 6.3.0 "g++ (Debian 6.3.0-18+deb9u1) 6.3.0 20170516") C++ linker for the build machine: /usr/bin/g++ ld.bfd 2.28 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: arm Host machine cpu: arm1176jz-s Target machine cpu family: arm Target machine cpu: arm1176jz-s ../output-1/build/mesa3d-22.1.6/meson.build:526: WARNING: cannot auto-detect -mtls-dialect when cross-compiling, using compiler default Program python3 found: YES (/home/buildroot/autobuild/instance-3/output-1/host/bin/python3) Fetching value of define "ETIME" : 62 Checking for function "bswap32" : YES Checking for function "bswap64" : YES Checking for function "clz" : YES Checking for function "clzll" : YES Checking for function "ctz" : YES Checking for function "expect" : YES Checking for function "ffs" : YES Checking for function "ffsll" : YES Checking for function "popcount" : YES Checking for function "popcountll" : YES Checking for function "unreachable" : YES Checking for function "types_compatible_p" : NO Compiler for C supports function attribute const: YES Compiler for C supports function attribute flatten: YES Compiler for C supports function attribute malloc: YES Compiler for C supports function attribute pure: YES Compiler for C supports function attribute unused: YES Compiler for C supports function attribute warn_unused_result: YES Compiler for C supports function attribute weak: YES Compiler for C supports function attribute format: YES Compiler for C supports function attribute packed: YES Compiler for C supports function attribute returns_nonnull: NO Compiler for C supports function attribute alias: YES Compiler for C supports function attribute noreturn: YES Compiler for C supports function attribute visibility:hidden: YES Checking if "__uint128_t" compiles: NO Compiler for C supports link arguments -Wl,--gc-sections: YES Compiler for C supports arguments -Werror=implicit-function-declaration: YES Compiler for C supports arguments -Werror=missing-prototypes: YES Compiler for C supports arguments -Werror=return-type: YES Compiler for C supports arguments -Werror=empty-body: YES Compiler for C supports arguments -Werror=incompatible-pointer-types: NO Compiler for C supports arguments -Werror=int-conversion: NO Compiler for C supports arguments -Wimplicit-fallthrough: NO Compiler for C supports arguments -Wno-missing-field-initializers: YES Compiler for C supports arguments -Wno-format-truncation: NO Compiler for C supports arguments -fno-math-errno: YES Compiler for C supports arguments -fno-trapping-math: YES Compiler for C supports arguments -Qunused-arguments: NO Compiler for C supports arguments -fno-common: YES Compiler for C supports arguments -Wno-microsoft-enum-value: NO Compiler for C supports arguments -Werror=format: YES Compiler for C supports arguments -Wformat-security: YES Compiler for C supports arguments -Werror=thread-safety: NO Compiler for C supports arguments -ffunction-sections: YES Compiler for C supports arguments -fdata-sections: YES Compiler for C++ supports arguments -Werror=return-type: YES Compiler for C++ supports arguments -Werror=empty-body: YES Compiler for C++ supports arguments -Wno-non-virtual-dtor: YES Compiler for C++ supports arguments -Wno-missing-field-initializers: YES Compiler for C++ supports arguments -Wno-format-truncation: NO Compiler for C++ supports arguments -fno-math-errno: YES Compiler for C++ supports arguments -fno-trapping-math: YES Compiler for C++ supports arguments -Qunused-arguments: NO Compiler for C++ supports arguments -flifetime-dse=1: NO Compiler for C++ supports arguments -Wno-microsoft-enum-value: NO Compiler for C++ supports arguments -Werror=format: YES Compiler for C++ supports arguments -Wformat-security: YES Compiler for C++ supports arguments -ffunction-sections: YES Compiler for C++ supports arguments -fdata-sections: YES Compiler for C supports arguments -Wno-override-init: YES Compiler for C supports arguments -Wno-initializer-overrides: NO Compiler for C supports arguments -Werror=pointer-arith: YES Compiler for C supports arguments -Werror=gnu-empty-initializer: NO Compiler for C++ supports arguments -Werror=pointer-arith: YES Compiler for C++ supports arguments -Werror=gnu-empty-initializer: NO Checking if "GCC atomic builtins" compiles: YES Checking if "GCC atomic builtins required -latomic" : links: YES Checking if "GCC 64bit atomics" with dependency : links: YES Library ws2_32 found: NO Header "sys/sysmacros.h" has symbol "major" : YES Header "sys/sysmacros.h" has symbol "minor" : YES Header "sys/sysmacros.h" has symbol "makedev" : YES Header "sys/mkdev.h" has symbol "major" : NO Check usable header "sched.h" : YES Checking for function "sched_getaffinity" : YES Check usable header "xlocale.h" : YES Check usable header "linux/futex.h" : YES Check usable header "endian.h" : YES Check usable header "dlfcn.h" : YES Check usable header "sys/shm.h" : YES Check usable header "cet.h" : NO Check usable header "pthread_np.h" : NO Checking for function "strtof" : YES Checking for function "mkostemp" : YES Checking for function "timespec_get" : YES Checking for function "memfd_create" : NO Checking for function "random_r" : YES Checking for function "flock" : YES Checking for function "strtok_r" : YES Checking for function "getrandom" : NO Checking for function "qsort_r" : YES Checking for function "qsort_s" : NO Header "errno.h" has symbol "program_invocation_name" : YES Checking for function "posix_memalign" : YES Checking whether type "struct dirent" has member "d_type" : YES Checking if "strtod has locale support" : links: YES Checking if "Bsymbolic" : links: YES Checking if "gc-sections" : links: YES Checking if "version-script" : links: YES Checking if "dynamic-list" : links: YES Compiler for C supports link arguments -Wl,--build-id=sha1: YES Checking for function "dlopen" : NO Library dl found: YES Checking for function "dladdr" with dependency -ldl: YES Checking for function "dl_iterate_phdr" : YES Checking for function "clock_gettime" : YES Found pkg-config: /home/buildroot/autobuild/instance-3/output-1/host/bin/pkgconf (1.6.3) Run-time dependency zlib found: YES 1.2.11.zlib-ng Run-time dependency threads found: YES Checking for function "pthread_setaffinity_np" with dependency threads: YES Run-time dependency expat found: YES 2.4.9 Library m found: YES Run-time dependency libdrm_nouveau found: YES 2.4.112 Run-time dependency libdrm found: YES 2.4.112 Found CMake: /home/buildroot/autobuild/instance-3/output-1/host/bin/cmake (3.22.3) Run-time dependency libudev found: NO (tried pkgconfig and cmake) Program bison found: YES (/home/buildroot/autobuild/instance-3/output-1/host/bin/bison) Program bison found: YES 3.8.2 (/home/buildroot/autobuild/instance-3/output-1/host/bin/bison) Program flex found: YES (/home/buildroot/autobuild/instance-3/output-1/host/bin/flex) Program nm found: YES (/usr/bin/nm) Program symbols-check.py found: YES (/home/buildroot/autobuild/instance-3/output-1/host/bin/python3 /home/buildroot/autobuild/instance-3/output-1/build/mesa3d-22.1.6/bin/symbols-check.py) Program install_megadrivers.py found: YES (/home/buildroot/autobuild/instance-3/output-1/host/bin/python3 /home/buildroot/autobuild/instance-3/output-1/build/mesa3d-22.1.6/bin/install_megadrivers.py) WARNING: Library target 'GLESv1_CM' has 'name_prefix' set. Compilers may not find it from its '-lGLESv1_CM' linker flag in the 'glesv1_cm.pc' pkg-config file. WARNING: Library target 'GLESv1_CM' has 'name_prefix' set. Compilers may not find it from its '-lGLESv1_CM' linker flag in the 'glesv1_cm-uninstalled.pc' pkg-config file. WARNING: Library target 'GLESv2' has 'name_prefix' set. Compilers may not find it from its '-lGLESv2' linker flag in the 'glesv2.pc' pkg-config file. WARNING: Library target 'GLESv2' has 'name_prefix' set. Compilers may not find it from its '-lGLESv2' linker flag in the 'glesv2-uninstalled.pc' pkg-config file. Program decode.py found: YES (/home/buildroot/autobuild/instance-3/output-1/build/mesa3d-22.1.6/src/compiler/isaspec/decode.py) Program encode.py found: YES (/home/buildroot/autobuild/instance-3/output-1/build/mesa3d-22.1.6/src/compiler/isaspec/encode.py) Message: Configuration summary: prefix: /usr libdir: lib includedir: include OpenGL: yes (ES1: yes ES2: yes) OSMesa: no EGL: no GBM: no Vulkan drivers: no llvm: no Gallium drivers: lima nouveau swrast tegra Gallium st: mesa HUD lmsensors: no Shared-glapi: yes Perfetto: no Perfetto ds: auto Build targets in project: 127 NOTICE: Future-deprecated features used: * 0.55.0: {'ExternalProgram.path', 'meson.has_exe_wrapper'} * 0.56.0: {'meson.source_root'} mesa 22.1.6 User defined options Cross files : /home/buildroot/autobuild/instance-3/output-1/build/mesa3d-22.1.6//build/cross-compilation.conf build.cmake_prefix_path: /home/buildroot/autobuild/instance-3/output-1/host/lib/cmake build.pkg_config_path : /home/buildroot/autobuild/instance-3/output-1/host/lib/pkgconfig buildtype : release default_library : shared libdir : lib prefix : /usr strip : false b_asneeded : false b_pie : false dri3 : disabled egl : disabled gallium-drivers : lima,nouveau,swrast,tegra gallium-extra-hud : true gallium-omx : disabled gallium-opencl : disabled gallium-va : disabled gallium-vc4-neon : disabled gallium-vdpau : disabled gallium-xa : disabled gallium-xvmc : disabled gbm : disabled gles1 : enabled gles2 : enabled glvnd : false glx : disabled libunwind : disabled llvm : disabled lmsensors : disabled opengl : true osmesa : false platforms : power8 : disabled shared-glapi : enabled valgrind : disabled vulkan-drivers : zstd : disabled Found ninja-1.10.2.git.kitware.jobserver-1 at /home/buildroot/autobuild/instance-3/output-1/host/bin/ninja >>> mesa3d 22.1.6 Building PATH="/home/buildroot/autobuild/instance-3/output-1/host/bin:/home/buildroot/autobuild/instance-3/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PYTHONNOUSERSITE=y /home/buildroot/autobuild/instance-3/output-1/host/bin/ninja -C /home/buildroot/autobuild/instance-3/output-1/build/mesa3d-22.1.6//build ninja: Entering directory `/home/buildroot/autobuild/instance-3/output-1/build/mesa3d-22.1.6//build' [1/220] Generating src/git_sha1.h with a custom command [2/220] Compiling C object src/gallium/winsys/tegra/drm/libtegradrm.a.p/tegra_drm_winsys.c.o [3/220] Linking static target src/gallium/winsys/tegra/drm/libtegradrm.a [4/220] Compiling C object src/gallium/winsys/kmsro/drm/libkmsrowinsys.a.p/kmsro_drm_winsys.c.o [5/220] Compiling C object src/gallium/winsys/lima/drm/liblimawinsys.a.p/lima_drm_winsys.c.o [6/220] Linking static target src/gallium/winsys/kmsro/drm/libkmsrowinsys.a [7/220] Linking static target src/gallium/winsys/lima/drm/liblimawinsys.a [8/220] Generating src/compiler/nir/nir_intrinsics.h with a custom command [9/220] Generating src/compiler/nir/nir_intrinsics_indices.h with a custom command [10/220] Compiling C object src/gallium/winsys/nouveau/drm/libnouveauwinsys.a.p/nouveau_drm_winsys.c.o [11/220] Linking static target src/gallium/winsys/nouveau/drm/libnouveauwinsys.a [12/220] Compiling C object src/gallium/drivers/tegra/libtegra.a.p/tegra_screen.c.o [13/220] Compiling C object src/gallium/drivers/tegra/libtegra.a.p/tegra_context.c.o [14/220] Linking static target src/gallium/drivers/tegra/libtegra.a [15/220] Generating src/compiler/nir/nir_opcodes.h with a custom command (wrapped by meson to capture output) [16/220] Generating src/compiler/nir/nir_builder_opcodes.h with a custom command (wrapped by meson to capture output) [17/220] Compiling C object src/gallium/drivers/softpipe/libsoftpipe.a.p/sp_quad_pipe.c.o [18/220] Compiling C object src/gallium/drivers/softpipe/libsoftpipe.a.p/sp_fence.c.o [19/220] Compiling C object src/gallium/drivers/softpipe/libsoftpipe.a.p/sp_clear.c.o [20/220] Compiling C object src/gallium/drivers/softpipe/libsoftpipe.a.p/sp_buffer.c.o [21/220] Compiling C object src/gallium/drivers/softpipe/libsoftpipe.a.p/sp_fs_exec.c.o [22/220] Compiling C object src/gallium/drivers/softpipe/libsoftpipe.a.p/sp_draw_arrays.c.o [23/220] Compiling C object src/gallium/drivers/softpipe/libsoftpipe.a.p/sp_state_blend.c.o [24/220] Generating src/gallium/drivers/lima/lima_nir_algebraic.c with a custom command (wrapped by meson to capture output) [25/220] Compiling C object src/gallium/drivers/softpipe/libsoftpipe.a.p/sp_compute.c.o [26/220] Compiling C object src/gallium/drivers/softpipe/libsoftpipe.a.p/sp_flush.c.o [27/220] Compiling C object src/gallium/drivers/softpipe/libsoftpipe.a.p/sp_state_rasterizer.c.o [28/220] Compiling C object src/gallium/drivers/softpipe/libsoftpipe.a.p/sp_state_clip.c.o [29/220] Compiling C object src/gallium/drivers/softpipe/libsoftpipe.a.p/sp_state_so.c.o [30/220] Compiling C object src/gallium/drivers/softpipe/libsoftpipe.a.p/sp_state_image.c.o [31/220] Compiling C object src/gallium/drivers/softpipe/libsoftpipe.a.p/sp_texture.c.o [32/220] Compiling C object src/gallium/drivers/softpipe/libsoftpipe.a.p/sp_state_derived.c.o [33/220] Compiling C object src/gallium/drivers/softpipe/libsoftpipe.a.p/sp_quad_fs.c.o [34/220] Compiling C object src/gallium/drivers/softpipe/libsoftpipe.a.p/sp_screen.c.o [35/220] Compiling C object src/gallium/drivers/softpipe/libsoftpipe.a.p/sp_state_surface.c.o [36/220] Compiling C object src/gallium/drivers/softpipe/libsoftpipe.a.p/sp_state_vertex.c.o [37/220] Compiling C object src/gallium/drivers/softpipe/libsoftpipe.a.p/sp_state_sampler.c.o [38/220] Compiling C object src/gallium/drivers/softpipe/libsoftpipe.a.p/sp_tile_cache.c.o [39/220] Compiling C object src/gallium/drivers/softpipe/libsoftpipe.a.p/sp_query.c.o [40/220] Compiling C object src/gallium/drivers/softpipe/libsoftpipe.a.p/sp_surface.c.o [41/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_heap.c.o [42/220] Compiling C object src/gallium/drivers/softpipe/libsoftpipe.a.p/sp_state_shader.c.o [43/220] Compiling C object src/gallium/drivers/softpipe/libsoftpipe.a.p/sp_context.c.o [44/220] Compiling C object src/gallium/drivers/softpipe/libsoftpipe.a.p/sp_prim_vbuf.c.o [45/220] Compiling C object src/gallium/drivers/softpipe/libsoftpipe.a.p/sp_tex_tile_cache.c.o [46/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_mm.c.o [47/220] Compiling C object src/gallium/drivers/softpipe/libsoftpipe.a.p/sp_image.c.o [48/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_fence.c.o [49/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_vp3_video_bsp.c.o [50/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_screen.c.o [51/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_resource.c.o [52/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_vp3_video.c.o [53/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_vp3_video_vp.c.o [54/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_format.c.o [55/220] Compiling C object src/gallium/drivers/softpipe/libsoftpipe.a.p/sp_setup.c.o [56/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_clear.c.o [57/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_texture.c.o [58/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_fragprog.c.o [59/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_fragtex.c.o [60/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_formats.c.o [61/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_screen.c.o [62/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_query.c.o [63/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_buffer.c.o [64/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_draw.c.o [65/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_push.c.o [66/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_context.c.o [67/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_state.c.o [68/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nouveau_video.c.o [69/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_vertprog.c.o [70/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_push.c.o [71/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_miptree.c.o [72/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_state_validate.c.o [73/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv40_verttex.c.o [74/220] Compiling C object src/gallium/drivers/softpipe/libsoftpipe.a.p/sp_quad_depth_test.c.o ../src/gallium/drivers/softpipe/sp_quad_depth_test.c: In function 'depth_test_quad': ../src/gallium/drivers/softpipe/sp_quad_depth_test.c:568:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] DEPTHTEST(data->qzzzz, <, data->bzzzz); ^ ../src/gallium/drivers/softpipe/sp_quad_depth_test.c:568:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../src/gallium/drivers/softpipe/sp_quad_depth_test.c:571:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] DEPTHTEST(data->qzzzz, ==, data->bzzzz); ^ ../src/gallium/drivers/softpipe/sp_quad_depth_test.c:571:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../src/gallium/drivers/softpipe/sp_quad_depth_test.c:574:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] DEPTHTEST(data->qzzzz, <=, data->bzzzz); ^ ../src/gallium/drivers/softpipe/sp_quad_depth_test.c:574:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../src/gallium/drivers/softpipe/sp_quad_depth_test.c:577:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] DEPTHTEST(data->qzzzz, >, data->bzzzz); ^ ../src/gallium/drivers/softpipe/sp_quad_depth_test.c:577:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../src/gallium/drivers/softpipe/sp_quad_depth_test.c:580:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] DEPTHTEST(data->qzzzz, !=, data->bzzzz); ^ ../src/gallium/drivers/softpipe/sp_quad_depth_test.c:580:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ../src/gallium/drivers/softpipe/sp_quad_depth_test.c:583:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] DEPTHTEST(data->qzzzz, >=, data->bzzzz); ^ ../src/gallium/drivers/softpipe/sp_quad_depth_test.c:583:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [75/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video_vp.c.o [76/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_vbo.c.o [77/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_resource.c.o [78/220] Generating src/mapi/es2api/es2_glapi_mapi_tmp.h with a custom command (wrapped by meson to capture output) [79/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_miptree.c.o [80/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_tex.c.o [81/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query.c.o [82/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query_hw_metric.c.o [83/220] Generating src/mapi/es1api/es1_glapi_mapi_tmp.h with a custom command (wrapped by meson to capture output) [84/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nv30_transfer.c.o [85/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_context.c.o [86/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query_hw.c.o [87/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_query_hw_sm.c.o [88/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video_bsp.c.o [89/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video_ppp.c.o [90/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_program.c.o [91/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_transfer.c.o [92/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv98_video.c.o [93/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_compute.c.o [94/220] Compiling C object src/gallium/drivers/softpipe/libsoftpipe.a.p/sp_quad_blend.c.o [95/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video_bsp.c.o [96/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_state_validate.c.o [97/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video_vp.c.o [98/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv84_video.c.o [99/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_shader_state.c.o [100/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nvfx_vertprog.c.o [101/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_screen.c.o [102/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_vbo.c.o [103/220] Compiling C object src/gallium/drivers/softpipe/libsoftpipe.a.p/sp_tex_sample.c.o ../src/gallium/drivers/softpipe/sp_tex_sample.c: In function 'compute_lambda_1d': ../src/gallium/drivers/softpipe/sp_tex_sample.c:537:4: warning: passing argument 2 of 'compute_lambda_1d_explicit_gradients' from incompatible pointer type [enabled by default] return compute_lambda_1d_explicit_gradients(sview, derivs, 0); ^ ../src/gallium/drivers/softpipe/sp_tex_sample.c:513:1: note: expected 'const float (*)[2][4]' but argument is of type 'float (*)[2][4]' compute_lambda_1d_explicit_gradients(const struct sp_sampler_view *sview, ^ ../src/gallium/drivers/softpipe/sp_tex_sample.c: In function 'compute_lambda_2d': ../src/gallium/drivers/softpipe/sp_tex_sample.c:579:4: warning: passing argument 2 of 'compute_lambda_2d_explicit_gradients' from incompatible pointer type [enabled by default] return compute_lambda_2d_explicit_gradients(sview, derivs, 0); ^ ../src/gallium/drivers/softpipe/sp_tex_sample.c:555:1: note: expected 'const float (*)[2][4]' but argument is of type 'float (*)[2][4]' compute_lambda_2d_explicit_gradients(const struct sp_sampler_view *sview, ^ ../src/gallium/drivers/softpipe/sp_tex_sample.c: In function 'compute_lambda_3d': ../src/gallium/drivers/softpipe/sp_tex_sample.c:627:4: warning: passing argument 2 of 'compute_lambda_3d_explicit_gradients' from incompatible pointer type [enabled by default] return compute_lambda_3d_explicit_gradients(sview, derivs, 0); ^ ../src/gallium/drivers/softpipe/sp_tex_sample.c:599:1: note: expected 'const float (*)[2][4]' but argument is of type 'float (*)[2][4]' compute_lambda_3d_explicit_gradients(const struct sp_sampler_view *sview, ^ ../src/gallium/drivers/softpipe/sp_tex_sample.c: In function 'compute_lambda_cube': ../src/gallium/drivers/softpipe/sp_tex_sample.c:659:4: warning: passing argument 2 of 'compute_lambda_cube_explicit_gradients' from incompatible pointer type [enabled by default] return compute_lambda_cube_explicit_gradients(sview, derivs, 0); ^ ../src/gallium/drivers/softpipe/sp_tex_sample.c:632:1: note: expected 'const float (*)[2][4]' but argument is of type 'float (*)[2][4]' compute_lambda_cube_explicit_gradients(const struct sp_sampler_view *sview, ^ ../src/gallium/drivers/softpipe/sp_tex_sample.c: In function 'compute_lambda_lod': ../src/gallium/drivers/softpipe/sp_tex_sample.c:2036:33: warning: passing argument 6 of 'compute_lambda_lod_unclamped' from incompatible pointer type [enabled by default] s, t, p, derivs, lod_in, control, lod); ^ ../src/gallium/drivers/softpipe/sp_tex_sample.c:1970:1: note: expected 'const float (*)[2][4]' but argument is of type 'float (*)[2][4]' compute_lambda_lod_unclamped(const struct sp_sampler_view *sp_sview, ^ [104/220] Linking static target src/gallium/drivers/softpipe/libsoftpipe.a [105/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv30_nvfx_fragprog.c.o [106/220] Generating src/mapi/shared-glapi/shared_glapi_mapi_tmp.h with a custom command (wrapped by meson to capture output) [107/220] Compiling C object src/mapi/es1api/libGLESv1_CM.so.1.1.0.p/.._entry.c.o [108/220] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._u_current.c.o [109/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_state.c.o [110/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_qmda0c0.c.o [111/220] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_util.cpp.o [112/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nv50_nv50_surface.c.o [113/220] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._u_execmem.c.o [114/220] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._stub.c.o [115/220] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._mapi_glapi.c.o [116/220] Compiling C object src/mapi/es2api/libGLESv2.so.2.0.0.p/.._entry.c.o [117/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_qmdc0c0.c.o [118/220] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_lowering_helper.cpp.o [119/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_formats.c.o [120/220] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_from_common.cpp.o [121/220] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._table.c.o [122/220] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_target_nv50.cpp.o [123/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_qmdc3c0.c.o [124/220] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_target.cpp.o [125/220] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_bb.cpp.o [126/220] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_serialize.cpp.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_serialize.cpp.o /home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-g++ -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/home/buildroot/autobuild/instance-3/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include -I/home/buildroot/autobuild/instance-3/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/libdrm -I/home/buildroot/autobuild/instance-3/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -DNDEBUG -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++1y -O3 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="22.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DHAVE_LIMA -DHAVE_NOUVEAU -DHAVE_SWRAST -DHAVE_TEGRA -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DUSE_ARM_ASM -DMAJOR_IN_SYSMACROS -DHAS_SCHED_H -DHAS_SCHED_GETAFFINITY -DHAVE_XLOCALE_H -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_QSORT_R -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DMESA_EXECMEM -DHAVE_GALLIUM_EXTRA_HUD=1 -DVK_USE_PLATFORM_DISPLAY_KHR -Werror=return-type -Werror=empty-body -Wno-non-virtual-dtor -Wno-missing-field-initializers -fno-math-errno -fno-trapping-math -Werror=format -Wformat-security -ffunction-sections -fdata-sections -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_serialize.cpp.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_serialize.cpp.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_serialize.cpp.o -c ../src/gallium/drivers/nouveau/codegen/nv50_ir_serialize.cpp In file included from ../src/compiler/nir/nir.h:40:0, from ../src/compiler/nir/nir_serialize.h:27, from ../src/gallium/drivers/nouveau/codegen/nv50_ir_serialize.cpp:7: ../src/compiler/nir/nir.h: In function 'constexpr nir_variable_mode operator|(nir_variable_mode, nir_variable_mode)': ../src/util/enum_operators.h:35:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:36:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:36:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:37:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:38:29: error: 'ua' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:38:35: error: 'ub' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:39:1: error: body of constexpr function 'constexpr nir_variable_mode operator|(nir_variable_mode, nir_variable_mode)' not a return-statement } \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_variable_mode& operator|=(nir_variable_mode&, nir_variable_mode)': ../src/util/enum_operators.h:44:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:45:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:45:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:46:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:47:4: error: 'ua' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:47:13: error: 'ub' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:50:1: error: body of constexpr function 'constexpr nir_variable_mode& operator|=(nir_variable_mode&, nir_variable_mode)' not a return-statement } \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_variable_mode operator&(nir_variable_mode, nir_variable_mode)': ../src/util/enum_operators.h:35:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:36:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:36:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:37:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:38:29: error: 'ua' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:38:35: error: 'ub' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:39:1: error: body of constexpr function 'constexpr nir_variable_mode operator&(nir_variable_mode, nir_variable_mode)' not a return-statement } \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_variable_mode& operator&=(nir_variable_mode&, nir_variable_mode)': ../src/util/enum_operators.h:44:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:45:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:45:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:46:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:47:4: error: 'ua' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:47:13: error: 'ub' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:50:1: error: body of constexpr function 'constexpr nir_variable_mode& operator&=(nir_variable_mode&, nir_variable_mode)' not a return-statement } \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_variable_mode operator^(nir_variable_mode, nir_variable_mode)': ../src/util/enum_operators.h:35:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:36:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:36:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:37:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:38:29: error: 'ua' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:38:35: error: 'ub' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:39:1: error: body of constexpr function 'constexpr nir_variable_mode operator^(nir_variable_mode, nir_variable_mode)' not a return-statement } \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_variable_mode& operator^=(nir_variable_mode&, nir_variable_mode)': ../src/util/enum_operators.h:44:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:45:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:45:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:46:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:47:4: error: 'ua' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:47:13: error: 'ub' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:50:1: error: body of constexpr function 'constexpr nir_variable_mode& operator^=(nir_variable_mode&, nir_variable_mode)' not a return-statement } \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_variable_mode operator~(nir_variable_mode)': ../src/util/enum_operators.h:58:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:68:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR' MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, ~) ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:59:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:68:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR' MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, ~) ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:59:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:68:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR' MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, ~) ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:60:32: error: 'ua' was not declared in this scope return static_cast(op ua); \ ^ ../src/util/enum_operators.h:68:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR' MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, ~) ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:61:1: error: body of constexpr function 'constexpr nir_variable_mode operator~(nir_variable_mode)' not a return-statement } \ ^ ../src/util/enum_operators.h:68:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR' MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, ~) ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_metadata operator|(nir_metadata, nir_metadata)': ../src/util/enum_operators.h:35:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:36:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:36:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:37:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:38:29: error: 'ua' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:38:35: error: 'ub' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:39:1: error: body of constexpr function 'constexpr nir_metadata operator|(nir_metadata, nir_metadata)' not a return-statement } \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_metadata& operator|=(nir_metadata&, nir_metadata)': ../src/util/enum_operators.h:44:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:45:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:45:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:46:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:47:4: error: 'ua' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:47:13: error: 'ub' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:50:1: error: body of constexpr function 'constexpr nir_metadata& operator|=(nir_metadata&, nir_metadata)' not a return-statement } \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_metadata operator&(nir_metadata, nir_metadata)': ../src/util/enum_operators.h:35:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:36:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:36:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:37:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:38:29: error: 'ua' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:38:35: error: 'ub' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:39:1: error: body of constexpr function 'constexpr nir_metadata operator&(nir_metadata, nir_metadata)' not a return-statement } \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_metadata& operator&=(nir_metadata&, nir_metadata)': ../src/util/enum_operators.h:44:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:45:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:45:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:46:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:47:4: error: 'ua' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:47:13: error: 'ub' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:50:1: error: body of constexpr function 'constexpr nir_metadata& operator&=(nir_metadata&, nir_metadata)' not a return-statement } \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_metadata operator^(nir_metadata, nir_metadata)': ../src/util/enum_operators.h:35:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:36:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:36:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:37:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:38:29: error: 'ua' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:38:35: error: 'ub' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:39:1: error: body of constexpr function 'constexpr nir_metadata operator^(nir_metadata, nir_metadata)' not a return-statement } \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_metadata& operator^=(nir_metadata&, nir_metadata)': ../src/util/enum_operators.h:44:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:45:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:45:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:46:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:47:4: error: 'ua' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:47:13: error: 'ub' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:50:1: error: body of constexpr function 'constexpr nir_metadata& operator^=(nir_metadata&, nir_metadata)' not a return-statement } \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_metadata operator~(nir_metadata)': ../src/util/enum_operators.h:58:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:68:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR' MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, ~) ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:59:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:68:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR' MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, ~) ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:59:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:68:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR' MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, ~) ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:60:32: error: 'ua' was not declared in this scope return static_cast(op ua); \ ^ ../src/util/enum_operators.h:68:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR' MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, ~) ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:61:1: error: body of constexpr function 'constexpr nir_metadata operator~(nir_metadata)' not a return-statement } \ ^ ../src/util/enum_operators.h:68:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR' MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, ~) ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ [127/220] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_graph.cpp.o [128/220] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_lowering_gv100.cpp.o [129/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_resource.c.o [130/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_compute.c.o [131/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_miptree.c.o [132/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_hw_metric.c.o [133/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_hw.c.o [134/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_context.c.o ../src/gallium/drivers/nouveau/nvc0/nvc0_context.c: In function 'nvc0_context_get_sample_position': ../src/gallium/drivers/nouveau/nvc0/nvc0_context.c:637:8: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] ptr = nvc0_get_sample_locations(sample_count); ^ [135/220] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_build_util.cpp.o [136/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query.c.o [137/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_shader_state.c.o [138/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query_hw_sm.c.o [139/220] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_ssa.cpp.o [140/220] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_target_gv100.cpp.o [141/220] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_target_gm107.cpp.o [142/220] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_target_nvc0.cpp.o [143/220] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_from_nir.cpp.o FAILED: src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_from_nir.cpp.o /home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-g++ -Isrc/gallium/drivers/nouveau/libnouveau.a.p -Isrc/gallium/drivers/nouveau -I../src/gallium/drivers/nouveau -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/home/buildroot/autobuild/instance-3/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include -I/home/buildroot/autobuild/instance-3/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/libdrm -I/home/buildroot/autobuild/instance-3/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/libdrm/nouveau -fvisibility=hidden -DNDEBUG -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++1y -O3 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="22.1.6"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DHAVE_LIMA -DHAVE_NOUVEAU -DHAVE_SWRAST -DHAVE_TEGRA -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DEGL_NO_X11 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DUSE_ARM_ASM -DMAJOR_IN_SYSMACROS -DHAS_SCHED_H -DHAS_SCHED_GETAFFINITY -DHAVE_XLOCALE_H -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_QSORT_R -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DMESA_EXECMEM -DHAVE_GALLIUM_EXTRA_HUD=1 -DVK_USE_PLATFORM_DISPLAY_KHR -Werror=return-type -Werror=empty-body -Wno-non-virtual-dtor -Wno-missing-field-initializers -fno-math-errno -fno-trapping-math -Werror=format -Wformat-security -ffunction-sections -fdata-sections -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -MD -MQ src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_from_nir.cpp.o -MF src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_from_nir.cpp.o.d -o src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_from_nir.cpp.o -c ../src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp In file included from ../src/compiler/nir/nir.h:40:0, from ../src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp:25: ../src/compiler/nir/nir.h: In function 'constexpr nir_variable_mode operator|(nir_variable_mode, nir_variable_mode)': ../src/util/enum_operators.h:35:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:36:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:36:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:37:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:38:29: error: 'ua' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:38:35: error: 'ub' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:39:1: error: body of constexpr function 'constexpr nir_variable_mode operator|(nir_variable_mode, nir_variable_mode)' not a return-statement } \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_variable_mode& operator|=(nir_variable_mode&, nir_variable_mode)': ../src/util/enum_operators.h:44:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:45:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:45:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:46:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:47:4: error: 'ua' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:47:13: error: 'ub' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:50:1: error: body of constexpr function 'constexpr nir_variable_mode& operator|=(nir_variable_mode&, nir_variable_mode)' not a return-statement } \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_variable_mode operator&(nir_variable_mode, nir_variable_mode)': ../src/util/enum_operators.h:35:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:36:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:36:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:37:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:38:29: error: 'ua' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:38:35: error: 'ub' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:39:1: error: body of constexpr function 'constexpr nir_variable_mode operator&(nir_variable_mode, nir_variable_mode)' not a return-statement } \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_variable_mode& operator&=(nir_variable_mode&, nir_variable_mode)': ../src/util/enum_operators.h:44:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:45:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:45:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:46:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:47:4: error: 'ua' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:47:13: error: 'ub' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:50:1: error: body of constexpr function 'constexpr nir_variable_mode& operator&=(nir_variable_mode&, nir_variable_mode)' not a return-statement } \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_variable_mode operator^(nir_variable_mode, nir_variable_mode)': ../src/util/enum_operators.h:35:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:36:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:36:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:37:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:38:29: error: 'ua' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:38:35: error: 'ub' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:39:1: error: body of constexpr function 'constexpr nir_variable_mode operator^(nir_variable_mode, nir_variable_mode)' not a return-statement } \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_variable_mode& operator^=(nir_variable_mode&, nir_variable_mode)': ../src/util/enum_operators.h:44:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:45:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:45:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:46:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:47:4: error: 'ua' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:47:13: error: 'ub' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:50:1: error: body of constexpr function 'constexpr nir_variable_mode& operator^=(nir_variable_mode&, nir_variable_mode)' not a return-statement } \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_variable_mode operator~(nir_variable_mode)': ../src/util/enum_operators.h:58:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:68:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR' MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, ~) ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:59:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:68:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR' MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, ~) ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:59:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:68:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR' MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, ~) ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:60:32: error: 'ua' was not declared in this scope return static_cast(op ua); \ ^ ../src/util/enum_operators.h:68:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR' MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, ~) ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/util/enum_operators.h:61:1: error: body of constexpr function 'constexpr nir_variable_mode operator~(nir_variable_mode)' not a return-statement } \ ^ ../src/util/enum_operators.h:68:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR' MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, ~) ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_metadata operator|(nir_metadata, nir_metadata)': ../src/util/enum_operators.h:35:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:36:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:36:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:37:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:38:29: error: 'ua' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:38:35: error: 'ub' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:39:1: error: body of constexpr function 'constexpr nir_metadata operator|(nir_metadata, nir_metadata)' not a return-statement } \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_metadata& operator|=(nir_metadata&, nir_metadata)': ../src/util/enum_operators.h:44:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:45:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:45:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:46:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:47:4: error: 'ua' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:47:13: error: 'ub' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:50:1: error: body of constexpr function 'constexpr nir_metadata& operator|=(nir_metadata&, nir_metadata)' not a return-statement } \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_metadata operator&(nir_metadata, nir_metadata)': ../src/util/enum_operators.h:35:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:36:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:36:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:37:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:38:29: error: 'ua' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:38:35: error: 'ub' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:39:1: error: body of constexpr function 'constexpr nir_metadata operator&(nir_metadata, nir_metadata)' not a return-statement } \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_metadata& operator&=(nir_metadata&, nir_metadata)': ../src/util/enum_operators.h:44:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:45:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:45:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:46:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:47:4: error: 'ua' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:47:13: error: 'ub' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:50:1: error: body of constexpr function 'constexpr nir_metadata& operator&=(nir_metadata&, nir_metadata)' not a return-statement } \ ^ ../src/util/enum_operators.h:66:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, &) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_metadata operator^(nir_metadata, nir_metadata)': ../src/util/enum_operators.h:35:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:36:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:36:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:37:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:38:29: error: 'ua' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:38:35: error: 'ub' was not declared in this scope return static_cast(ua op ub); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:39:1: error: body of constexpr function 'constexpr nir_metadata operator^(nir_metadata, nir_metadata)' not a return-statement } \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_metadata& operator^=(nir_metadata&, nir_metadata)': ../src/util/enum_operators.h:44:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:45:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:45:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:46:12: error: expected ';' before 'ub' IntType ub = static_cast(b); \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:47:4: error: 'ua' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:47:13: error: 'ub' was not declared in this scope ua op##= ub; \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:50:1: error: body of constexpr function 'constexpr nir_metadata& operator^=(nir_metadata&, nir_metadata)' not a return-statement } \ ^ ../src/util/enum_operators.h:67:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, ^) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_metadata operator~(nir_metadata)': ../src/util/enum_operators.h:58:20: error: expected type-specifier using IntType = std::underlying_type_t; \ ^ ../src/util/enum_operators.h:68:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR' MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, ~) ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:59:4: error: 'IntType' was not declared in this scope IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:68:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR' MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, ~) ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:59:12: error: expected ';' before 'ua' IntType ua = static_cast(a); \ ^ ../src/util/enum_operators.h:68:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR' MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, ~) ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:60:32: error: 'ua' was not declared in this scope return static_cast(op ua); \ ^ ../src/util/enum_operators.h:68:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR' MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, ~) ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/util/enum_operators.h:61:1: error: body of constexpr function 'constexpr nir_metadata operator~(nir_metadata)' not a return-statement } \ ^ ../src/util/enum_operators.h:68:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR' MESA_DEFINE_CPP_ENUM_UNARY_OPERATOR(Enum, ~) ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_variable_mode operator|(nir_variable_mode, nir_variable_mode)': ../src/util/enum_operators.h:39:1: error: control reaches end of non-void function [-Werror=return-type] } \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:221:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_variable_mode) ^ ../src/compiler/nir/nir.h: In function 'constexpr nir_metadata operator|(nir_metadata, nir_metadata)': ../src/util/enum_operators.h:39:1: error: control reaches end of non-void function [-Werror=return-type] } \ ^ ../src/util/enum_operators.h:65:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR' MESA_DEFINE_CPP_ENUM_BINARY_OPERATOR(Enum, |) \ ^ ../src/compiler/nir/nir.h:2944:1: note: in expansion of macro 'MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS' MESA_DEFINE_CPP_ENUM_BITFIELD_OPERATORS(nir_metadata) ^ cc1plus: some warnings being treated as errors [144/220] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_lowering_gm107.cpp.o [145/220] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_print.cpp.o [146/220] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir.cpp.o [147/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_program.c.o [148/220] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_screen.c.o [149/220] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_emit_nv50.cpp.o [150/220] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_emit_gk110.cpp.o [151/220] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_emit_gv100.cpp.o [152/220] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_emit_nvc0.cpp.o [153/220] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_lowering_nv50.cpp.o [154/220] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_emit_gm107.cpp.o [155/220] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_peephole.cpp.o [156/220] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_ra.cpp.o [157/220] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_lowering_nvc0.cpp.o [158/220] Compiling C object src/mapi/shared-glapi/libglapi.so.0.0.0.p/.._entry.c.o [159/220] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_from_tgsi.cpp.o ninja: build stopped: subcommand failed. package/pkg-generic.mk:290: recipe for target '/home/buildroot/autobuild/instance-3/output-1/build/mesa3d-22.1.6/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-3/output-1/build/mesa3d-22.1.6/.stamp_built] Error 1 make: Leaving directory '/home/buildroot/autobuild/instance-3/buildroot'