Re: Macro name collisions on MacOS 15.1

2024-12-31 Thread Michael Schwingen
On 31.12.24 12:07, Antonio Borneo wrote: Mistake in the reply above, src/helper/list.h is now a copy from BSD. The Linux code has been dropped to use a more permissive license. Then, the file is part of GNU libc, it's not an abuse from MacOS environment. https://sourceware.org/git/?p=glibc.git;

Re: Macro name collisions on MacOS 15.1

2024-12-31 Thread Antonio Borneo
Please have a look at https://review.openocd.org/c/openocd/+/8683 Regards Antonio On Tue, Dec 31, 2024 at 12:07 PM Antonio Borneo wrote: > > On Tue, Dec 31, 2024 at 9:05 AM Antonio Borneo > wrote: > > > > > > > > On Mon, Dec 30, 2024, 23:07 Andrew Shelley wrote: > >> > >> In file included fro

Re: Macro name collisions on MacOS 15.1

2024-12-31 Thread Antonio Borneo
On Tue, Dec 31, 2024 at 9:05 AM Antonio Borneo wrote: > > > > On Mon, Dec 30, 2024, 23:07 Andrew Shelley wrote: >> >> In file included from src/target/espressif/esp32_apptrace.c:25: >> >> ./src/helper/list.h:49:9: error: 'LIST_HEAD' macro redefined >> [-Werror,-Wmacro-redefined] >> >>49 | #d

Re: Macro name collisions on MacOS 15.1

2024-12-31 Thread Antonio Borneo
On Mon, Dec 30, 2024, 23:07 Andrew Shelley wrote: > In file included from src/target/espressif/esp32_apptrace.c:25: > > *./src/helper/list.h:49:9: **error: **'LIST_HEAD' macro redefined > [-Werror,-Wmacro-redefined]* > >49 | #define LIST_HEAD(name) \ > > | *^* > > */Applications

Macro name collisions on MacOS 15.1

2024-12-30 Thread Andrew Shelley
In file included from src/target/espressif/esp32_apptrace.c:25: *./src/helper/list.h:49:9: **error: **'LIST_HEAD' macro redefined [-Werror,-Wmacro-redefined]* 49 | #define LIST_HEAD(name) \ | *^* */Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SD