psqlodbc: HEAD fails to build with recent clang

Поиск
Список
Период
Сортировка
От Alex Dunn
Тема psqlodbc: HEAD fails to build with recent clang
Дата
Msg-id 20150506040733.GR4686@Hell
обсуждение исходный текст
Ответы Re: psqlodbc: HEAD fails to build with recent clang  (Peter Eisentraut <peter_e@gmx.net>)
Re: psqlodbc: HEAD fails to build with recent clang  (Heikki Linnakangas <hlinnaka@iki.fi>)
Список pgsql-bugs
Beginning (I think) in Mavericks, Clang has begun taking functions and
defining them as macros; they then conflict with declarations via
headers.  I think this is what's happening with `strlcat` in the most
recent psqlodbc, since it builds fine with GCC.

Here are the build logs with system info (errors start at L15 of 03.make):
https://gist.github.com/dunn/f6ed7ac29a23aa06ba65#file-03-make-L15

Clang is: Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn)

—Alex Dunn

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Re: BUG #12990: Missing pg_multixact/members files (appears to have wrapped, then truncated)
Следующее
От: Corey Huinker
Дата:
Сообщение: Re: BUG #13179: pg_upgrade failure.