--- Comment #2 from bangerth at gmail dot com 2009-08-25 14:39 ---
Hm, confusing:
-
enum E {e};
struct A {
A(int);
explicit A(E) {};
};
int main () { A a = e; }
-
This compiles but not links becase A::A(int) is called. If
--- Comment #3 from kretz at kde dot org 2009-08-25 15:26 ---
Actually I came across this problem because my code was failing on MSVC and
icc. Then I noticed that icc compiles the code, the one that I pasted,
differently. On further investigation I decided that gcc is at fault and that
m
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40685
Jonathan Wakely changed:
What|Removed |Added
Known to work||4.7.0
Known to fail|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40685
Paolo Carlini changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|
--- Comment #1 from kretz at kde dot org 2009-07-29 14:51 ---
I just tested with 4.4.1 and I can still confirm the problem.
--
kretz at kde dot org changed:
What|Removed |Added
---