Fwd: psqlodbc: HEAD fails to build with recent clang

From: Alex Dunn <dunn(dot)alex(at)gmail(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Fwd: psqlodbc: HEAD fails to build with recent clang
Date: 2015-05-06 19:16:26
Message-ID: 20150506191626.GS4686@Hell
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Sent this to the wrong mailing list; apologies.

----- Forwarded message from Alex Dunn <dunn(dot)alex(at)gmail(dot)com> -----

> Date: Tue, 5 May 2015 21:07:33 -0700
> From: Alex Dunn <dunn(dot)alex(at)gmail(dot)com>
> To: pgsql-bugs(at)postgresql(dot)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 -----

Browse pgsql-odbc by date

  From Date Subject
Next Message Daniel Homerick 2015-05-20 17:59:46 Setting Database Name During Connection
Previous Message Mark Morgan Lloyd 2015-05-01 06:53:29 Re: purpose of exe?