Matus UHLAR - fantomas writes:

Hello,

building courier-authlib 0.62.2 and 0.62.4 with postgres (libpq-8.1.11)
support on Gentoo GNU/linux on amd64 architecture fails with following
message:

 * QA Notice: Package has poor programming practices which may compile
 *            fine but exhibit random runtime failures.
 * authpgsqllib.c:124: warning: implicit declaration of function 
‘pg_encoding_to_char’

 *
 * QA Notice: Package has poor programming practices which may compile
 *            but will almost certainly crash on 64bit architectures.
 *
 * Function `pg_encoding_to_char' implicitly converted to pointer at 
authpgsqllib.c:124
 *
 *  Please file a bug about this at http://bugs.gentoo.org/
 *  with the maintaining herd of the package.
 *
 *
 * ERROR: net-libs/courier-authlib-0.62.4 failed.
 * Call stack:
 *       misc-functions.sh, line 729:  Called install_qa_check
 *       misc-functions.sh, line 421:  Called die
 * The specific snippet of code:

The function ‘pg_encoding_to_char’ is mentioned in authpgsqllib.c file on
line 124:

                check = pg_encoding_to_char(PQclientEncoding(pgconn));

The pg_encoding_to_char seems to be included in libpq-fe.h in libpq-8.3, but
version 8.1 (latest stable on gentoo) needs another file(s) to include.

Some Googling suggests that it might be defined in pg_wchar.h


Attachment: pgpYYpAonZGbJ.pgp
Description: PGP signature

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to