From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DE74D38493EF; Sun, 4 Dec 2022 17:27:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DE74D38493EF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1670174855; bh=4JGXh/HDcUYaQDMUzSoO/HJOO7fVx5JiNhXQTf6e7a0=; h=From:To:Subject:Date:From; b=trkDM2lJezcd7Rh+CYSRAW6K33D++GFoJYC4GYW+0zmEI8/v31QaXjpUekKca5JFD aHHE50SlH427ZHMjdJ+zoQt5og1FrQ2Ohy4bjDgSECCQkHA0a/jtwxkb8Y2W75tN6B dvdmQ0Z224SrIAQXI8KI37g/zSxFKRsEzDOWr1yE= From: "sss@li-snyder.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug plugins/107964] New: [13] missing plugin header contracts.h Date: Sun, 04 Dec 2022 17:27:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: plugins X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sss@li-snyder.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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=3D107964 Bug ID: 107964 Summary: [13] missing plugin header contracts.h Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: plugins Assignee: unassigned at gcc dot gnu.org Reporter: sss@li-snyder.org Target Milestone: --- I have a gcc plugin that fails to compile against trunk because the contracts.h header, which is included by cp-tree.h, is not installed to the plugins directory. Trivially fixed thus: diff --git a/gcc/cp/Make-lang.in b/gcc/cp/Make-lang.in index af25bdc044a..e189f556955 100644 --- a/gcc/cp/Make-lang.in +++ b/gcc/cp/Make-lang.in @@ -39,7 +39,7 @@ CXX_INSTALL_NAME :=3D $(shell echo c++|sed '$(program_transform_name)') GXX_INSTALL_NAME :=3D $(shell echo g++|sed '$(program_transform_name)') CXX_TARGET_INSTALL_NAME :=3D $(target_noncanonical)-$(shell echo c++|sed '$(program_transform_name)') GXX_TARGET_INSTALL_NAME :=3D $(target_noncanonical)-$(shell echo g++|sed '$(program_transform_name)') -CP_PLUGIN_HEADERS :=3D cp-tree.h cxx-pretty-print.h name-lookup.h type-uti= ls.h operators.def cp-trait.def +CP_PLUGIN_HEADERS :=3D cp-tree.h cxx-pretty-print.h name-lookup.h type-uti= ls.h operators.def cp-trait.def contracts.h #^L # Define the names for selecting c++ in LANGUAGES. (I can send a reproducer if desired, but i didn't think that was really necessary in this case.)=