https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29188
sandra at gcc dot gnu.org changed:
What|Removed |Added
Keywords||diagnostic
CC
--- Comment #3 from bangerth at dealii dot org 2006-10-10 03:44 ---
Confirmed. Not a useful extension because confusing:
-
struct A;
struct B {
B (const A&);
};
struct A {
operator B() const;
};
A a;
B b1 = a;// xpass
---
g/x> /home/ban
--- Comment #2 from greifel at megatop200 dot com 2006-09-23 16:29 ---
According to 1.4/8 implementations with extensions are required to "diagnose
programs that use extensions that are ill-formed according to this
International
Standard." This code is ill-formed so presumably g++ should
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-09-22 23:58 ---
I changed the summary since this is undocumented extension and we reject it
with -pedantic already, I don't know if this is useful extension or not.
--
pinskia at gcc dot gnu dot org changed:
What