From nobody Wed Jun 12 08:46:16 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VzfK510Z8z5P2Mf for ; Wed, 12 Jun 2024 08:46:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VzfK455dVz4ZSD for ; Wed, 12 Jun 2024 08:46:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1718181976; a=rsa-sha256; cv=none; b=gjCSKWPKXQgJyIBKznSNpRyaNKEldA/bLez9RTBN79BR3/hzbGIDT0wY3CArMXly/hzRc2 xIpm7ik7vAIKyW12WAzvPFgx/Stg7qnEMRH44EAKZA0KbII2bZCQhGxKgcrt1m1xwM0GzN wi/fDRSr3p72OdJdapTDmqgB13y9NO9LJMejmfdjb+NZAtjgjJfLs6p2FDKgpZ9OGaPwaB UPsXigHVNeVmxVsQdQD1fgtC5ourxe/XTJEZFXuKSLUtzC053OiagodjKkw2GCXZ8gIAgh mRBp0We6DTQavR3L/H8Ecce1u+WRaSNN95urRFXF69JkodEpTUSrRFdKAVc1Eg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718181976; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bE5t2LaLvxyXNofCa1DmYKXLxN8JAc3X/TYBQuTsZZo=; b=jALKI5Jkk+bQ6fykesjUsv5a3Yer7jbw0GKDiYI6YgCuFy8mJT3eRh9iZps9rzxJdfB1Bv CclPLBVKy2NfeA/NuD74PxsaprhsjkARdyHw0hcplt5G6tfLTtLIrVInM7AzoZipx8+Vv/ kyHNhZ0hz7bMy2f25Suw0lahPv00n7sh3KlUEh9RQCMW6KsNTL+p6tzT+jwhlU28+z5YxK 9BUx6T9mx6YE0SL6D7Zv/LwATcB+iYVtx2/NDZNeuSAAu4MFD4AKRJdHrfV2bf4sdmYTii YddVuKdv7CvS9D4udyywpPSw4djiZ0u42TyghOq6vkagFqBYgscO8p0ZqOImpg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VzfK44h86zmB3 for ; Wed, 12 Jun 2024 08:46:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 45C8kG85065093 for ; Wed, 12 Jun 2024 08:46:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 45C8kGrp065086 for bugs@FreeBSD.org; Wed, 12 Jun 2024 08:46:16 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 279692] '#include ' is broken: error: "If libc++ starts defining , the __has_include check should move to libc++'s " Date: Wed, 12 Jun 2024 08:46:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: yuri@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279692 Bug ID: 279692 Summary: '#include ' is broken: error: "If libc++ starts defining , the __has_include check should move to libc++'s " Product: Base System Version: 14.0-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: yuri@freebsd.org This simple program can't be compiled on 14.1: #include int main() { } $ c++ x.cpp=20 In file included from x.cpp:2: /usr/include/c++/v1/csetjmp:40:6: error: "If libc++ starts defining , the __has_include check should move to libc++'s " 40 | # error "If libc++ starts defining , the __has_include check should move to libc++'s " | ^ 1 error generated. The error message doesn't explain what is wrong with the program. The C++ standard says that should be included for the C++ feature std::jmp_buf. See here: https://en.cppreference.com/w/cpp/utility/program/jmp_buf --=20 You are receiving this mail because: You are the assignee for the bug.=