Skip to content

Enable all warnings for re2c #19051

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ PHP_RUNPATH_SWITCH

dnl Checks for some support/generator progs.
PHP_PROG_BISON([3.0.0])
PHP_PROG_RE2C([1.0.3], [--no-generation-date])
PHP_PROG_RE2C([1.0.3], [--no-generation-date -W])
dnl Find installed PHP. Minimum supported version for gen_stub.php is PHP 7.4.
PHP_PROG_PHP([7.4])

Expand Down
2 changes: 1 addition & 1 deletion scripts/dev/genfiles
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ YACC=${YACC:-bison}
YACC="$YACC -l"
YFLAGS="-Wall"
RE2C=${RE2C:-re2c}
RE2C_FLAGS="--no-generation-date -i"
RE2C_FLAGS="--no-generation-date -i -W"
SED=${SED:-sed}
MAKE=${MAKE:-make}

Expand Down
2 changes: 1 addition & 1 deletion win32/build/confutils.js
Original file line number Diff line number Diff line change
Expand Up @@ -3017,7 +3017,7 @@ function toolset_setup_project_tools()
}

var RE2C = PATH_PROG('re2c');
DEFINE('RE2C_FLAGS', '--no-generation-date');
DEFINE('RE2C_FLAGS', '--no-generation-date -W');
if (RE2C) {
var RE2CVERS = probe_binary(RE2C, "version");
STDOUT.WriteLine(' Detected re2c version ' + RE2CVERS);
Expand Down