[Bug c++/48980] Misleading error message when a conversion is invalid while calling a protected base constructor
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48980 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||FIXED Target Milestone|--- |4.6.0 --- Comment #2 from Andrew Pinski 2011-07-24 20:18:33 UTC --- Fixed in 4.6.0 and above.
[Bug c++/48980] Misleading error message when a conversion is invalid while calling a protected base constructor
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48980 --- Comment #1 from Jonathan Wakely 2011-05-12 15:58:06 UTC --- With 4.6 you just get: d.cc: In constructor 'derived::derived(const int*)': d.cc:6:39: error: invalid conversion from 'const int*' to 'int*' [-fpermissive] d.cc:3:4: error: initializing argument 1 of 'base::base(int*)' [-fpermissive]