From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9814B3858C00; Sun, 14 May 2023 12:26:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9814B3858C00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1684067190; bh=BHcdeeVU2YCBgniX4SzHzynyqXFJWU6G2CZpPpY49ns=; h=From:To:Subject:Date:In-Reply-To:References:From; b=eEutjWC/Gjfd66FPRHKUidhQGjn/d3r6zXBDJFZ6M7/Eq1i28UoabCsFkwHg2R1ea 9LVU716g/e7hjn1Nbu00Zh9DewOIXyJK40Nzgj6kjXVxmKG5lLSfm0kYP4Xe0Hryj/ gjv61YSdIKvJcX1l1g/zktxWp9P5x9k0BuyD/POo= From: "janezz55 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/109818] std::trunc() requires a hack after building DJGPP Date: Sun, 14 May 2023 12:26:29 +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: 13.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: janezz55 at gmail dot com X-Bugzilla-Status: NEW 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=3D109818 --- Comment #27 from Janez Zemva --- forcing glibcxx_cv_c99_math_tr1=3Dyes solved this issue for me. The C99 compliance test is really strict, even openlibm fails the test (it fails to define float_t and double_t, but this can be hacked around).=