qemu-cr16/include/tcg
Richard Henderson 8c00f56fca tcg/tci: Disable -Wundef FFI_GO_CLOSURES warning
Since we build TCI with FFI (commit 22f15579fa "tcg: Build ffi data
structures for helpers") we get on Darwin:

  In file included from ../../tcg/tci.c:22:
  In file included from include/tcg/helper-info.h:13:
  /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/ffi/ffi.h:483:5: warning: 'FFI_GO_CLOSURES' is not defined, evaluates to 0 [-Wundef]
    483 | #if FFI_GO_CLOSURES
        |     ^
  1 warning generated.

This was fixed in upstream libffi in 2023, but not backported to MacOSX.
Simply disable the warning locally.

Reported-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2025-12-05 07:50:15 -06:00
..
debug-assert.h tcg: Split out tcg/debug-assert.h 2023-05-23 18:54:55 -07:00
debuginfo.h accel/tcg: Move perf and debuginfo support to tcg/ 2024-01-29 21:04:10 +10:00
helper-info.h tcg/tci: Disable -Wundef FFI_GO_CLOSURES warning 2025-12-05 07:50:15 -06:00
insn-start-words.h tcg: Define INSN_START_WORDS as constant 3 2025-05-01 07:37:13 -07:00
perf.h accel/tcg: Move perf and debuginfo support to tcg/ 2024-01-29 21:04:10 +10:00
startup.h tcg: Pass max_threads not max_cpus to tcg_init 2025-04-23 15:07:32 -07:00
tcg-cond.h tcg: Introduce TCG_COND_TST{EQ,NE} 2024-02-03 23:43:47 +00:00
tcg-gvec-desc.h tcg: Adjust simd_desc size encoding 2020-10-08 05:57:32 -05:00
tcg-ldst.h accel/tcg: Widen tcg-ldst.h addresses to uint64_t 2023-05-16 16:30:29 -07:00
tcg-mo.h
tcg-op-common.h tcg: Add tcg_gen_atomic_{xchg,fetch_and,fetch_or}_i128 2025-08-30 16:37:24 +01:00
tcg-op-gvec-common.h tcg: Split out tcg_gen_gvec_dup_imm_var 2025-06-23 11:44:28 -07:00
tcg-op-gvec.h tcg: Split tcg/tcg-op-gvec.h 2023-06-05 12:04:29 -07:00
tcg-op.h tcg: Add tcg_gen_atomic_{xchg,fetch_and,fetch_or}_i128 2025-08-30 16:37:24 +01:00
tcg-opc.h tcg: Define INSN_START_WORDS as constant 3 2025-05-01 07:37:13 -07:00
tcg-temp-internal.h tcg: Reset free_temps before tcg_optimize 2024-12-12 14:28:38 -06:00
tcg.h accel/tcg: Propagate AccelState to dump_accel_info() 2025-07-15 19:34:33 +02:00