[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#43579: g++ does not provide std::fegetround
From: |
Brett Gilio |
Subject: |
bug#43579: g++ does not provide std::fegetround |
Date: |
Thu, 01 Oct 2020 21:39:35 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Ludovic Courtès <ludo@gnu.org> writes:
> Hallo!
>
> Andreas Enge <andreas@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