Re: Clang support

From: Kevin Grittner <kgrittn(at)ymail(dot)com>
To: Szymon Guz <mabewlun(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Clang support
Date: 2013-11-19 21:54:27
Message-ID: 1384898067.24839.YahooMailNeo@web162905.mail.bf1.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Szymon Guz <mabewlun(at)gmail(dot)com> wrote:

> is clang supported for compiling Postgres? I found some websites
> with information that some people compiled Postgres succesfully,
> but I got plenty of errors even with running ./configure. So I'm
> wondering if it's my fault, however gcc works properly.

I am able to build with this version of clang:

Ubuntu clang version 3.4-1~exp1 (trunk) (based on LLVM 3.4)
Target: x86_64-pc-linux-gnu
Thread model: posix

All I do is `export CC=clang` before running ./configure and make.

I was getting three benign warnings which didn't show up for gcc,
and recently committed changes to quiet those.

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Szymon Guz 2013-11-19 22:02:12 Re: Clang support
Previous Message Szymon Guz 2013-11-19 21:47:19 Clang support