Re: MSVC builld of 9.5.12 is broken?

Поиск
Список
Период
Сортировка
От Noah Misch
Тема Re: MSVC builld of 9.5.12 is broken?
Дата
Msg-id 20180227152126.GC1718931@rfd.leadboat.com
обсуждение исходный текст
Ответ на Re: MSVC builld of 9.5.12 is broken?  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
On Tue, Feb 27, 2018 at 11:43:34AM +0100, Magnus Hagander wrote:
> On Tue, Feb 27, 2018 at 11:27 AM, Victor Wagner <vitus@wagner.pp.ru> wrote:
> > These errors seems to be caused by commit  91f3ffc5249
> > which improves readability of src/bin/scripts/Makefile for
> > humans by moving list of common object files into variable.
> >
> > Unfortunately, it makes this Makefile unreadable for perl scripts
> > in src/tools/msvc, which generate Microsift Visual Studio projects.

> It's also interesting to note that this did not break in HEAD, 10 or 9.6.
> And none of those actually have the SCRIPTS_COMMON code.
> 
> I'm unsure why this was introduced in 9.5 and earlier, but not in the newer
> ones.  This smells like a possible backpatch mistake, in which case that
> part should probably be backed out of the old branches rather than teaching
> mkvcbuild about it.
> 
> Noah? Can you confirm if it was intentional?

It was intentional; the release made common.c depend on dumputils.c in 9.5 and
earlier, so everything that needs common.c now needs all four files.  (From 9.6,
relevant code had moved to libpgfeutils.)  Nonetheless, your fix was correct.
Thanks for pushing it.


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

Предыдущее
От: Claudio Freire
Дата:
Сообщение: Re: [HACKERS] [PATCH] Vacuum: Update FSM more frequently
Следующее
От: Robert Haas
Дата:
Сообщение: Re: atomics.h may not be included from frontend code