Re: Further simplification of c.h's #include section

Поиск
Список
Период
Сортировка
Искать
От
David Rowley
Тема
Re: Further simplification of c.h's #include section
Дата
Msg-id
CAKJS1f8DkZy4bupPtCjramXj+MKqA1WQPy_YtfT_8VTjoZSR-g@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Further simplification of c.h's #include section Tom Lane <tgl@sss.pgh.pa.us>
Re: Further simplification of c.h's #include section Robert Haas <robertmhaas@gmail.com>
Re: Further simplification of c.h's #include section Tom Lane <tgl@sss.pgh.pa.us>
Re: Further simplification of c.h's #include section Tom Lane <tgl@sss.pgh.pa.us>
Re: Further simplification of c.h's #include section Robert Haas <robertmhaas@gmail.com>
Re: Further simplification of c.h's #include section Tom Lane <tgl@sss.pgh.pa.us>
Re: Further simplification of c.h's #include section Tom Lane <tgl@sss.pgh.pa.us>
Re: Further simplification of c.h's #include section Robert Haas <robertmhaas@gmail.com>
Re: Further simplification of c.h's #include section Tom Lane <tgl@sss.pgh.pa.us>
Re: Further simplification of c.h's #include section David Rowley <david.rowley@2ndquadrant.com>
Re: Further simplification of c.h's #include section Tom Lane <tgl@sss.pgh.pa.us>
Re: Further simplification of c.h's #include section Michael Paquier <michael.paquier@gmail.com>
Re: Further simplification of c.h's #include section David Rowley <david.rowley@2ndquadrant.com>
On 16 November 2017 at 19:14, Michael Paquier  wrote:
> On Thu, Nov 16, 2017 at 2:23 PM, David Rowley
>  wrote:
>> I do get some warnings:
>>
>> (ClCompile target) ->
>>   src/test/modules/test_session_hooks/test_session_hooks.c(112): warning
>> C4113: 'void (__cdecl *)()' differs in parameter lists from
>> 'session_start_hook_type' [test_session_hooks.vcxproj]
>>   src/test/modules/test_session_hooks/test_session_hooks.c(113): warning
>> C4113: 'void (__cdecl *)()' differs in parameter lists from
>> 'session_end_hook_type' [test_session_hooks.vcxproj].
>>
>>     2 Warning(s)
>>
>> But I imagine that was caused by 745948422c (also get the warnings without
>> your patch)
>
> Do the warnings go away with the patch attached?

Yes

-- David Rowley                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services

В списке pgsql-hackers по дате отправления
От: Masahiko Sawada
Дата:
От: 高增琦
Дата:
FAQ