GNU bug report logs - #43579
g++ does not provide std::fegetround

Previous Next

Package: guix;

Reported by: Andreas Enge <andreas <at> enge.fr>

Date: Wed, 23 Sep 2020 16:23:01 UTC

Severity: important

Full log


View this message in rfc822 format

From: Brett Gilio <brettg <at> gnu.org>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: Andreas Enge <andreas <at> enge.fr>, 43579 <at> debbugs.gnu.org
Subject: bug#43579: g++ does not provide std::fegetround
Date: Thu, 01 Oct 2020 21:39:35 -0500
Ludovic Courtès <ludo <at> gnu.org> writes:

> Hallo!
>
> Andreas Enge <andreas <at> enge.fr> skribis:
>
>> The following test file round.cpp does not compile with our g++-10.2.0:
>> #include <cfenv>
>> int main () {
>>    return std::fegetround ();
>> }
>
> Could you provide detailed steps to reproduce it?
>
> Thanks,
> Ludo’.

I believe `std::fegetround` was introduced in C++11, are you using the
appropriate flag?

Brett Gilio




This bug report was last modified 136 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.