You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/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>
3 weeks ago
..
debug-assert.h tcg: Split out tcg/debug-assert.h 3 years ago
debuginfo.h accel/tcg: Move perf and debuginfo support to tcg/ 2 years ago
helper-info.h tcg/tci: Disable -Wundef FFI_GO_CLOSURES warning 3 weeks ago
insn-start-words.h tcg: Define INSN_START_WORDS as constant 3 8 months ago
perf.h accel/tcg: Move perf and debuginfo support to tcg/ 2 years ago
startup.h tcg: Pass max_threads not max_cpus to tcg_init 8 months ago
tcg-cond.h tcg: Introduce TCG_COND_TST{EQ,NE} 2 years ago
tcg-gvec-desc.h
tcg-ldst.h accel/tcg: Widen tcg-ldst.h addresses to uint64_t 3 years ago
tcg-mo.h
tcg-op-common.h tcg: Add tcg_gen_atomic_{xchg,fetch_and,fetch_or}_i128 4 months ago
tcg-op-gvec-common.h tcg: Split out tcg_gen_gvec_dup_imm_var 6 months ago
tcg-op-gvec.h tcg: Split tcg/tcg-op-gvec.h 3 years ago
tcg-op.h tcg: Add tcg_gen_atomic_{xchg,fetch_and,fetch_or}_i128 4 months ago
tcg-opc.h tcg: Define INSN_START_WORDS as constant 3 8 months ago
tcg-temp-internal.h tcg: Reset free_temps before tcg_optimize 1 year ago
tcg.h accel/tcg: Propagate AccelState to dump_accel_info() 5 months ago