------- Comment #1 from pinskia at gcc dot gnu dot org 2009-09-29 19:15 ------- Can you show the line where the call to EJPeriod::EJPeriod is done? It might be because String that you are passing is a rvalue which cannot be bound to String& as that would mean it needs to be bound to a lvalue. rvalues can be bound to const references (or in C++0x rvalue references too).
-- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal Status|UNCONFIRMED |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41508