Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bJIw9-0008LY-0T for pgsql-odbc@arkaria.postgresql.org; Sat, 02 Jul 2016 11:18:13 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bJIw8-0004GO-7P for pgsql-odbc@arkaria.postgresql.org; Sat, 02 Jul 2016 11:18:12 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bJIw7-0004GD-MD for pgsql-odbc@postgresql.org; Sat, 02 Jul 2016 11:18:11 +0000 Received: from mail2.asahi-net.or.jp ([202.224.39.198]) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bJIw3-0002Np-T8 for pgsql-odbc@postgresql.org; Sat, 02 Jul 2016 11:18:09 +0000 Received: from [192.168.1.3] (h216215.dynamic.ppp.asahi-net.or.jp [61.114.216.215]) by mail2.asahi-net.or.jp (Postfix) with ESMTP id 4FDECB471; Sat, 2 Jul 2016 20:18:06 +0900 (JST) Subject: Re: Build broken with nmake since ea74e47 To: Michael Paquier References: Cc: PostgreSQL mailing lists From: "Inoue, Hiroshi" Message-ID: <5777A2EF.2070901@dream.email.ne.jp> Date: Sat, 2 Jul 2016 20:18:07 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) 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 Hi Michael, On 2016/07/01 13:27, Michael Paquier wrote: > On Thu, Jun 30, 2016 at 12:45 AM, Michael Paquier > wrote: >> Hi, >> >> Since commit ea74e47, the build with nmake is broken: >> NMAKE : fatal error U1073: don't know how to make 'exe\connect-test.exe' >> I have yet to diagnose what is wrong here, but a guess is that win.mak >> is missing a trick. > After spending some time on that, I can reproduce the problem, but I > have little idea how to properly link each exe and src file with > common.obj at the same time using this nmake Makefile. ea74e47 has > really introduced a broken concept in win.mak, and I am sure that this > has not been tested. Could it be possible to get back to the prior > behavior for just nmake? For example the patch attached does the job > for me again. Oops my mistake. The commit was irrelevant to Windows.. I would put back the change. Thanks. > > At the same time, I have noticed a compilation error in > large-object-data-at-exec-test.c regarding a type declaration in the > middle of a code block, basically that: > - int error = SQL_SUCCESS != rc && SQL_SUCCESS_WITH_INFO != rc > && SQL_NEED_DATA != rc; > + error = SQL_SUCCESS != rc && > + SQL_SUCCESS_WITH_INFO != rc && > + SQL_NEED_DATA != rc; OK I would fix the compilation error. Thanks. Hiroshi Inoue -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc