Re: make error

Dan O'Donnell <[email protected]>
Newsgroups gmane.text.refdb.general
Organization University of Lethbridge
Message-ID <[email protected]>
Thanks Markus,

-d

On Fri, 2006-16-06 at 08:17 +0200, Markus Hoenicka wrote:
> Hi,
> 
> Daniel O'Donnell <[email protected]> was heard to say:
> 
> > refdbdref.c: In function ‘read_ris_data’:
> > refdbdref.c:667: warning: passing argument 2 of ‘iconv’ from
> > incompatible pointer type
> 
> This is nothing to really worry about. There is an inconsistency about the type
> of an argument between the *BSDs and other OSes like Linux. In one case there'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* is 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 ‘is_journal’:
> > refdbdref.c:2370: error: ‘DBI_ROW_ERROR’ undeclared (first 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 previous
> 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
> 



_______________________________________________
Refdb-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/refdb-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.