pgsql: Adjust yywrap macro for non-reentrant scanners for MSVC. - Mailing list pgsql-committers

From Andrew Dunstan
Subject pgsql: Adjust yywrap macro for non-reentrant scanners for MSVC.
Date
Msg-id E1QELfB-0005QH-10@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Adjust yywrap macro for non-reentrant scanners for MSVC.

The MSVC compiler complains if a macro is called with less arguments
than its definition provides for. flex generates a macro with one
argument for yywrap, but only supplies the argument for reentrant
scanners, so we remove the useless argument in the non-reentrant
case to silence the warning.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/08a0c2dabc3b9d59d72d7a79ed867b8e37d275a7

Modified Files
--------------
src/tools/msvc/pgflex.bat |   12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)


pgsql-committers by date:

Previous
From: Michael Meskes
Date:
Subject: pgsql: In libecpg do not set an sqlda field that is 'reserved for futur
Next
From: Robert Haas
Date:
Subject: pgsql: Fix SSI-related assertion failure.