Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Yq0gl-0006MT-PF for pgsql-bugs@arkaria.postgresql.org; Wed, 06 May 2015 14:52:44 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Yq0gl-0006jM-9k for pgsql-bugs@arkaria.postgresql.org; Wed, 06 May 2015 14:52:43 +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 1YpqcV-0004Nb-Da for pgsql-bugs@postgresql.org; Wed, 06 May 2015 04:07:39 +0000 Received: from mail-ie0-x229.google.com ([2607:f8b0:4001:c03::229]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1YpqcS-0000BV-QP for pgsql-bugs@postgresql.org; Wed, 06 May 2015 04:07:38 +0000 Received: by iecnq11 with SMTP id nq11so5178483iec.3 for ; Tue, 05 May 2015 21:07:35 -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=goctHo1WnUDcq1osu/ZdiwaS9Ufa3ZWOiUqDzw2ch6E=; b=rWBt5qPCcH2j1yaOjDHrbLPdLbFi8o9pBRR6id/dhsJKFkJZVrFM1IH2mpyibKEfnj fc9ixcb2WxsNhhnIPGlQ4gJe7mGAM68JNOjUWm4UjVu+jUROG68iNSCEBa2lS1S7FEly wVRX1trSBR2+1LHLn7gDglzY19bvRkK+mkMYqh86lhm8FQzARjmHxkf+itgEG12mNOyB ulqw4XZgiyrQg6qC3baFxS0iR/WLsC7ddgXEfyu7hwF1/nx4Wn9DWOwe9ODDW01A9tXC jCBlS7wxVDicOFS8cSd71gqgLBC6+vLz44iZ7T2n10Ki00Z7got9+LaHCUoW3E3iPqrj IelQ== X-Received: by 10.107.132.42 with SMTP id g42mr37706293iod.25.1430885255836; Tue, 05 May 2015 21:07:35 -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 w4sm40952igl.22.2015.05.05.21.07.34 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 May 2015 21:07:35 -0700 (PDT) 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 Message-ID: <20150506040733.GR4686@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-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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 -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs