Re: Build glibmm fails with Solaris Forte C++ compiler
- From: "Marko Anastasov" <marko anastasov gmail com>
- To: "simon zheng sun com" <Simon Zheng sun com>
- Cc: murrayc murrayc com, gtkmm-list gnome org
- Subject: Re: Build glibmm fails with Solaris Forte C++ compiler
- Date: Tue, 4 Mar 2008 18:37:41 +0100
On Tue, Mar 4, 2008 at 5:25 PM, simon zheng sun com <Simon Zheng sun com> wrote:
> Hi Murray and All,
>
> I fail to build glibmm 2.15.7 on Solaris. But it works well with
> previous V2.15.6. Current error message shows as 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>&)".
> "
> My compiler info is here.
>
> bash-3.2$ cc -V
> cc: Sun C 5.8 Patch 121016-05 2007/01/10
> usage: cc [ options] files. Use 'cc -flags' for details
> bash-3.2$
> bash-3.2$ CC -V
> CC: Sun C++ 5.8 Patch 121018-07 2006/11/01
>
> I'm a C++ newer and have little knowledge with C++ template. Seem to
> unwrap unable to decide what's right type of parameter. How can I fix?
> Could you give me a hand?
This reminds me of
http://bugzilla.gnome.org/show_bug.cgi?id=395572
Marko
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]