Bug 1250419
| Summary: | <adobe/cmath.hpp> unusable with GCC 5 | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jonathan Wakely <jwakely> | ||||||
| Component: | adobe-source-libraries | Assignee: | Alec Leamas <leamas.alec> | ||||||
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 22 | CC: | leamas.alec | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | 1.0.43-28.fc23 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2015-08-27 17:58:16 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
Created attachment 1059440 [details]
Update patches for GCC 5 compatibility..
Created attachment 1059444 [details]
Update patches for GCC 5 compatibility..
(Updated patch that also removes the old patches from git).
Thanks for patches, and sorry for delay. Nordic summer holidays messes things u. Committed, pushed and built for f23 and rawhide. However, it seems like the dust must settle after bodhi2 going live before I can push an update - right now neither fedpkg update nor the web interface works, At least not for me. adobe-source-libraries-1.0.43-28.fc23 has been submitted as an update to Fedora 23. https://bugzilla.redhat.com/show_bug.cgi?id=1250419 adobe-source-libraries-1.0.43-28.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update adobe-source-libraries'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-13839 adobe-source-libraries-1.0.43-28.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: adobe-source-libraries doesn't work with the compiler shipped in F22. Version-Release number of selected component (if applicable): adobe-source-libraries-1.0.43-24.fc22.x86_64 gcc-c++-5.1.1-4.fc22.x86_64 How reproducible: Always. Steps to Reproduce: g++ -c -x c++ - <<< '#include <adobe/cmath.hpp>' Actual results: In file included from <stdin>:1:0: /usr/include/adobe/cmath.hpp: In function ‘double adobe::round_half_up(double)’: /usr/include/adobe/cmath.hpp:178:10: error: ‘floor’ is not a member of ‘std’ { return std::floor(x + 0.5); } ^ /usr/include/adobe/cmath.hpp: In function ‘float adobe::round_half_up(float)’: /usr/include/adobe/cmath.hpp:181:10: error: ‘floor’ is not a member of ‘std’ { return std::floor(x + 0.5f); } ^ /usr/include/adobe/cmath.hpp: In function ‘long int adobe::lround_half_up(double)’: /usr/include/adobe/cmath.hpp:184:28: error: ‘floor’ is not a member of ‘std’ { return static_cast<long>(std::floor(x + 0.5)); } ^ /usr/include/adobe/cmath.hpp: In function ‘long int adobe::lround_half_up(float)’: /usr/include/adobe/cmath.hpp:187:28: error: ‘floor’ is not a member of ‘std’ { return static_cast<long>(std::floor(x + 0.5f)); } ^ Expected results: No errors. Additional info: This also prevents adobe-source-libraries being rebuilt for rawhide.