From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E27503858438; Mon, 3 Oct 2022 18:06:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E27503858438 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664820382; bh=iGj5b1sL8BzITGrePstK7uBE9HKxOEAqjcl5dv5L2C4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=I4RtPIrBnaH/P8GFaO+iKILwq90RuD4rTmcW06vk/2SWGGEamcrMuRyz6Go5OjqTS dmlaBL10zdaHhQGK+A0LOde0JHmq4D48Tw7VXf2LFqUkhZbhiB59k6/rar8bPDEPf1 xblkmmjrO/unT2saaPunBRD1Au/XZO7xmKLiIppk= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/107134] fatal error: stdint.h: No such file or directory for freestanding C++ toolchain Date: Mon, 03 Oct 2022 18:06:22 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.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: 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=3D107134 --- Comment #2 from Jonathan Wakely --- Although we could do: #if ! _GLIBCXX_HOSTED #include #else #include_next #endif to make it work.=