pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
compiling dlg_specific.c file on Sun Solaris 5.8
2+ messages / 2 participants
[nested] [flat]

* compiling dlg_specific.c file on Sun Solaris 5.8
@ 2008-07-29 07:45 Marcin Ligorowski <ligo@interia.pl>
  2008-08-02 05:50 ` Re: compiling dlg_specific.c file on Sun Solaris 5.8 Hiroshi Inoue <inoue@tpf.co.jp>
  0 siblings, 1 reply; 2+ messages in thread

From: Marcin Ligorowski @ 2008-07-29 07:45 UTC (permalink / raw)
  To: pgsql-odbc


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.

Regards
Marcin


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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: compiling dlg_specific.c file on Sun Solaris 5.8
  2008-07-29 07:45 compiling dlg_specific.c file on Sun Solaris 5.8 Marcin Ligorowski <ligo@interia.pl>
@ 2008-08-02 05:50 ` Hiroshi Inoue <inoue@tpf.co.jp>
  0 siblings, 0 replies; 2+ messages in thread

From: Hiroshi Inoue @ 2008-08-02 05:50 UTC (permalink / raw)
  To: Marcin Ligorowski <ligo@interia.pl>; +Cc: pgsql-odbc

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2008-08-02 05:50 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-07-29 07:45 compiling dlg_specific.c file on Sun Solaris 5.8 Marcin Ligorowski <ligo@interia.pl>
2008-08-02 05:50 ` Hiroshi Inoue <inoue@tpf.co.jp>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox