diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2024-10-24 07:02:54 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2024-10-24 07:03:02 +0000 |
commit | a5b1eecbed07519c637095e3291b9cbd9748e823 (patch) | |
tree | 02909c4804e9b11bb33066a0713f39d9bcbe9b4d /sys/dev/iicbus/adm1030.c | |
parent | 4f12b529f40422589404fc939ed4a92710412a61 (diff) | |
download | src-main.tar.gz src-main.zip |
Some internal checking functions should only be declared when both
NDEBUG and LLVM_ENABLE_ABI_BREAKING_CHECKS are undefined, otherwise you
would get compile errors similar to:
/usr/src/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:921:13: error: no member named 'VerifyDAGDivergence' in 'llvm::SelectionDAG'
921 | CurDAG->VerifyDAGDivergence();
| ~~~~~~ ^
Adjust the conditions for declaring and using these functions. This has
also been reported upstream.
Reported by: cy
PR: 280562
MFC after: 1 month
Diffstat (limited to 'sys/dev/iicbus/adm1030.c')
0 files changed, 0 insertions, 0 deletions