Re: [Refdb-users] make error
Status: Beta
Brought to you by:
mhoenicka
From: Dan O'D. <dan...@ul...> - 2006-06-16 18:30:11
|
Thanks Markus, -d On Fri, 2006-16-06 at 08:17 +0200, Markus Hoenicka wrote: > Hi, >=20 > Daniel O'Donnell <dan...@ul...> was heard to say: >=20 > > refdbdref.c: In function =C3=A2=E2=82=AC=CB=9Cread_ris_data=C3=A2=E2=82= =AC=E2=84=A2: > > refdbdref.c:667: warning: passing argument 2 of =C3=A2=E2=82=AC=CB=9Cic= onv=C3=A2=E2=82=AC=E2=84=A2 from > > incompatible pointer type >=20 > This is nothing to really worry about. There is an inconsistency about th= e type > of an argument between the *BSDs and other OSes like Linux. In one case t= here's > a char*, in the other case there'sa const char*. If I fix this on Linux, = I'll > get a warning on BSD and vice versa. However, the char* vs. const char* i= s a > compile-time warning which will not cause a runtime error as the sizes of= both > pointers are identical. Unfortunately the iconv header file does not use = a > typedef which would allow to work around this issue. >=20 > > refdbdref.c: In function =C3=A2=E2=82=AC=CB=9Cis_journal=C3=A2=E2=82=AC= =E2=84=A2: > > refdbdref.c:2370: error: =C3=A2=E2=82=AC=CB=9CDBI_ROW_ERROR=C3=A2=E2=82= =AC=E2=84=A2 undeclared (first use in this > > function)refdbdref.c:2370: error: (Each undeclared identifier is > > reported only once >=20 > This points to a libdbi version issue. DBI_ROW_ERROR is declared in > <prefix>/include/dbi/dbi.h in libdbi versions 0.8.0 and later. If you use= an > older version of libdbi, you'll simply have to upgrade. If you do have 0.= 8.0 or > later installed, you may have stale header files lying around from a prev= ious > installation of an older version. E.g. if you had installed 0.7.x in /usr= and > later installed 0.8.0 in /usr/local, the older headers will pop up first = when > the compiler looks for the include files. >=20 > regards, > Markus >=20 |