Fw: Re: Error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx
===========================================================================
 
 
Sent: Tuesday, January 23, 2024 at 1:34 AM
From: "Masahide Kashiwagi" <kashi@xxxxxxxxx>
To: "Patrick Dupre" <pdupre@xxxxxxx>
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@xxxxxxx>:
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@xxxxxxx
===========================================================================
 


--
柏木 雅英 kashi@xxxxxxxxx
--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux