Hi,

With SS11 compiler, building the latest glibmm will fail. But work fine 
with SS12. Error message shows below.

"
pkgbuild: "file.cc", line 2144: Error: Overloading ambiguity between 
"Glib::unwrap<Gio::File>(const Glib::RefPtr<const Gio::File>&)" and 
"Glib::unwrap<const Gio::File>(const Glib::RefPtr<const Gio::File>&)".
pkgbuild: "file.cc", line 2199: Error: Overloading ambiguity between 
"Glib::unwrap<Gio::File>(const Glib::RefPtr<const Gio::File>&)" and 
"Glib::unwrap<const Gio::File>(const Glib::RefPtr<const Gio::File>&)".
pkgbuild: "file.cc", line 2204: Error: Overloading ambiguity between 
"Glib::unwrap<Gio::File>(const Glib::RefPtr<const Gio::File>&)" and 
"Glib::unwrap<const Gio::File>(const Glib::RefPtr<const Gio::File>&)".
"

So, made a patch without compiler dependency. Add an explicit template 
specializations to avoid ambiguity. Please review the patch.

Thanks,
-Simon
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: glibmm-03-overloading-ambiguity.diff
URL: 
<http://mail.opensolaris.org/pipermail/jds-review/attachments/20080305/8b9e8161/attachment.ksh>

Reply via email to