https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53984
David Rodriguez Ibeas changed:
What|Removed |Added
CC||dibeas at ieee dot org
: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: dibeas at ieee dot org
The following valid code fails to compile:
void f( int );
namespace N {
struct A
{
friend void f(int);
friend void f(double
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60860
--- Comment #1 from David Rodriguez Ibeas ---
Created this as a new bug as I cannot say for sure whether this is the same
issue as 53012, but they maybe related.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53012
--- Comment #3 from dibeas at ieee dot org 2010-02-08 12:11 ---
Also related: dereferencing a data member pointer with an lvalue incorrectly
yields an lvalue:
struct X { int x; };
X f();
void g() {
int X::*ptr = &X::x;
f().*ptr = 5; // should not compile!
}
--
dibea
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48980
Summary: Misleading error message when a conversion is invalid
while calling a protected base constructor
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: trivial