X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Received: by 2002:ac8:605a:0:b0:3a8:15e1:757 with SMTP id k26-20020ac8605a000000b003a815e10757mr558033qtm.194.1674313010008; Sat, 21 Jan 2023 06:56:50 -0800 (PST) X-Received: by 2002:a5b:38b:0:b0:7ca:9b40:72a7 with SMTP id k11-20020a5b038b000000b007ca9b4072a7mr2345709ybp.130.1674313009814; Sat, 21 Jan 2023 06:56:49 -0800 (PST) Newsgroups: comp.os.msdos.djgpp Date: Sat, 21 Jan 2023 06:56:49 -0800 (PST) Injection-Info: google-groups.googlegroups.com; posting-host=46.123.241.53; posting-account=CPdYWwoAAABpWBQIr4qTKwtnquUvEEfS NNTP-Posting-Host: 46.123.241.53 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: patch anyone? From: "janezz55 (janezz55 AT gmail DOT com) [via djgpp AT delorie DOT com]" Injection-Date: Sat, 21 Jan 2023 14:56:49 +0000 Content-Type: text/plain; charset="UTF-8" Bytes: 1345 Lines: 3 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 30LFFEVO027039 Reply-To: djgpp AT delorie DOT com It should be easy to make std::trunc() work. First we need to cajole gcc into using C99 math.h (-D_GLIBCXX_USE_C99_MATH_TR1), then several ::using lines need to be removed and a trunc() implementation for double needs to be inserted. Will someone write the patch or do I need to?