Re: Compile warnings on OSX 10.10 clang 6.0

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Compile warnings on OSX 10.10 clang 6.0
Дата
Msg-id 551EFA8B.9000502@gmx.net
обсуждение исходный текст
Ответ на Compile warnings on OSX 10.10 clang 6.0  (John Gorman <johngorman2@gmail.com>)
Ответы Re: Compile warnings on OSX 10.10 clang 6.0
Список pgsql-hackers
On 4/3/15 4:02 PM, John Gorman wrote:
> 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?

These warnings also happen with older versions of clang.  Now idea how
to fix yet.  I'm thinking that clang should be fixed, because these
warnings are stupid.



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