Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WLWlk-0005IH-ED for pgsql-odbc@arkaria.postgresql.org; Thu, 06 Mar 2014 11:47:21 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WLWlj-0001KF-V0 for pgsql-odbc@arkaria.postgresql.org; Thu, 06 Mar 2014 11:47:19 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WLWlj-0001K9-CZ for pgsql-odbc@postgresql.org; Thu, 06 Mar 2014 11:47:19 +0000 Received: from smtp-outbound-2.vmware.com ([208.91.2.13]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WLWlh-0007bw-25 for pgsql-odbc@postgresql.org; Thu, 06 Mar 2014 11:47:18 +0000 Received: from sc9-mailhost1.vmware.com (sc9-mailhost1.vmware.com [10.113.161.71]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id 85198285A2; Thu, 6 Mar 2014 03:47:15 -0800 (PST) Received: from zcs-prod-ext-mta-2.vmware.com (zcs-prod-ext-mta-2.vmware.com [10.113.62.224]) by sc9-mailhost1.vmware.com (Postfix) with ESMTP id 80F7218227; Thu, 6 Mar 2014 03:47:15 -0800 (PST) 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 041D1C005E; Thu, 6 Mar 2014 03:47:13 -0800 (PST) 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; Thu, 6 Mar 2014 03:47:12 -0800 (PST) Message-ID: <53186040.1080102@vmware.com> Date: Thu, 06 Mar 2014 13:47:12 +0200 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 MIME-Version: 1.0 To: Michael Paquier CC: PostgreSQL mailing lists Subject: Re: Incorrect return clause in regression test positioned-update causing compilation error References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -6.9 (------) 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 03/06/2014 09:46 AM, Michael Paquier wrote: > Hi all, > > I found that the regression test positioned-update does not compile > correctly on OSX because of a "return" used in main() instead of a > plain exit(). > Patch attached fixes that. Thanks, committed. I wonder why other compilers haven't warned about that; the "return" statement didn't return a value, even though the main() function was declared to return an "int". - Heikki -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc