From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 46FE63858C54; Thu, 11 May 2023 20:13:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 46FE63858C54 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1683835986; bh=Lk3ACSr8NpVNwyPXqt9Ejh6OEvUneyGBSb4YtW8VlaU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=YJLBnoZPq5xIkcHle896AU4SREX3SVgtHCuNqe19jn39VYUArvU0Up7bexbKDkq7D v3s6WF898u9Llg1K+krek/19QiEhLlCf4fwYt9QIJK9ywyZUtNbqOOusWJnjFN24rG rUmNA8civA6rTWb3Bo+8cXunF4vxBaNOENXjyPCU= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/109818] std::trunc() requires a hack after building DJGPP Date: Thu, 11 May 2023 20:13:06 +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: 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=3D109818 --- Comment #2 from Jonathan Wakely --- Also: if test $enable_cheaders =3D c_std ; then AC_MSG_WARN([the --enable-cheaders=3Dc_std configuration is obsolete, c_global should be used instead]) AC_MSG_WARN([if you are unable to use c_global please report a bug or inform libstdc++@gcc.gnu.org]) if test $enable_cheaders_obsolete !=3D yes ; then AC_MSG_ERROR(use --enable-cheaders-obsolete to use c_std "C" headers) fi fi So somebody is ignoring that when configuring djgpp. I think it would be mu= ch better to figure out how to get djgpp using the new header instead.=