Windows vs C99 (was Re: C99 compliance for src/port/snprintf.c)

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Windows vs C99 (was Re: C99 compliance for src/port/snprintf.c)
Дата
Msg-id 97d4b165-192d-3605-749c-f614a0c4e783@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: C99 compliance for src/port/snprintf.c  (Andres Freund <andres@anarazel.de>)
Ответы Re: Windows vs C99 (was Re: C99 compliance for src/port/snprintf.c)
Список pgsql-hackers
On 16/08/2018 15:00, Andres Freund wrote:
>> According to my research (completely untested in practice), you need
>> 2010 for mixed code and declarations and 2013 for named initialization
>> of structs.
>>
>> I wonder what raising the msvc requirement would imply for supporting
>> older Windows versions.
> One relevant tidbit is that afaict 2013 still allows *targeting* older
> versions of windows, down to XP and 2003, while requiring a newer
> platforms to run. See:
> https://docs.microsoft.com/en-us/visualstudio/productinfo/vs2013-compatibility-vs
> I don't know if that's hard to do, but I strongly suspect that the
> existing installers already do that (otherwise supporting newer versions
> would likely require separate builds).

So, does anyone with Windows build experience want to comment on this?

The proposal is to desupport anything older than (probably) MSVC 2013,
or alternatively anything that cannot compile the attached test file.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Вложения

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: remove ATTRIBUTE_FIXED_PART_SIZE
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Pre-v11 appearances of the word "procedure" in v11 docs