Hello every body,
 
I wished to forward you this email exchange that I had with Masahide Kashiwagi.
 
Could you confirm that it is an issue with gcc-13?
 
Thank.
 
===========================================================================
Patrick DUPRÉ | | email: pdupre@gmx.com
===========================================================================
 
 
Sent: Tuesday, January 23, 2024 at 1:34 AM
From: "Masahide Kashiwagi" <kashi@waseda.jp>
To: "Patrick Dupre" <pdupre@gmx.com>
Subject: Re: Error
Hello Patrick,
 
Thank you for using kv library!
 
I think this error may be gcc-13 bug. gcc-13 can't compile the small code below:
 
#include <iostream>

int main()
{
   _Float64x a;
   std::cin >> a;
}
 
There is no problem with gcc12. We apologize for the inconvenience.
 
 
 
2024年1月23日(火) 1:17 Patrick Dupre <pdupre@gmx.com>:
Hello Masahide,

c++ -I.. -I/usr/local/include test-interval.cc
gives
../kv/constants.hpp:180:20: error: no match for ‘operator>>’ (operand types are ‘std::istringstream’ {aka ‘std::__cxx11::basic_istringstream<char>’} and ‘_Float64x’)
  180 |                 is >> r;
      |                 ~~ ^~ ~
      |                 |     |
      |                 |     _Float64x
      |                 std::istringstream {aka std::__cxx11::basic_istringstream<char>}

clang++ -I.. -I/usr/local/include test-interval.cc
is OK

g++ (GCC) 13.2.1 20231011 (Red Hat 13.2.1-4)
clang version 16.0.6 (Fedora 16.0.6-3.fc38)

Thank for your comments

Regards.

===========================================================================
 Patrick DUPRÉ                                 | | email: pdupre@gmx.com
===========================================================================
 


--
柏木 雅英 kashi@waseda.jp