From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id ABAEF384B806; Sat, 19 Dec 2020 02:01:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ABAEF384B806 From: "unlvsur at live dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/98374] No #include on windows. Bootstrapping failure Date: Sat, 19 Dec 2020 02:01:25 +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: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: unlvsur at live dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ppalka at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Dec 2020 02:01:26 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98374 cqwrteur changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #3 from cqwrteur --- (In reply to CVS Commits from comment #2) > The master branch has been updated by Patrick Palka : >=20 > https://gcc.gnu.org/g:d7bab388b818fc21dbb9111311e114ae33e11fff >=20 > commit r11-6259-gd7bab388b818fc21dbb9111311e114ae33e11fff > Author: Patrick Palka > Date: Fri Dec 18 11:52:17 2020 -0500 >=20 > libstdc++: Fix build failure due to missing [PR98374] >=20=20=20=20=20 > This should fix a build failure on Windows which lacks , > from which we use nl_langinfo() to obtain the radix character of the > current locale. (We can't use the more portable localeconv() from > to obtain the radix character of the current locale here > because it's not thread-safe, unfortunately.) >=20=20=20=20=20 > This change means that on Windows and other such platforms, we'll just > always assume the radix character used by printf is '.' when formatti= ng > a long double through it. >=20=20=20=20=20 > libstdc++-v3/ChangeLog: >=20=20=20=20=20 > PR libstdc++/98374 > * src/c++17/floating_to_chars.cc: Guard include of > with __has_include. > (__floating_to_chars_precision) [!defined(RADIXCHAR)]: Don't > attempt to obtain the radix character of the current locale, > just assume it's '.'. Fixed=