Drop warning-free support for Flex 2.5.35
authorPeter Eisentraut <peter@eisentraut.org>
Wed, 15 Jan 2025 14:35:08 +0000 (15:35 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Wed, 15 Jan 2025 14:35:08 +0000 (15:35 +0100)
commit6fdd5d9563439285df200f7282f0ca68152ef72d
tree7c88b3365ba3ee264c44cdc62f08da03860cbb78
parent630f9a43cece93cb4a5c243b30e34abce6a89514
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@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/1a204ccd-7ae6-478c-a431-407b5c48ccc6@eisentraut.org
13 files changed:
src/Makefile.global.in
src/backend/parser/Makefile
src/backend/parser/meson.build
src/backend/parser/scan.l
src/bin/pgbench/exprscan.l
src/bin/psql/Makefile
src/bin/psql/meson.build
src/bin/psql/psqlscanslash.l
src/fe_utils/Makefile
src/fe_utils/meson.build
src/fe_utils/psqlscan.l
src/tools/fix-old-flex-code.pl [deleted file]
src/tools/pgflex