Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VakSA-00005W-7M for pgsql-odbc@arkaria.postgresql.org; Mon, 28 Oct 2013 10:53:46 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VakS9-00063n-HX for pgsql-odbc@arkaria.postgresql.org; Mon, 28 Oct 2013 10:53:45 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VakS8-00063g-NL for pgsql-odbc@postgresql.org; Mon, 28 Oct 2013 10:53:44 +0000 Received: from smtp-outbound-1.vmware.com ([208.91.2.12]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VakS4-0006oS-Oo for pgsql-odbc@postgresql.org; Mon, 28 Oct 2013 10:53:43 +0000 Received: from sc9-mailhost2.vmware.com (sc9-mailhost2.vmware.com [10.113.161.72]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id AC66229932; Mon, 28 Oct 2013 03:53:36 -0700 (PDT) Received: from zcs-prod-ext-mta-2.vmware.com (zcs-prod-ext-mta-2.vmware.com [10.113.62.224]) by sc9-mailhost2.vmware.com (Postfix) with ESMTP id 9F6BCB04FE; Mon, 28 Oct 2013 03:53:36 -0700 (PDT) Received: from zcs-prod-ext-mta-2.vmware.com (localhost.localdomain [127.0.0.1]) by zcs-prod-ext-mta-2.vmware.com (Postfix) with ESMTP id E26DDC0051; Mon, 28 Oct 2013 03:53:51 -0700 (PDT) Received: from [192.168.1.90] (zimbra-prod-ext-proxy-vip.vmware.com [10.113.63.87]) by zcs-prod-ext-mta-2.vmware.com (Postfix) with ESMTPSA; Mon, 28 Oct 2013 03:53:50 -0700 (PDT) Message-ID: <526E422D.2050604@vmware.com> Date: Mon, 28 Oct 2013 12:53:33 +0200 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 MIME-Version: 1.0 To: Michael Paquier , Hiroshi Inoue CC: PostgreSQL mailing lists Subject: Re: Code not compiling since 19d5486 due to concatenate operators in macros References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -7.4 (-------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org On 28.10.2013 10:10, Michael Paquier wrote: > Hi all, > (resending patch as it looks that it was stuck in administration queue > of this ML...) > > I noticed this morning that ODBC does not compile correctly since > commit 19d5486 due to some macros using concatenate operators used > with CORR_STRCPY and CORR_VALCPY in psqlodbc.c and connection.c. > > In the case of CORR_VALCPY the macro simply needs to copy a field one > by one, and for CORR_STRCPY only a string is copied, so concatenate > operators are not necessary IMO. Please find a patch fixing that by > removing the unnecessary operators. Thanks, committed to fix the build. Hiroshi, I didn't understand the point of that change in the first place. The old memcpy method of copying these objects seemed fine to me. Can you elaborate? PS. I just noticed that the email address in your git commit messages is misspelled, "inoue@tpf.co.p". Check your .gitconfig file. - Heikki -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc