Bug 757385
Summary: | Error in boost lexical_cast | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Rich Mattes <richmattes> | ||||
Component: | boost | Assignee: | Petr Machata <pmachata> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | rawhide | CC: | bkoz, denis.arnaud_fedora, mnewsome, pertusus, pmachata | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i686 | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2011-11-30 00:45:16 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 754865 | ||||||
Attachments: |
|
Description
Rich Mattes
2011-11-26 19:15:44 UTC
Reproducer: #include <boost/lexical_cast.hpp> struct ble; typedef struct ble *meh; int main(int argc, char *argv[]) { meh heh; return boost::lexical_cast<std::string>(heh); } Created attachment 537703 [details]
Proposed fix
To decide whether source type is char, they first ask for whether it's char or wchar, and then compare sizeofs. I think the same can be achieved by simply asking whether src is char, but I might be missing something. This patch implements what I propose. I'll pass it through upstream now.
https://svn.boost.org/trac/boost/ticket/6182 is the upstream ticket. I built a package that should fix this issue. Could you please try whether it actually does? Looks like your update has taken care of the issue, I was able to build ompl against it. Thanks for looking at this, I'll go ahead and close this ticket as fixed. http://koji.fedoraproject.org/koji/buildinfo?buildID=275880 |