Re: [Refdb-users] make error
Status: Beta
Brought to you by:
mhoenicka
From: Markus H. <mar...@mh...> - 2006-06-16 06:18:02
|
Hi, Daniel O'Donnell <dan...@ul...> was heard to say: > refdbdref.c: In function =E2=80=98read_ris_data=E2=80=99: > refdbdref.c:667: warning: passing argument 2 of =E2=80=98iconv=E2=80=99= from > incompatible pointer type 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. > refdbdref.c: In function =E2=80=98is_journal=E2=80=99: > refdbdref.c:2370: error: =E2=80=98DBI_ROW_ERROR=E2=80=99 undeclared (fi= rst use in this > function)refdbdref.c:2370: error: (Each undeclared identifier is > reported only once 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. regards, Markus --=20 Markus Hoenicka mar...@ca... (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de |