Re: LLVM / clang - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: LLVM / clang
Date
Msg-id 1278800538.26202.20.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: LLVM / clang  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
On fre, 2010-06-11 at 07:00 +0300, Peter Eisentraut wrote:
> The second problem is that the prototype check for accept() fails.
> This
> is because glibc defines the second argument to be a "transparent
> union", apparently to make it look like a lot of things at once.
> clang
> apparently doesn't understand that.  One could address this by
> checking
> for the typedef that glibc uses explicitly in the configure check, but
> that would appear to defeat the point of the *transparent* union.  A
> workaround is to remove -D_GNU_SOURCE from src/template/linux.

For the record, there is already a bug report about this:
http://llvm.org/bugs/show_bug.cgi?id=5365



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: gSoC - ADD MERGE COMMAND - code patch submission
Next
From: Peter Eisentraut
Date:
Subject: Re: gSoC - ADD MERGE COMMAND - code patch submission