Re: LLVM / clang - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: LLVM / clang
Date
Msg-id 1277936966.27966.42.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: LLVM / clang  (Gibheer <gibheer@zero-knowledge.org>)
List pgsql-hackers
On ons, 2010-06-30 at 20:10 +0200, Gibheer wrote:
> On Fri, 25 Jun 2010 15:49:40 -0400, Peter Eisentraut <peter_e@gmx.net>
> wrote:
> > 
> > For the record, here is a patch that would address these issues.
> > 
> > At the moment, I'm waiting to get my hands on the new version 2.7 of
> > clang to see if some of these issues have gone away.
> > 
> > Considering that clang already helped us find one bug in the code, I
> > think it's worth trying to make this work.
> 
> I tried your patch, but it is only working, when I set CLANG="yes". As
> I'm not really an expert in makefiles, my first thought was, that it
> should work, when I set CC="clang" or is it not possible to detect,
> which compiler is used?

I suspect you didn't run autoreconf.



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Check constraints on non-immutable keys
Next
From: Robert Haas
Date:
Subject: Re: Keeping separate WAL segments for each database