Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Yq5IV-0004HE-Sj for pgsql-odbc@arkaria.postgresql.org; Wed, 06 May 2015 19:47:59 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Yq5IU-0003E5-Il for pgsql-odbc@arkaria.postgresql.org; Wed, 06 May 2015 19:47:58 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Yq4o5-0001xm-Kt for pgsql-odbc@postgresql.org; Wed, 06 May 2015 19:16:33 +0000 Received: from mail-ie0-x22b.google.com ([2607:f8b0:4001:c03::22b]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1Yq4o2-0000fS-Uf for pgsql-odbc@postgresql.org; Wed, 06 May 2015 19:16:32 +0000 Received: by iepj10 with SMTP id j10so19228457iep.0 for ; Wed, 06 May 2015 12:16:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:content-transfer-encoding:user-agent; bh=JNMNex3l+GWo6lOF4lx6vNJO1q9rikFN/ZfL3xiPhtE=; b=YzkX/0fr2kVreuXx20pLT9+1o9Mhi9u9cWDS8wcDyDlC15KKVsIBjgLI9QjGqFUSW2 ZOSRFGM9NZlQBP7mPwiBfm6d8cBUpKXGdraPj/bXo1yHyiwc26jVjB1OfygA1+ZU8OT4 QmoUEfh9SzphSUQ9Nye+K/B3a1iNio+a9e+232wznSbBgL2o7FaeHgDhb4OOkQhiiqoB AquGyIWG1LlSYxqDTynBCxGjHKIfg+uKVDXfExZDlvSf+VMSZod1M8fz6ss383f+tQhD dH0mJLN1SCXbNlwYq+DePESj1+CZh0umhgcgFbP4U9Mtp5Pikk/sbgDEg9225VhVov6s KoLA== X-Received: by 10.50.103.97 with SMTP id fv1mr5011985igb.27.1430939790097; Wed, 06 May 2015 12:16:30 -0700 (PDT) Received: from localhost (pool-98-108-240-213.snloca.dsl-w.verizon.net. [98.108.240.213]) by mx.google.com with ESMTPSA id 72sm1712721iof.36.2015.05.06.12.16.29 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 May 2015 12:16:29 -0700 (PDT) Date: Wed, 6 May 2015 12:16:26 -0700 From: Alex Dunn To: pgsql-odbc@postgresql.org Subject: Fwd: psqlodbc: HEAD fails to build with recent clang Message-ID: <20150506191626.GS4686@Hell> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-PGP-Key: http://pgp.mit.edu/pks/lookup?op=get&search=0xFCEC4680ECF924D9 User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -2.7 (--) 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 Sent this to the wrong mailing list; apologies. ----- Forwarded message from Alex Dunn ----- > Date: Tue, 5 May 2015 21:07:33 -0700 > From: Alex Dunn > To: pgsql-bugs@postgresql.org > Subject: psqlodbc: HEAD fails to build with recent clang > User-Agent: Mutt/1.5.23 (2014-03-12) > > Beginning (I think) in Mavericks, Clang has begun taking functions and > defining them as macros; they then conflict with declarations via > headers. I think this is what's happening with `strlcat` in the most > recent psqlodbc, since it builds fine with GCC. > > Here are the build logs with system info (errors start at L15 of 03.make): > https://gist.github.com/dunn/f6ed7ac29a23aa06ba65#file-03-make-L15 > > Clang is: Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn) > > —Alex Dunn ----- End forwarded message ----- -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc