[no subject]



> Hi,
> 
> I fixed one of the bugs, but the one about non-default constructors see=
ms to 
> be an issue with old gcc only.  The base class in question has no const=
ructor. 
>   Googling suggests that many other projects have hit the same issue wi=
th 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 h=
ere:
> >
> > libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../../../pango-1.25.4/pa=
ngo/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-layo=
ut-gdef-private.hh:30,
> >                   from ../../../pango-1.25.4/pango/opentype/hb-ot-lay=
out.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_t=
ag_t*) const':
> > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:1=
47: error: invalid conversion from `hb_tag_t*' to `unsigned int*'
> > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:1=
47: error: initializing argument 2 of `bool IndexArray::get_indexes(unsig=
ned int*, unsigned int*) const'
> > ../../../pango-1.25.4/pango/opentype/hb-open-type-private.hh: At glob=
al scope:
> > ../../../pango-1.25.4/pango/opentype/hb-open-type-private.hh: In inst=
antiation of `ArrayOf<Record<LangSys>  >':
> > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:6=
6:   instantiated from `RecordArrayOf<LangSys>'
> > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:2=
02:   instantiated from here
> > ../../../pango-1.25.4/pango/opentype/hb-open-type-private.hh:560: err=
or: base `GenericArrayOf<USHORT, Record<LangSys>  >' with only non-defaul=
t 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:2=
02:   instantiated from here
> > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:6=
6: error: base `ArrayOf<Record<LangSys>  >' with only non-default constru=
ctor in class without a constructor
> > ../../../pango-1.25.4/pango/opentype/hb-open-type-private.hh: In inst=
antiation of `ArrayOf<Record<Script>  >':
> > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:6=
6:   instantiated from `RecordArrayOf<Script>'
> > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:1=
02:   instantiated from `RecordListOf<Script>'
> > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:2=
08:   instantiated from here
> > ../../../pango-1.25.4/pango/opentype/hb-open-type-private.hh:560: err=
or: 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:1=
02:   instantiated from `RecordListOf<Script>'
> > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:2=
08:   instantiated from here
> > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:6=
6: error: base `ArrayOf<Record<Script>  >' with only non-default construc=
tor 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:2=
08:   instantiated from here
> > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:1=
02: 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_ta=
g_t*) const':
> > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:2=
19: error: invalid conversion from `hb_tag_t*' to `unsigned int*'
> > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:2=
19: error: initializing argument 2 of `bool IndexArray::get_indexes(unsig=
ned int*, unsigned int*) const'
> > ../../../pango-1.25.4/pango/opentype/hb-open-type-private.hh: At glob=
al scope:
> > ../../../pango-1.25.4/pango/opentype/hb-open-type-private.hh: In inst=
antiation of `ArrayOf<Record<Feature>  >':
> > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:6=
6:   instantiated from `RecordArrayOf<Feature>'
> > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:1=
02:   instantiated from `RecordListOf<Feature>'
> > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:2=
37:   instantiated from here
> > ../../../pango-1.25.4/pango/opentype/hb-open-type-private.hh:560: err=
or: base `GenericArrayOf<USHORT, Record<Feature>  >' with only non-defaul=
t 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:1=
02:   instantiated from `RecordListOf<Feature>'
> > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:2=
37:   instantiated from here
> > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:6=
6: error: base `ArrayOf<Record<Feature>  >' with only non-default constru=
ctor 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:2=
37:   instantiated from here
> > ../../../pango-1.25.4/pango/opentype/hb-ot-layout-common-private.hh:1=
02: error: base `RecordArrayOf<Feature>' with only non-default constructo=
r 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, u=
nsigned int, unsigned int, unsigned int*, unsigned int*)':
> > ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc:444: error: inva=
lid conversion from `unsigned int*' to `hb_tag_t*'
> > ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc:444: error:   in=
itializing 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, unsi=
gned int, unsigned int, unsigned int*, hb_tag_t*)':
> > ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc:460: error: inva=
lid conversion from `unsigned int*' to `hb_tag_t*'
> > ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc:460: error:   in=
itializing 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, uns=
igned int, unsigned int*, unsigned int*)':
> > ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc:506: error: inva=
lid conversion from `unsigned int*' to `hb_tag_t*'
> > ../../../pango-1.25.4/pango/opentype/hb-ot-layout.cc:506: error:   in=
itializing 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 w=
hat you think about this result.
> >
> > Thanks a lot.
> > Sincerely,
> >
> > Carlo Bramini.
> >
> >
> > _______________________________________________
> > gtk-i18n-list mailing list
> > gtk-i18n-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gtk-i18n-list
> >
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]