Re: VS 2015 support in src/tools/msvc

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: VS 2015 support in src/tools/msvc
Дата
Msg-id 9186.1461513523@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: VS 2015 support in src/tools/msvc  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: VS 2015 support in src/tools/msvc  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> OK, here's my final version of the patch, which I will apply in 24 hours 
> or so unless there is an objection.

> +#pragma warning(push)
> +#pragma warning(disable : 4091)
>  #include <dbghelp.h>
> +#pragma warning(pop)

Hmm ... does this pragma work on *every* compiler we're going to use
on Windows?  I'm afraid that trying to suppress a warning in VS2015
is going to result in outright failure with other compilers.
        regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Defaults for replication/backup
Следующее
От: Tom Lane
Дата:
Сообщение: Re: VS 2015 support in src/tools/msvc