Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Kevin Buettner <kevinb@redhat.com>
To: Saagar Jha <saagar@saagarjha.com>
Cc: gdb-patches@sourceware.org, Simon Marchi <simark@simark.ca>
Subject: Re: [PATCH] Rename block.{h,c} to gdb-block.{h, c}
Date: Sun, 6 Sep 2020 19:53:21 -0700	[thread overview]
Message-ID: <20200906195321.598e166c@f32-m1.lan> (raw)
In-Reply-To: <D3FC6073-CB6D-47FA-ADCC-4D29687C51D8@saagarjha.com>

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



  reply	other threads:[~2020-09-07  2:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-06  2:21 Saagar Jha
2020-09-06 11:52 ` Simon Marchi
2020-09-07  1:47   ` Saagar Jha
2020-09-07  2:53     ` Kevin Buettner [this message]
2020-09-07  5:27       ` Saagar Jha
2020-09-07  2:40   ` Kevin Buettner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200906195321.598e166c@f32-m1.lan \
    --to=kevinb@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=saagar@saagarjha.com \
    --cc=simark@simark.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox