From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D11883858C50; Wed, 21 Feb 2024 14:15:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D11883858C50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1708524924; bh=wrkFiAUqFJPjQDaLzHcLNqNOPZCtmmWA8RV55FwDlTs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=TseO2a15/BPw0fj9rrtr0S2oECpjjat5YKc441XbONfVVnJAi1ryII48xSQoKxZPC wNLs+IPbruj7NP+XbqHG1lqXlMywqXwNYgHSArIBzOrcSSSyTxZRXFOm4FmR/QZJx9 bl4xc/nWrbrQyRKf3oFEw2LhPB2j0aSmiU2C2RhA= From: "rsandifo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/114007] gcc chokes on __has_cpp_attribute(clang::unsafe_buffer_usage) Date: Wed, 21 Feb 2024 14:15:24 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rsandifo at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D114007 --- Comment #14 from Richard Sandiford --- I might have misunderstood the suggestion and so be arguing against somethi= ng that no-one is suggesting, but I think [[__extension__ =E2=80=A6]] should a= ccept the same things for all standard versions (C23, pre-C23, and GNU). It was inte= nded to be something that header files and macros could use without needing to be sensitive to the user's choice of standard.=