Compile warnings on OSX 10.10 clang 6.0

Поиск
Список
Период
Сортировка
От John Gorman
Тема Compile warnings on OSX 10.10 clang 6.0
Дата
Msg-id CALkS6B8Ei3yffHTnUsAovCPmO9kPTpgCArwyod7Ju2eWBm6=BA@mail.gmail.com
обсуждение исходный текст
Ответы Re: Compile warnings on OSX 10.10 clang 6.0  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Hi All

I am getting compile warnings on OSX 10.10 from clang 6.0:

clang: warning: argument unused during compilation: '-pthread'

The 5 warnings are where we are making a -dynamiclib and
the -pthread argument is not necessary:

./src/interfaces/libpq/
./src/interfaces/ecpg/pgtypeslib/
./src/interfaces/ecpg/ecpglib/
./src/interfaces/ecpg/compatlib/
./src/interfaces/ecpg/preproc/

This is interfering with using "-Wall -Werror" to catch warnings.

Any opinions as to whether this is worth fixing and if so
what the cleanest approach might be?

Thanks, John

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

Предыдущее
От: Andrew Gierth
Дата:
Сообщение: Re: Abbreviated keys for Numeric
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Compile warnings on OSX 10.10 clang 6.0