GCC9 bug on ppc64le ? or why just fail in ppc64le rawhide?

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

 



Hi, 
I'm trying fix a FTBFS of gdcm , but just in ppc64le rawhide I have one
strange compile error [1] which I can't find a solution, all logs where
[2] . Can someone help me to fix it ? 

Thanks.

[1] 
/builddir/build/BUILD/gdcm-2.8.8/Testing/Source/Common/Cxx/TestString2.cxx:29:24: error: narrowing conversion of '-1' from 'int' to 'char'  [-Wnarrowing]
BUILDSTDERR:    29 |   gdcm::String<EOF,64,0> s3 = "coucou";
BUILDSTDERR:       |                        ^
BUILDSTDERR: /builddir/build/BUILD/gdcm-2.8.8/Testing/Source/Common/Cxx/TestString2.cxx:29:31: error: invalid conversion from 'const char*' to 'int' [-fpermissive]
BUILDSTDERR:    29 |   gdcm::String<EOF,64,0> s3 = "coucou";
BUILDSTDERR:       |                               ^~~~~~~~
BUILDSTDERR:       |                               |
BUILDSTDERR:       |                               const char*
BUILDSTDERR: /builddir/build/BUILD/gdcm-2.8.8/Testing/Source/Common/Cxx/TestString2.cxx:30:19: error: request for member 'c_str' in 's3', which is of non-class type 'int'
BUILDSTDERR:    30 |   std::cout << s3.c_str() << " -> " << s3.size() << std::endl;
BUILDSTDERR:       |                   ^~~~~
BUILDSTDERR: /builddir/build/BUILD/gdcm-2.8.8/Testing/Source/Common/Cxx/TestString2.cxx:30:43: error: request for member 'size' in 's3', which is of non-class type 'int'
BUILDSTDERR:    30 |   std::cout << s3.c_str() << " -> " << s3.size() << std::endl;
BUILDSTDERR:       |                                           ^~~~
BUILDSTDERR: /builddir/build/BUILD/gdcm-2.8.8/Testing/Source/Common/Cxx/TestString2.cxx:32:24: error: narrowing conversion of '-1' from 'int' to 'char'  [-Wnarrowing]
BUILDSTDERR:    32 |   gdcm::String<EOF,64,0> s4 = "coucou!";



[2] 
https://copr.fedorainfracloud.org/coprs/sergiomb/opencv/build/859384/


-- 
Sérgio M. B.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux