Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 2F8B365017B for ; Sat, 2 Aug 2008 02:59:48 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 67502-05 for ; Sat, 2 Aug 2008 02:59:39 -0300 (ADT) X-Greylist: delayed 00:06:39.817092 by SQLgrey-1.7.6 Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id 18B39650154 for ; Sat, 2 Aug 2008 02:59:39 -0300 (ADT) Received: (qmail 9598 invoked from network); 2 Aug 2008 14:52:56 +0900 X-Authentication: inoue was authenticated by sd.tpf.co.jp at 2 Aug 2008 14:52:56 +0900 Received: from unknown (HELO ?127.0.0.1?) (219.61.40.6) by sd.tpf.co.jp with SMTP; 2 Aug 2008 14:52:56 +0900 Message-ID: <4893F5BD.6020608@tpf.co.jp> Date: Sat, 02 Aug 2008 14:50:53 +0900 From: Hiroshi Inoue User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Marcin Ligorowski CC: pgsql-odbc@postgresql.org Subject: Re: compiling dlg_specific.c file on Sun Solaris 5.8 References: <20080729074531.820396D57B@f09.poczta.interia.pl> In-Reply-To: <20080729074531.820396D57B@f09.poczta.interia.pl> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=2.125 tagged_above=0 required=5 tests=DNS_FROM_RFC_BOGUSMX=2.125 X-Spam-Level: ** X-Archive-Number: 200808/1 X-Sequence-Number: 9561 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