"Fix pg_isolation_regress to work outside its build directory" compiler warning

From: David Rowley <dgrowleyml(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Robert Haas <robertmhaas(at)gmail(dot)com>
Subject: "Fix pg_isolation_regress to work outside its build directory" compiler warning
Date: 2013-11-09 05:45:25
Message-ID: CAApHDvpFHztBsxcEFZmTB1hLXX_iQQgzXAx1azrfSKwKysk5ZQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Commit 9b4d52f2095be96ca238ce41f6963ec56376491f introduced a new compiler
warning to the windows visual studios build

"D:\Postgres\b\pgsql.sln" (default target) (1) ->
"D:\Postgres\b\pg_regress_ecpg.vcxproj" (default target) (88) ->
(ClCompile target) ->
src\interfaces\ecpg\test\pg_regress_ecpg.c(170): warning C4113: 'void
(__cdecl *)(void)' differs in parameter lists from 'init_function'
[D:\Postgres\b\pg_regress_ecpg.vcxproj]

1 Warning(s)

The attached fixes it.

Regards

David Rowley

Attachment Content-Type Size
windows_compiler_warning.patch application/octet-stream 404 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2013-11-09 06:29:38 Re: patch to fix unused variable warning on windows build
Previous Message Amit Kapila 2013-11-09 04:16:26 Re: TODO: Split out pg_resetxlog output into pre- and post-sections