riscv-openocd/src/helper
Antonio Borneo 9ce6b0898e helper/compiler: fix build on MacOS
On MacOS, clang defines [1]:
	#define __nonnull _Nonnull
that creates incompatibility with GCC and with the macro __nonnull
defined in some libc.

Detect clang on MacOS and undefine __nonnull.

Change-Id: I64fcf51b102ea91c196e657debd8c267943a2b08
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Links: [1] https://github.com/llvm/llvm-project/blob/llvmorg-16.0.0/clang/lib/Frontend/InitPreprocessor.cpp#L1226
Reviewed-on: https://review.openocd.org/c/openocd/+/7544
Tested-by: jenkins
2023-03-25 18:00:28 +00:00
..
Makefile.am helper: add compiler.h to handle compiler specific workarounds 2023-03-18 21:57:27 +00:00
align.h helper: add align.h 2021-08-14 13:29:43 +01:00
bin2char.sh openocd: src: replace SPDX to remaining files 2022-07-23 13:59:25 +00:00
binarybuffer.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
binarybuffer.h openocd: src/helper: replace the GPL-2.0-or-later license tag 2022-07-23 13:54:09 +00:00
bits.h openocd: src/helper: replace the GPL-2.0-or-later license tag 2022-07-23 13:54:09 +00:00
command.c openocd: drop JIM_EMBEDDED macro 2023-03-18 21:58:01 +00:00
command.h helper: command: drop last LF ('\n') from sequence of command_print() 2023-02-26 10:00:52 +00:00
compiler.h helper/compiler: fix build on MacOS 2023-03-25 18:00:28 +00:00
configuration.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
configuration.h openocd: src/helper: replace the GPL-2.0-or-later license tag 2022-07-23 13:54:09 +00:00
crc32.c helper: Add generic little endian CRC32 function 2023-01-21 22:57:33 +00:00
crc32.h helper: Add generic little endian CRC32 function 2023-01-21 22:57:33 +00:00
fileio.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
fileio.h openocd: src/helper: replace the GPL-2.0-or-later license tag 2022-07-23 13:54:09 +00:00
jep106.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
jep106.h openocd: src/helper: replace the GPL-2.0-or-later license tag 2022-07-23 13:54:09 +00:00
jep106.inc jep106: update to revision JEP106BF.01 Oct 2022 2022-11-15 21:34:22 +00:00
jim-nvp.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
jim-nvp.h helper/jim-nvp: avoid camelcase error by deprecated API 2022-07-23 13:59:49 +00:00
list.h helper/list: add list_for_each_entry_direction() 2022-02-14 15:10:41 +00:00
log.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
log.h log: remove unused set_log_output() 2022-09-13 22:10:19 +00:00
nvp.c helper: nvp: add openocd nvp files 2023-02-03 22:47:40 +00:00
nvp.h helper: add compiler.h to handle compiler specific workarounds 2023-03-18 21:57:27 +00:00
options.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
replacements.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
replacements.h openocd: src/helper: replace the GPL-2.0-or-later license tag 2022-07-23 13:54:09 +00:00
startup.tcl openocd: build: add SPDX tag 2022-07-23 13:06:38 +00:00
system.h openocd: src/helper: replace the GPL-2.0-or-later license tag 2022-07-23 13:54:09 +00:00
time_support.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
time_support.h openocd: src/helper: replace the GPL-2.0-or-later license tag 2022-07-23 13:54:09 +00:00
time_support_common.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
types.h helper/types: use unsigned type for all h_u64_to_le() and similar 2022-11-11 20:10:05 +00:00
update_jep106.pl openocd: src: replace SPDX to remaining files 2022-07-23 13:59:25 +00:00
util.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
util.h openocd: src/helper: replace the GPL-2.0-or-later license tag 2022-07-23 13:54:09 +00:00