https://bugzilla.novell.com/show_bug.cgi?id=205663 mvidner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |visnov@novell.com Status|NEW |ASSIGNED ------- Comment #1 from mvidner@novell.com 2006-09-21 09:16 MST ------- Apparently there is a bug in Type::basematch: if (expected->isReference() && (!expected->isConst() && isConst())) { #if DO_DEBUG y2debug ("doesn't expect const"); #endif return -1; } I don't know what this means, it may intend to prevent initializing a reference to a const to something that is not a const, but it swaps "this" and "expected". It happens to work for strings, because string literals are of type string, not const string. Weird. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.