Bug 1589368
Summary: | --std=c++11 regression 'call of overloaded vector::insert is ambiguous' | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Serguei Makarov <smakarov> |
Component: | gcc | Assignee: | Marek Polacek <mpolacek> |
Status: | CLOSED ERRATA | QA Contact: | Michael Petlan <mpetlan> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.5 | CC: | fweimer, jakub, jwakely, mcermak, ohudlick |
Target Milestone: | rc | Keywords: | TestBlocker |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | gcc-4.8.5-36.el7 | Doc Type: | No Doc Update |
Doc Text: |
undefined
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2018-10-30 07:27:17 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: |
Description
Serguei Makarov
2018-06-08 19:49:28 UTC
This bug probably relates to related components, e.g. libstdc++-devel-4.8.5-35.el7.x86_64, rather than the gcc package itself. Reproduced; gcc-4.8.5-34.el7 still builds your reproducer OK, -35.el7 fails. Caused by my changes in #1575888, whereby I adjusted std::vector::insert signatures to match what's documented in http://en.cppreference.com/w/cpp/container/vector/insert. Looks like we need r200458 too, but this is getting a little bit crazy; maybe we should back out the changes made in #1575888 and suggest using DTS for C++11 there. I'm backing out the changes made in -35. Related tests passed with gcc-4.8.5-36.el7. VERIFIED. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:3016 |