bug#43579: g++ does not provide std::fegetround

2021-12-27 Thread Ricardo Wurmus
Hi, I just rediscovered this issue by adding “gcc-7” to a package’s input without also adjusting the variable that determines the order of includes. (I ended up not needing to use GCC 7 in the end.) Seeing that issue #42392 (“GCC includes ordering issue? g++: error: 'round' is not a member of

bug#43579: g++ does not provide std::fegetround

2020-11-13 Thread Miguel Ángel Arruga Vivas
Hi! Ludovic Courtès writes: >[...] > It’s the same story as . >[...] > So this is again #include_next not picking the right due to > search path ordering issues and/or duplicate entries. > > Thoughts anyone? > > I think we need a proper fix but the feedback we

bug#43579: g++ does not provide std::fegetround

2020-10-03 Thread Ludovic Courtès
Hi, (Cc’ing Maxim who’s looked into this before.) Andreas Enge skribis: > well, just put these lines into a file called "round.cpp" (as attached), > and then >gcc round.cpp Ah yes, I wasn’t sure if this was ‘gcc-toolchain’ or not. Only 7.x (the current ‘gcc-final’) works:

bug#43579: g++ does not provide std::fegetround

2020-10-02 Thread Andreas Enge
Hello, On Thu, Oct 01, 2020 at 09:39:35PM -0500, Brett Gilio wrote: > >> The following test file round.cpp does not compile with our g++-10.2.0: > >> #include > >> int main () { > >>return std::fegetround (); > >> } > > > > Could you provide detailed steps to reproduce it? well, just put

bug#43579: g++ does not provide std::fegetround

2020-10-01 Thread Brett Gilio
Ludovic Courtès writes: > Hallo! > > Andreas Enge skribis: > >> The following test file round.cpp does not compile with our g++-10.2.0: >> #include >> int main () { >>return std::fegetround (); >> } > > Could you provide detailed steps to reproduce it? > > Thanks, > Ludo’. I believe

bug#43579: g++ does not provide std::fegetround

2020-10-01 Thread Ludovic Courtès
Hallo! Andreas Enge skribis: > The following test file round.cpp does not compile with our g++-10.2.0: > #include > int main () { >return std::fegetround (); > } Could you provide detailed steps to reproduce it? Thanks, Ludo’.

bug#43579: g++ does not provide std::fegetround

2020-09-23 Thread Ricardo Wurmus
Andreas Enge writes: > On Wed, Sep 23, 2020 at 10:05:43PM +0200, Andreas Enge wrote: >> It looks very similar indeed. But then the fix given there has not fixed >> my problem, which occurs in a current gcc-toolchain. > > My impression is that the root cause is the same one, that we are somehow

bug#43579: g++ does not provide std::fegetround

2020-09-23 Thread Andreas Enge
On Wed, Sep 23, 2020 at 10:05:43PM +0200, Andreas Enge wrote: > It looks very similar indeed. But then the fix given there has not fixed > my problem, which occurs in a current gcc-toolchain. My impression is that the root cause is the same one, that we are somehow misconfiguring our gcc builds,

bug#43579: g++ does not provide std::fegetround

2020-09-23 Thread Andreas Enge
On Wed, Sep 23, 2020 at 09:03:54PM +0200, Ricardo Wurmus wrote: > Is this perhaps related to https://issues.guix.gnu.org/42392 ? It looks very similar indeed. But then the fix given there has not fixed my problem, which occurs in a current gcc-toolchain. Andreas

bug#43579: g++ does not provide std::fegetround

2020-09-23 Thread Ricardo Wurmus
Andreas Enge writes: > Hello, > > this report is related to >https://github.com/fplll/fplll/issues/444 > > The following test file round.cpp does not compile with our g++-10.2.0: > #include > int main () { >return std::fegetround (); > } > > > Compilation (also when adding

bug#43579: g++ does not provide std::fegetround

2020-09-23 Thread Andreas Enge
On Wed, Sep 23, 2020 at 06:21:21PM +0200, Andreas Enge wrote: > Now it would be interesting to have a look at config.log for gcc... I did so with gcc-10.2.0 and executed ./configure in the subdirectory libstdc++-v3. The relevant part of config.log is this: configure:16462: checking for ISO C99

bug#43579: g++ does not provide std::fegetround

2020-09-23 Thread Andreas Enge
Hello, this report is related to https://github.com/fplll/fplll/issues/444 The following test file round.cpp does not compile with our g++-10.2.0: #include int main () { return std::fegetround (); } Compilation (also when adding "--std=c++11") prints the error: round.cpp: In function