Lars, I get an undefined reference to convert<int, Glib::ustring> for the gtk frontend. I fixed that by explicitly specifying the second template. Is this ok or do you want another solution?
Georg
diff -p -r -U 3 -X excl.tmp lyx-1.4-clean/src/frontends/gtk/ChangeLog lyx-1.4-cvs/src/frontends/gtk/ChangeLog --- lyx-1.4-clean/src/frontends/gtk/ChangeLog 2005-01-29 16:10:09.000000000 +0100 +++ lyx-1.4-cvs/src/frontends/gtk/ChangeLog 2005-01-29 16:17:38.000000000 +0100 @@ -1,3 +1,8 @@ +2005-01-29 Georg Baum <[EMAIL PROTECTED]> + + * GPrint.C (apply): use convert<int, string> to avoid undefined + reference to convert<int, Glib::ustring> + 2005-01-29 Georg Baum <[EMAIL PROTECTED]> * *.C: make ugly concept check hack work with gcc 3.4 and above diff -p -r -U 3 -X excl.tmp lyx-1.4-clean/src/frontends/gtk/GPrint.C lyx-1.4-cvs/src/frontends/gtk/GPrint.C --- lyx-1.4-clean/src/frontends/gtk/GPrint.C 2005-01-29 16:10:09.000000000 +0100 +++ lyx-1.4-cvs/src/frontends/gtk/GPrint.C 2005-01-29 16:14:44.000000000 +0100 @@ -50,9 +50,9 @@ void GPrint::apply() pp.all_pages = all_->get_active(); pp.from_page = pp.to_page = 0; if (!fromEntry_->get_text().empty()) { - pp.from_page = convert<int>(fromEntry_->get_text()); + pp.from_page = convert<int, string>(fromEntry_->get_text()); if (!toEntry_->get_text().empty()) - pp.to_page = convert<int>(toEntry_->get_text()); + pp.to_page = convert<int, string>(toEntry_->get_text()); } pp.odd_pages = odd_->get_active(); pp.even_pages = even_->get_active();