compiling dlg_specific.c file on Sun Solaris 5.8

compiling dlg_specific.c file on Sun Solaris 5.8

am 29.07.2008 09:45:31 von Marcin Ligorowski

I've detected problem with compiling dlg_specific.c file on Sun Solaris 5.8=
using compiler 'cc: Sun C 5.8 2005/10/13'.
To resolve this problem I've changed line 896 to
qlog(" conn_settings=3D'%s',conn_encoding=3D'%s'\n",
ci->conn_settings, enc ? enc : (UCHAR*)"(null)");

I've added cast to (UCHAR*), because compiler can not automatically cast to=
correct type.

Regards
Marcin


------------------------------------------------------------ ----------
Tanie rozmowy!
Sprawdz >>> http://link.interia.pl/f1e91


--=20
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc

Re: compiling dlg_specific.c file on Sun Solaris 5.8

am 02.08.2008 07:50:53 von Hiroshi Inoue

Marcin Ligorowski wrote:
> I've detected problem with compiling dlg_specific.c file on Sun Solaris 5.8 using compiler 'cc: Sun C 5.8 2005/10/13'.
> To resolve this problem I've changed line 896 to
> qlog(" conn_settings='%s',conn_encoding='%s'\n",
> ci->conn_settings, enc ? enc : (UCHAR*)"(null)");
>
> I've added cast to (UCHAR*), because compiler can not automatically cast to correct type.

OK I would take care of it.
Thanks.

regards,
Hiroshi Inoue

--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc