pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alex Dunn <dunn.alex@gmail.com>
To: pgsql-odbc@postgresql.org
Subject: Fwd: psqlodbc: HEAD fails to build with recent clang
Date: Wed, 6 May 2015 12:16:26 -0700
Message-ID: <20150506191626.GS4686@Hell> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

Sent this to the wrong mailing list; apologies.

----- Forwarded message from Alex Dunn <dunn.alex@gmail.com> -----

> Date: Tue, 5 May 2015 21:07:33 -0700
> From: Alex Dunn <dunn.alex@gmail.com>
> 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



Message-ID: <20150506191626.GS4686@Hell>
Permalink:  ../20150506191626.GS4686@Hell/
Also on:    postgresql.org/message-id/20150506191626.GS4686@Hell

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: dunn.alex@gmail.com
  Subject: Re: Fwd: psqlodbc: HEAD fails to build with recent clang
  In-Reply-To: <20150506191626.GS4686@Hell>
  References: <20150506191626.GS4686@Hell>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox