Bug 3774
| Summary: | Reference to Member Function | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | stephen.morton |
| Component: | egcs | Assignee: | Preston Brown <pbrown> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 5.2 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 1999-07-06 14:47:26 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: | |||
Assigned to pbrown. My eyes hurt. ouch. So do mine. This rather convoluted bit of code will certainly be difficult for the compiler maintainers to fix, but I do suggest you report it to the egcs team. Again, a bug of this magnitude is currently beyond our abilities to repair. All we can do is wait for the next compiler release. |
After the following declarations - typedef void (class_y::*state_entry_proc) (); state_entry_proc ref_proc = class_y::public_proc; - the following code in a "class_y" member function - void class_y::any_proc () { ref_proc (); }; - gives a compile error (must use ->* or .* to call member function).