|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
Problems again with Pango and CYGWINHello,
I tried to download and compile latest Pango 1.25.4 under CYGWIN but it failed. I fixed a first problem with a patch committed into bug 592194. After that, compilation continued for some sources until it stopped here: libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../../../pango-1.25.4/pango/opentype -I../.. -DHAVE_GLIB -D_REENTRANT -I/usr/include/glib-2.0 -I/lib/glib-2.0/include -g -O2 -fno-rtti -fno-exceptions -MT libharfbuzz_la-hb-ot-layout.lo -MD -MP -MF .deps/libharfbuzz_la-hb-ot-layout.Tpo -c ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc -DDLL_EXPORT -DPIC -o .libs/libharfbuzz_la-hb-ot-layout.o In file included from ../../../pango-1.25.4/pango/opentype/hb-ot-layout-gdef-private.hh:30, from ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc:33: ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh: In member function `bool LangSys::get_feature_indexes(unsigned int*, hb_tag_t*) const': ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:147: error: invalid conversion from `hb_tag_t*' to `unsigned int*' ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:147: error: initializing argument 2 of `bool IndexArray::get_indexes(unsigned int*, unsigned int*) const' ../../../pango-1.25.4/pango/opentype/hb-open-type-private.hh: At global scope: ../../../pango-1.25.4/pango/opentype/hb-open-type-private.hh: In instantiation of `ArrayOf<Record<LangSys> >': ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:66: instantiated from `RecordArrayOf<LangSys>' ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:202: instantiated from here ../../../pango-1.25.4/pango/opentype/hb-open-type-private.hh:560: error: base `GenericArrayOf<USHORT, Record<LangSys> >' with only non-default constructor in class without a constructor ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh: In instantiation of `RecordArrayOf<LangSys>': ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:202: instantiated from here ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:66: error: base `ArrayOf<Record<LangSys> >' with only non-default constructor in class without a constructor ../../../pango-1.25.4/pango/opentype/hb-open-type-private.hh: In instantiation of `ArrayOf<Record<Script> >': ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:66: instantiated from `RecordArrayOf<Script>' ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:102: instantiated from `RecordListOf<Script>' ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:208: instantiated from here ../../../pango-1.25.4/pango/opentype/hb-open-type-private.hh:560: error: base `GenericArrayOf<USHORT, Record<Script> >' with only non-default constructor in class without a constructor ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh: In instantiation of `RecordArrayOf<Script>': ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:102: instantiated from `RecordListOf<Script>' ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:208: instantiated from here ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:66: error: base `ArrayOf<Record<Script> >' with only non-default constructor in class without a constructor ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh: In instantiation of `RecordListOf<Script>': ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:208: instantiated from here ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:102: error: base `RecordArrayOf<Script>' with only non-default constructor in class without a constructor ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh: In member function `bool Feature::get_lookup_indexes(unsigned int*, hb_tag_t*) const': ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:219: error: invalid conversion from `hb_tag_t*' to `unsigned int*' ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:219: error: initializing argument 2 of `bool IndexArray::get_indexes(unsigned int*, unsigned int*) const' ../../../pango-1.25.4/pango/opentype/hb-open-type-private.hh: At global scope: ../../../pango-1.25.4/pango/opentype/hb-open-type-private.hh: In instantiation of `ArrayOf<Record<Feature> >': ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:66: instantiated from `RecordArrayOf<Feature>' ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:102: instantiated from `RecordListOf<Feature>' ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:237: instantiated from here ../../../pango-1.25.4/pango/opentype/hb-open-type-private.hh:560: error: base `GenericArrayOf<USHORT, Record<Feature> >' with only non-default constructor in class without a constructor ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh: In instantiation of `RecordArrayOf<Feature>': ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:102: instantiated from `RecordListOf<Feature>' ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:237: instantiated from here ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:66: error: base `ArrayOf<Record<Feature> >' with only non-default constructor in class without a constructor ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh: In instantiation of `RecordListOf<Feature>': ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:237: instantiated from here ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:102: error: base `RecordArrayOf<Feature>' with only non-default constructor in class without a constructor ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc: In function `hb_bool_t hb_ot_layout_language_get_feature_indexes(hb_face_t*, hb_tag_t, unsigned int, unsigned int, unsigned int*, unsigned int*)': ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc:444: error: invalid conversion from `unsigned int*' to `hb_tag_t*' ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc:444: error: initializing argument 2 of `bool LangSys::get_feature_indexes(unsigned int*, hb_tag_t*) const' ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc: In function `hb_bool_t hb_ot_layout_language_get_feature_tags(hb_face_t*, hb_tag_t, unsigned int, unsigned int, unsigned int*, hb_tag_t*)': ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc:460: error: invalid conversion from `unsigned int*' to `hb_tag_t*' ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc:460: error: initializing argument 2 of `bool LangSys::get_feature_indexes(unsigned int*, hb_tag_t*) const' ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc: In function `hb_bool_t hb_ot_layout_feature_get_lookup_indexes(hb_face_t*, hb_tag_t, unsigned int, unsigned int*, unsigned int*)': ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc:506: error: invalid conversion from `unsigned int*' to `hb_tag_t*' ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc:506: error: initializing argument 2 of `bool Feature::get_lookup_indexes(unsigned int*, hb_tag_t*) const' make[4]: *** [libharfbuzz_la-hb-ot-layout.lo] Error 1 I'm a bit worried about fixing this thing, so I posted here to know what you think about this result. Thanks a lot. Sincerely, Carlo Bramini. _______________________________________________ gtk-i18n-list mailing list gtk-i18n-list@... http://mail.gnome.org/mailman/listinfo/gtk-i18n-list |
|
|
Re: Problems again with Pango and CYGWINIt seems that this is because of a too old compiler. If I use gcc
3.4.5 I see the same problem. With gcc 4.4.0, not. Apparently gcc 3.4.5 was stricter in its interpretation of C++. --tml _______________________________________________ gtk-i18n-list mailing list gtk-i18n-list@... http://mail.gnome.org/mailman/listinfo/gtk-i18n-list |
|
|
Re: Problems again with Pango and CYGWINHi,
I fixed one of the bugs, but the one about non-default constructors seems to be an issue with old gcc only. The base class in question has no constructor. Googling suggests that many other projects have hit the same issue with no resolution. behdad On 08/18/2009 06:47 AM, carlo.bramix wrote: > Hello, > I tried to download and compile latest Pango 1.25.4 under CYGWIN but it failed. > > I fixed a first problem with a patch committed into bug 592194. > > After that, compilation continued for some sources until it stopped here: > > libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../../../pango-1.25.4/pango/opentype -I../.. -DHAVE_GLIB -D_REENTRANT -I/usr/include/glib-2.0 -I/lib/glib-2.0/include -g -O2 -fno-rtti -fno-exceptions -MT libharfbuzz_la-hb-ot-layout.lo -MD -MP -MF .deps/libharfbuzz_la-hb-ot-layout.Tpo -c ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc -DDLL_EXPORT -DPIC -o .libs/libharfbuzz_la-hb-ot-layout.o > In file included from ../../../pango-1.25.4/pango/opentype/hb-ot-layout-gdef-private.hh:30, > from ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc:33: > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh: In member function `bool LangSys::get_feature_indexes(unsigned int*, hb_tag_t*) const': > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:147: error: invalid conversion from `hb_tag_t*' to `unsigned int*' > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:147: error: initializing argument 2 of `bool IndexArray::get_indexes(unsigned int*, unsigned int*) const' > ../../../pango-1.25.4/pango/opentype/hb-open-type-private.hh: At global scope: > ../../../pango-1.25.4/pango/opentype/hb-open-type-private.hh: In instantiation of `ArrayOf<Record<LangSys> >': > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:66: instantiated from `RecordArrayOf<LangSys>' > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:202: instantiated from here > ../../../pango-1.25.4/pango/opentype/hb-open-type-private.hh:560: error: base `GenericArrayOf<USHORT, Record<LangSys> >' with only non-default constructor in class without a constructor > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh: In instantiation of `RecordArrayOf<LangSys>': > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:202: instantiated from here > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:66: error: base `ArrayOf<Record<LangSys> >' with only non-default constructor in class without a constructor > ../../../pango-1.25.4/pango/opentype/hb-open-type-private.hh: In instantiation of `ArrayOf<Record<Script> >': > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:66: instantiated from `RecordArrayOf<Script>' > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:102: instantiated from `RecordListOf<Script>' > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:208: instantiated from here > ../../../pango-1.25.4/pango/opentype/hb-open-type-private.hh:560: error: base `GenericArrayOf<USHORT, Record<Script> >' with only non-default constructor in class without a constructor > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh: In instantiation of `RecordArrayOf<Script>': > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:102: instantiated from `RecordListOf<Script>' > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:208: instantiated from here > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:66: error: base `ArrayOf<Record<Script> >' with only non-default constructor in class without a constructor > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh: In instantiation of `RecordListOf<Script>': > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:208: instantiated from here > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:102: error: base `RecordArrayOf<Script>' with only non-default constructor in class without a constructor > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh: In member function `bool Feature::get_lookup_indexes(unsigned int*, hb_tag_t*) const': > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:219: error: invalid conversion from `hb_tag_t*' to `unsigned int*' > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:219: error: initializing argument 2 of `bool IndexArray::get_indexes(unsigned int*, unsigned int*) const' > ../../../pango-1.25.4/pango/opentype/hb-open-type-private.hh: At global scope: > ../../../pango-1.25.4/pango/opentype/hb-open-type-private.hh: In instantiation of `ArrayOf<Record<Feature> >': > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:66: instantiated from `RecordArrayOf<Feature>' > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:102: instantiated from `RecordListOf<Feature>' > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:237: instantiated from here > ../../../pango-1.25.4/pango/opentype/hb-open-type-private.hh:560: error: base `GenericArrayOf<USHORT, Record<Feature> >' with only non-default constructor in class without a constructor > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh: In instantiation of `RecordArrayOf<Feature>': > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:102: instantiated from `RecordListOf<Feature>' > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:237: instantiated from here > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:66: error: base `ArrayOf<Record<Feature> >' with only non-default constructor in class without a constructor > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh: In instantiation of `RecordListOf<Feature>': > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:237: instantiated from here > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:102: error: base `RecordArrayOf<Feature>' with only non-default constructor in class without a constructor > ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc: In function `hb_bool_t hb_ot_layout_language_get_feature_indexes(hb_face_t*, hb_tag_t, unsigned int, unsigned int, unsigned int*, unsigned int*)': > ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc:444: error: invalid conversion from `unsigned int*' to `hb_tag_t*' > ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc:444: error: initializing argument 2 of `bool LangSys::get_feature_indexes(unsigned int*, hb_tag_t*) const' > ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc: In function `hb_bool_t hb_ot_layout_language_get_feature_tags(hb_face_t*, hb_tag_t, unsigned int, unsigned int, unsigned int*, hb_tag_t*)': > ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc:460: error: invalid conversion from `unsigned int*' to `hb_tag_t*' > ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc:460: error: initializing argument 2 of `bool LangSys::get_feature_indexes(unsigned int*, hb_tag_t*) const' > ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc: In function `hb_bool_t hb_ot_layout_feature_get_lookup_indexes(hb_face_t*, hb_tag_t, unsigned int, unsigned int*, unsigned int*)': > ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc:506: error: invalid conversion from `unsigned int*' to `hb_tag_t*' > ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc:506: error: initializing argument 2 of `bool Feature::get_lookup_indexes(unsigned int*, hb_tag_t*) const' > > make[4]: *** [libharfbuzz_la-hb-ot-layout.lo] Error 1 > > I'm a bit worried about fixing this thing, so I posted here to know what you think about this result. > > Thanks a lot. > Sincerely, > > Carlo Bramini. > > > _______________________________________________ > gtk-i18n-list mailing list > gtk-i18n-list@... > http://mail.gnome.org/mailman/listinfo/gtk-i18n-list > gtk-i18n-list mailing list gtk-i18n-list@... http://mail.gnome.org/mailman/listinfo/gtk-i18n-list |
|
|
|
|
|
Re: Problems again with Pango and CYGWINOn 08/21/2009 05:24 AM, carlo.bramix wrote:
> Hello, > this actually means that from now the 1.24.x must be considered as the latest version compatible with GCC 3.4.x series? Unless someone finds a fix for the compilation issues. behdad > Sincerely, > > Carlo Bramini. > > > ---------- Initial Header ----------- > >> From : "Behdad Esfahbod" behdad.esfahbod@... > To : "carlo.bramix" carlo.bramix@... > Cc : "gtk-i18n-list" gtk-i18n-list@... > Date : Tue, 18 Aug 2009 16:43:35 -0400 > Subject : Re: Problems again with Pango and CYGWIN > >> Hi, >> >> I fixed one of the bugs, but the one about non-default constructors seems to >> be an issue with old gcc only. The base class in question has no constructor. >> Googling suggests that many other projects have hit the same issue with no >> resolution. >> >> behdad >> >> On 08/18/2009 06:47 AM, carlo.bramix wrote: >>> Hello, >>> I tried to download and compile latest Pango 1.25.4 under CYGWIN but it failed. >>> >>> I fixed a first problem with a patch committed into bug 592194. >>> >>> After that, compilation continued for some sources until it stopped here: >>> >>> libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../../../pango-1.25.4/pango/opentype -I../.. -DHAVE_GLIB -D_REENTRANT -I/usr/include/glib-2.0 -I/lib/glib-2.0/include -g -O2 -fno-rtti -fno-exceptions -MT libharfbuzz_la-hb-ot-layout.lo -MD -MP -MF .deps/libharfbuzz_la-hb-ot-layout.Tpo -c ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc -DDLL_EXPORT -DPIC -o .libs/libharfbuzz_la-hb-ot-layout.o >>> In file included from ../../../pango-1.25.4/pango/opentype/hb-ot-layout-gdef-private.hh:30, >>> from ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc:33: >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh: In member function `bool LangSys::get_feature_indexes(unsigned int*, hb_tag_t*) const': >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:147: error: invalid conversion from `hb_tag_t*' to `unsigned int*' >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:147: error: initializing argument 2 of `bool IndexArray::get_indexes(unsigned int*, unsigned int*) const' >>> ../../../pango-1.25.4/pango/opentype/hb-open-type-private.hh: At global scope: >>> ../../../pango-1.25.4/pango/opentype/hb-open-type-private.hh: In instantiation of `ArrayOf<Record<LangSys> >': >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:66: instantiated from `RecordArrayOf<LangSys>' >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:202: instantiated from here >>> ../../../pango-1.25.4/pango/opentype/hb-open-type-private.hh:560: error: base `GenericArrayOf<USHORT, Record<LangSys> >' with only non-default constructor in class without a constructor >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh: In instantiation of `RecordArrayOf<LangSys>': >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:202: instantiated from here >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:66: error: base `ArrayOf<Record<LangSys> >' with only non-default constructor in class without a constructor >>> ../../../pango-1.25.4/pango/opentype/hb-open-type-private.hh: In instantiation of `ArrayOf<Record<Script> >': >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:66: instantiated from `RecordArrayOf<Script>' >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:102: instantiated from `RecordListOf<Script>' >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:208: instantiated from here >>> ../../../pango-1.25.4/pango/opentype/hb-open-type-private.hh:560: error: base `GenericArrayOf<USHORT, Record<Script> >' with only non-default constructor in class without a constructor >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh: In instantiation of `RecordArrayOf<Script>': >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:102: instantiated from `RecordListOf<Script>' >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:208: instantiated from here >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:66: error: base `ArrayOf<Record<Script> >' with only non-default constructor in class without a constructor >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh: In instantiation of `RecordListOf<Script>': >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:208: instantiated from here >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:102: error: base `RecordArrayOf<Script>' with only non-default constructor in class without a constructor >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh: In member function `bool Feature::get_lookup_indexes(unsigned int*, hb_tag_t*) const': >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:219: error: invalid conversion from `hb_tag_t*' to `unsigned int*' >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:219: error: initializing argument 2 of `bool IndexArray::get_indexes(unsigned int*, unsigned int*) const' >>> ../../../pango-1.25.4/pango/opentype/hb-open-type-private.hh: At global scope: >>> ../../../pango-1.25.4/pango/opentype/hb-open-type-private.hh: In instantiation of `ArrayOf<Record<Feature> >': >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:66: instantiated from `RecordArrayOf<Feature>' >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:102: instantiated from `RecordListOf<Feature>' >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:237: instantiated from here >>> ../../../pango-1.25.4/pango/opentype/hb-open-type-private.hh:560: error: base `GenericArrayOf<USHORT, Record<Feature> >' with only non-default constructor in class without a constructor >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh: In instantiation of `RecordArrayOf<Feature>': >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:102: instantiated from `RecordListOf<Feature>' >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:237: instantiated from here >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:66: error: base `ArrayOf<Record<Feature> >' with only non-default constructor in class without a constructor >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh: In instantiation of `RecordListOf<Feature>': >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:237: instantiated from here >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:102: error: base `RecordArrayOf<Feature>' with only non-default constructor in class without a constructor >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc: In function `hb_bool_t hb_ot_layout_language_get_feature_indexes(hb_face_t*, hb_tag_t, unsigned int, unsigned int, unsigned int*, unsigned int*)': >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc:444: error: invalid conversion from `unsigned int*' to `hb_tag_t*' >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc:444: error: initializing argument 2 of `bool LangSys::get_feature_indexes(unsigned int*, hb_tag_t*) const' >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc: In function `hb_bool_t hb_ot_layout_language_get_feature_tags(hb_face_t*, hb_tag_t, unsigned int, unsigned int, unsigned int*, hb_tag_t*)': >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc:460: error: invalid conversion from `unsigned int*' to `hb_tag_t*' >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc:460: error: initializing argument 2 of `bool LangSys::get_feature_indexes(unsigned int*, hb_tag_t*) const' >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc: In function `hb_bool_t hb_ot_layout_feature_get_lookup_indexes(hb_face_t*, hb_tag_t, unsigned int, unsigned int*, unsigned int*)': >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc:506: error: invalid conversion from `unsigned int*' to `hb_tag_t*' >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc:506: error: initializing argument 2 of `bool Feature::get_lookup_indexes(unsigned int*, hb_tag_t*) const' >>> >>> make[4]: *** [libharfbuzz_la-hb-ot-layout.lo] Error 1 >>> >>> I'm a bit worried about fixing this thing, so I posted here to know what you think about this result. >>> >>> Thanks a lot. >>> Sincerely, >>> >>> Carlo Bramini. >>> >>> >>> _______________________________________________ >>> gtk-i18n-list mailing list >>> gtk-i18n-list@... >>> http://mail.gnome.org/mailman/listinfo/gtk-i18n-list >>> >> > > _______________________________________________ > gtk-i18n-list mailing list > gtk-i18n-list@... > http://mail.gnome.org/mailman/listinfo/gtk-i18n-list > gtk-i18n-list mailing list gtk-i18n-list@... http://mail.gnome.org/mailman/listinfo/gtk-i18n-list |
|
|
Re: Problems again with Pango and CYGWINOn 08/21/2009 05:24 AM, carlo.bramix wrote:
> Hello, > this actually means that from now the 1.24.x must be considered as the latest version compatible with GCC 3.4.x series? Unless someone finds a fix for the compilation issues. behdad > Sincerely, > > Carlo Bramini. > > > ---------- Initial Header ----------- > >> From : "Behdad Esfahbod" behdad.esfahbod@... > To : "carlo.bramix" carlo.bramix@... > Cc : "gtk-i18n-list" gtk-i18n-list@... > Date : Tue, 18 Aug 2009 16:43:35 -0400 > Subject : Re: Problems again with Pango and CYGWIN > >> Hi, >> >> I fixed one of the bugs, but the one about non-default constructors seems to >> be an issue with old gcc only. The base class in question has no constructor. >> Googling suggests that many other projects have hit the same issue with no >> resolution. >> >> behdad >> >> On 08/18/2009 06:47 AM, carlo.bramix wrote: >>> Hello, >>> I tried to download and compile latest Pango 1.25.4 under CYGWIN but it failed. >>> >>> I fixed a first problem with a patch committed into bug 592194. >>> >>> After that, compilation continued for some sources until it stopped here: >>> >>> libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../../../pango-1.25.4/pango/opentype -I../.. -DHAVE_GLIB -D_REENTRANT -I/usr/include/glib-2.0 -I/lib/glib-2.0/include -g -O2 -fno-rtti -fno-exceptions -MT libharfbuzz_la-hb-ot-layout.lo -MD -MP -MF .deps/libharfbuzz_la-hb-ot-layout.Tpo -c ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc -DDLL_EXPORT -DPIC -o .libs/libharfbuzz_la-hb-ot-layout.o >>> In file included from ../../../pango-1.25.4/pango/opentype/hb-ot-layout-gdef-private.hh:30, >>> from ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc:33: >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh: In member function `bool LangSys::get_feature_indexes(unsigned int*, hb_tag_t*) const': >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:147: error: invalid conversion from `hb_tag_t*' to `unsigned int*' >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:147: error: initializing argument 2 of `bool IndexArray::get_indexes(unsigned int*, unsigned int*) const' >>> ../../../pango-1.25.4/pango/opentype/hb-open-type-private.hh: At global scope: >>> ../../../pango-1.25.4/pango/opentype/hb-open-type-private.hh: In instantiation of `ArrayOf<Record<LangSys> >': >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:66: instantiated from `RecordArrayOf<LangSys>' >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:202: instantiated from here >>> ../../../pango-1.25.4/pango/opentype/hb-open-type-private.hh:560: error: base `GenericArrayOf<USHORT, Record<LangSys> >' with only non-default constructor in class without a constructor >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh: In instantiation of `RecordArrayOf<LangSys>': >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:202: instantiated from here >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:66: error: base `ArrayOf<Record<LangSys> >' with only non-default constructor in class without a constructor >>> ../../../pango-1.25.4/pango/opentype/hb-open-type-private.hh: In instantiation of `ArrayOf<Record<Script> >': >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:66: instantiated from `RecordArrayOf<Script>' >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:102: instantiated from `RecordListOf<Script>' >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:208: instantiated from here >>> ../../../pango-1.25.4/pango/opentype/hb-open-type-private.hh:560: error: base `GenericArrayOf<USHORT, Record<Script> >' with only non-default constructor in class without a constructor >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh: In instantiation of `RecordArrayOf<Script>': >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:102: instantiated from `RecordListOf<Script>' >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:208: instantiated from here >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:66: error: base `ArrayOf<Record<Script> >' with only non-default constructor in class without a constructor >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh: In instantiation of `RecordListOf<Script>': >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:208: instantiated from here >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:102: error: base `RecordArrayOf<Script>' with only non-default constructor in class without a constructor >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh: In member function `bool Feature::get_lookup_indexes(unsigned int*, hb_tag_t*) const': >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:219: error: invalid conversion from `hb_tag_t*' to `unsigned int*' >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:219: error: initializing argument 2 of `bool IndexArray::get_indexes(unsigned int*, unsigned int*) const' >>> ../../../pango-1.25.4/pango/opentype/hb-open-type-private.hh: At global scope: >>> ../../../pango-1.25.4/pango/opentype/hb-open-type-private.hh: In instantiation of `ArrayOf<Record<Feature> >': >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:66: instantiated from `RecordArrayOf<Feature>' >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:102: instantiated from `RecordListOf<Feature>' >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:237: instantiated from here >>> ../../../pango-1.25.4/pango/opentype/hb-open-type-private.hh:560: error: base `GenericArrayOf<USHORT, Record<Feature> >' with only non-default constructor in class without a constructor >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh: In instantiation of `RecordArrayOf<Feature>': >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:102: instantiated from `RecordListOf<Feature>' >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:237: instantiated from here >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:66: error: base `ArrayOf<Record<Feature> >' with only non-default constructor in class without a constructor >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh: In instantiation of `RecordListOf<Feature>': >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:237: instantiated from here >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:102: error: base `RecordArrayOf<Feature>' with only non-default constructor in class without a constructor >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc: In function `hb_bool_t hb_ot_layout_language_get_feature_indexes(hb_face_t*, hb_tag_t, unsigned int, unsigned int, unsigned int*, unsigned int*)': >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc:444: error: invalid conversion from `unsigned int*' to `hb_tag_t*' >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc:444: error: initializing argument 2 of `bool LangSys::get_feature_indexes(unsigned int*, hb_tag_t*) const' >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc: In function `hb_bool_t hb_ot_layout_language_get_feature_tags(hb_face_t*, hb_tag_t, unsigned int, unsigned int, unsigned int*, hb_tag_t*)': >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc:460: error: invalid conversion from `unsigned int*' to `hb_tag_t*' >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc:460: error: initializing argument 2 of `bool LangSys::get_feature_indexes(unsigned int*, hb_tag_t*) const' >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc: In function `hb_bool_t hb_ot_layout_feature_get_lookup_indexes(hb_face_t*, hb_tag_t, unsigned int, unsigned int*, unsigned int*)': >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc:506: error: invalid conversion from `unsigned int*' to `hb_tag_t*' >>> ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc:506: error: initializing argument 2 of `bool Feature::get_lookup_indexes(unsigned int*, hb_tag_t*) const' >>> >>> make[4]: *** [libharfbuzz_la-hb-ot-layout.lo] Error 1 >>> >>> I'm a bit worried about fixing this thing, so I posted here to know what you think about this result. >>> >>> Thanks a lot. >>> Sincerely, >>> >>> Carlo Bramini. >>> >>> >>> _______________________________________________ >>> gtk-i18n-list mailing list >>> gtk-i18n-list@... >>> http://mail.gnome.org/mailman/listinfo/gtk-i18n-list >>> >> > > _______________________________________________ > gtk-i18n-list mailing list > gtk-i18n-list@... > http://mail.gnome.org/mailman/listinfo/gtk-i18n-list > gtk-i18n-list mailing list gtk-i18n-list@... http://mail.gnome.org/mailman/listinfo/gtk-i18n-list |
| Free embeddable forum powered by Nabble | Forum Help |