Re: GCC vs clang

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: Greg Sabino Mullane <greg@turnstep.com>
Cc: pgsql-hackers@postgresql.org
Date: 2010-11-16T16:21:48Z
Lists: pgsql-hackers
On tis, 2010-11-16 at 09:41 -0500, Greg Sabino Mullane wrote:
> I've been trying to get clang working enough that I can at 
> least get HEAD going for a build farm client, and the attached 
> patch is the bare minimum to get it working. There may be a 
> better way to do this, but as indicated in a past thread, the 
> GNU_SOURCE variable does not play nicely with clang. Getting that 
> removed does allow me to do a working make and make check. The make 
> takes orders of magnitude longer than gcc does, but that's an 
> issue for another day.

The underlying issue in clang has been resolved, so the next release
should work out of the box.  I suggest we wait for that.

http://llvm.org/bugs/show_bug.cgi?id=5365