[0/2] Cherry-pick patches to build with Clang 16 to gdb-13-branch

Message ID 20230505154850.48685-1-simon.marchi@efficios.com
Headers
Series Cherry-pick patches to build with Clang 16 to gdb-13-branch |

Message

Simon Marchi May 5, 2023, 3:48 p.m. UTC
  I would suggest cherry-picking to gdb-13-branch these two patches that
fix some build issues when building with Clang 16.  Some people at AMD
needed them, so it's possible that people elsewhere will face the same
problems.

Simon Marchi (2):
  gdbsupport: ignore -Wenum-constexpr-conversion in enum-flags.h
  gdb: fix -Wsingle-bit-bitfield-constant-conversion warning in
    z80-tdep.c

 gdb/z80-tdep.c          | 10 +++++-----
 gdbsupport/enum-flags.h |  3 +++
 include/diagnostics.h   |  9 +++++++++
 3 files changed, 17 insertions(+), 5 deletions(-)
  

Comments

Tom Tromey May 5, 2023, 7:14 p.m. UTC | #1
>>>>> "Simon" == Simon Marchi via Gdb-patches <gdb-patches@sourceware.org> writes:

Simon> I would suggest cherry-picking to gdb-13-branch these two patches that
Simon> fix some build issues when building with Clang 16.  Some people at AMD
Simon> needed them, so it's possible that people elsewhere will face the same
Simon> problems.

Seems totally fine to me FWIW.
Approved-By: Tom Tromey <tom@tromey.com>

Tom
  
Simon Marchi May 5, 2023, 7:27 p.m. UTC | #2
On 5/5/23 15:14, Tom Tromey wrote:
>>>>>> "Simon" == Simon Marchi via Gdb-patches <gdb-patches@sourceware.org> writes:
> 
> Simon> I would suggest cherry-picking to gdb-13-branch these two patches that
> Simon> fix some build issues when building with Clang 16.  Some people at AMD
> Simon> needed them, so it's possible that people elsewhere will face the same
> Simon> problems.
> 
> Seems totally fine to me FWIW.
> Approved-By: Tom Tromey <tom@tromey.com>
> 
> Tom

Thanks, pushed.

Simon