From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5F75D3858401; Mon, 3 Oct 2022 18:29:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5F75D3858401 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664821770; bh=fGydy3h8F6eYQhaUd3W8706/4d0YXoyPrDjvvqhLfKs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=mFilz0JJN0ekZFZUghJ8ibSa75e3gMHHQN2D5c1K9twJ1UIwrRisVyp6zsD9oncJA wm4jX3jYCMNmHIiA8nWAEVFUqT9wWE5sHijjMFK0QDU3JopUWDmNiHUvGu/ma3piM5 zEiXmMlc8CSYo82ezcc3zvQa+XrC6M/9xqZr2L1Y= From: "unlvsur at live dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/104605] _GLIBCXX_USE_C99_STDINT_TR1 macro is not defined for canadian cross freestanding C++ toolchain Date: Mon, 03 Oct 2022 18:29:30 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: unlvsur at live dot com 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=3D104605 --- Comment #8 from cqwrteur --- (In reply to Jonathan Wakely from comment #7) > Created attachment 53657 [details] > Use predefined macros to define freestanding >=20 > I have this patch locally, but I don't think the changes are > actually necessary. Using -ffreestanding should ensure they are present > already. stdint.h is a freestanding C header but not a freestanding C++ header if i remembered correctly.=