This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/5247] Memory eating infinite loop on default parameter in constructor which is reference to class


------- Additional Comments From rguenth at gcc dot gnu dot org  2005-08-29 10:05 -------
EDG manages to produce

pr5247.C(2): error: no suitable constructor exists to convert from "int" to "a"
     a (int, const a & = 0) { }
                         ^


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5247


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]