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

Re: compiling dpkg on mips (eb)



Your message dated: Fri, 18 Dec 1998 15:14:06 MST
>
>On Fri, 18 Dec 1998, job bogan wrote:
>
>> >Change line 74 to put an & in front of the function name parameter, C++
>> >standard drift.

>No, that's wrong. Inside the {} section there will be function names, put
>&'s in front of them. I don't have my dpkg source handy from here so I
>can't be more exact :>

i appreciate it. But, that does not seem to do a thing...

const packagelist::infotype packagelist::infoinfos[]= {
  { &itr_recursive,    &itd_relations         },
  { 0,                 &itd_description       },
  { 0,                 &itd_statuscontrol     },
  { 0,                 &itd_availablecontrol  },
  { 0,                 0                      }
};

still gives me

[root@jalapeno dselect]# c++ -I../../../include -I../../.. -I../../../dselect -I.. -I../include -I. -I../../../intl -I../intl -DHAVE_CONFIG_H     -D_REENTRANT -D_GNU_SOURCE -O2  -Wall -Wno-implicit -Wwrite-strings -Wpointer-arith -Wimplicit -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -g  -DLOCALEDIR=\"/usr/share/locale\" -c ../../../dselect/pkginfo.cc
../../../dselect/pkginfo.cc:74: argument of type `int (packagelist::)()' does not match `int (packagelist::*)()'
../../../dselect/pkginfo.cc:74: argument of type `void (packagelist::)()' does not match `void (packagelist::*)()'
../../../dselect/pkginfo.cc:74: confused by earlier errors, bailing out
[root@jalapeno dselect]# 

the one thing that i can think of that's making this painful is that i'm
using an egcs snapshot, so the STL has been updated to the current SGI
STL (v3.0?).

Humm...  seems like egcs-1.1.1 works ok.  Well, that fixes that for the
moment.  But at some point, it'd be nice to get this cleaned up for
egcs-1.2.  (i'd guess this will be an issue for the ultra port soon.)

(sorry to have been bugging you with things that are based on snapshots)

thanks!

job


Reply to: