compiling dlg_specific.c file on Sun Solaris 5.8

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


--
Sent via pgsql-odbc mailing list (pgsql-odbc [at] postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
Marcin Ligorowski [ Di, 29 Juli 2008 09:45 ] [ ID #1962381 ]

Re: compiling dlg_specific.c file on Sun Solaris 5.8

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 [at] postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
Hiroshi Inoue [ Sa, 02 August 2008 07:50 ] [ ID #1962873 ]
Datenbanken » gmane.comp.db.postgresql.odbc » compiling dlg_specific.c file on Sun Solaris 5.8

Vorheriges Thema: Should/does SQLForeignKeys work (8.03.02)?
Nächstes Thema: SSPI/Kerberos support on Windows 2008