This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Do not accidentally include in-tree readline headers
- From: Andreas Schwab <schwab at suse dot de>
- To: Tom Tromey <tom at tromey dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 26 Sep 2018 15:12:06 +0200
- Subject: Re: [PATCH] Do not accidentally include in-tree readline headers
- References: <20180926125834.8845-1-tom@tromey.com>
On Sep 26 2018, Tom Tromey <tom@tromey.com> wrote:
> This patch fixes the problem in a mildly hacky way: remove the
> offending -I option, and change gdb to use #include "../opcodes/..."
> instead. This continues to make it clear where the header comes from,
> without allowing incorrect behavior.
Most of these headers are "opcode/...", not "opcodes/...".
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."