Re: LLVM / clang

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: LLVM / clang
Дата
Msg-id 1278800538.26202.20.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Re: LLVM / clang  (Peter Eisentraut <peter_e@gmx.net>)
Список 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 по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: gSoC - ADD MERGE COMMAND - code patch submission
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: gSoC - ADD MERGE COMMAND - code patch submission