CVSROOT:        /cvs
Module name:    ports
Changes by:     rob...@cvs.openbsd.org  2023/09/06 15:03:04

Added files:
        devel/gdb/patches: patch-gdb_gdbsupport_enum-flags_h 
                           patch-include_diagnostics_h 

Log message:
unbreak build with clang-16 by fetching the fix from upstream's git:

>From 12e3f3bc6ec74eb50e04675f5bcf962482d3ff25 Mon Sep 17 00:00:00 2001
From: Simon Marchi <simon.mar...@efficios.com>
Date: Thu, 23 Feb 2023 12:35:40 -0500
Subject: [PATCH] gdbsupport: ignore -Wenum-constexpr-conversion in
enum-flags.h

enum-flags.h:95:52: error: integer value -1 is outside the valid range of 
values [0, 15] for this enumeration type [-Wenum-constexpr-conversion]
integer_for_size<sizeof (T), static_cast<bool>(T (-1) < T (0))>::type

Reply via email to