]> granicus.if.org Git - postgresql/commit
Un-break ecpg tests for Windows.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 2 Jun 2019 15:07:54 +0000 (11:07 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 2 Jun 2019 15:07:54 +0000 (11:07 -0400)
commit10a53cae9993abae159abdc6a76e46f6aac120d1
treec7b9b80b9f4a2aa11a74454eb5123f16324b9cbe
parent4b3f1dd71b74f82dedbf37c331d0a444368c4009
Un-break ecpg tests for Windows.

Declaring a function "inline" still doesn't work with Windows compilers
(C99? what's that?), unless the macro provided by pg_config.h is
in-scope, which it is not in our ECPG test programs.  So the workaround
I tried to use in commit 7640f9312 doesn't work for Windows.  Revert
the change in printf_hack.h, and instead just blacklist that file
in cpluspluscheck --- since it's a not-installed test file, we don't
really need to verify its C++ cleanliness anyway.
src/interfaces/ecpg/test/expected/compat_informix-dec_test.c
src/interfaces/ecpg/test/expected/pgtypeslib-num_test.c
src/interfaces/ecpg/test/expected/pgtypeslib-num_test2.c
src/interfaces/ecpg/test/printf_hack.h
src/tools/pginclude/cpluspluscheck