[PATCH] Rename block.{h,c} to gdb-block.{h, c}

Kevin Buettner kevinb@redhat.com
Mon Sep 7 02:53:21 GMT 2020


On Sun, 6 Sep 2020 18:47:33 -0700
Saagar Jha <saagar@saagarjha.com> wrote:

> macOS, by default, uses a case-insensitive filesystem and ships with a
> header in its SDK (as part of Xcode) at /usr/include/Block.h.
> <functional> from Xcode 12's SDK for macOS 11 includes this file but
> due to GDB's compilation flags ends up including gdb/block.h. The
> simplest solution to fix the resulting build errors is to just rename it
> to something that doesn't conflict.

As you may have gathered in my reply to Simon, I'm not (yet) in favor
of your renaming changes, but I would like to understand it better. 
Could you provide additional details about where things go wrong?
I.e. please show the error messages and code snippets from the
relevant header files...

Thanks,

Kevin



More information about the Gdb-patches mailing list