Build glibmm fails with Solaris Forte C++ compiler
- From: "simon zheng sun com" <Simon Zheng Sun COM>
- To: murrayc murrayc com, gtkmm-list gnome org
- Subject: Build glibmm fails with Solaris Forte C++ compiler
- Date: Wed, 05 Mar 2008 00:25:47 +0800
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?
Thanks a lot,
-Simon
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]