pgsql: Drop warning-free support for Flex 2.5.35

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Drop warning-free support for Flex 2.5.35
Date: 2025-01-15 14:40:55
Message-ID: E1tY4Zj-001jp9-1h@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Drop warning-free support for Flex 2.5.35

This removes all the various workarounds for avoiding compiler
warnings with Flex 2.5.35. Several recent patches have added
additional warnings that would either need to be fixed along the lines
of the existing workarounds, or we decide to no longer care about
this, which we do here.

Flex 2.5.35 is extremely outdated, and you can't even download it
anymore from any of the Flex project sites, so it's nearly impossible
to support.

After this, using Flex 2.5.35 will still work, but the generated code
will produce numerous compiler warnings.

Reviewed-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Discussion: https://www.postgresql.org/message-id/1a204ccd-7ae6-478c-a431-407b5c48ccc6@eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6fdd5d9563439285df200f7282f0ca68152ef72d

Modified Files
--------------
src/Makefile.global.in | 1 -
src/backend/parser/Makefile | 1 -
src/backend/parser/meson.build | 2 +-
src/backend/parser/scan.l | 9 ------
src/bin/pgbench/exprscan.l | 9 ------
src/bin/psql/Makefile | 1 -
src/bin/psql/meson.build | 2 +-
src/bin/psql/psqlscanslash.l | 9 ------
src/fe_utils/Makefile | 1 -
src/fe_utils/meson.build | 2 +-
src/fe_utils/psqlscan.l | 9 ------
src/tools/fix-old-flex-code.pl | 66 ------------------------------------------
src/tools/pgflex | 13 ---------
13 files changed, 3 insertions(+), 122 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2025-01-15 16:04:04 pgsql: Downgrade error in object_aclmask_ext() to internal
Previous Message Peter Eisentraut 2025-01-15 10:41:40 pgsql: Change gist stratnum function to use CompareType