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: pdu...@gmx.com
===========================================================================
 
 
Sent: Tuesday, January 23, 2024 at 1:34 AM
From: "Masahide Kashiwagi" <ka...@waseda.jp>
To: "Patrick Dupre" <pdu...@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 <pdu...@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: pdu...@gmx.com
===========================================================================
 


--
柏木 雅英 ka...@waseda.jp
--
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to