File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ PHP_RUNPATH_SWITCH
159159
160160dnl Checks for some support/generator progs.
161161PHP_PROG_BISON([ 3.0.0] )
162- PHP_PROG_RE2C([ 1.0.3] , [ --no-generation-date] )
162+ PHP_PROG_RE2C([ 1.0.3] , [ --no-generation-date -W ] )
163163dnl Find installed PHP. Minimum supported version for gen_stub.php is PHP 8.1.
164164PHP_PROG_PHP([ 8.1] )
165165
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ YACC=${YACC:-bison}
3737YACC=" $YACC -l"
3838YFLAGS=" -Wall"
3939RE2C=${RE2C:- re2c}
40- RE2C_FLAGS=" --no-generation-date -i"
40+ RE2C_FLAGS=" --no-generation-date -i -W "
4141SED=${SED:- sed}
4242MAKE=${MAKE:- make}
4343
Original file line number Diff line number Diff line change @@ -3018,7 +3018,7 @@ function toolset_setup_project_tools()
30183018 }
30193019
30203020 var RE2C = PATH_PROG ( 're2c' ) ;
3021- DEFINE ( 'RE2C_FLAGS' , '--no-generation-date' ) ;
3021+ DEFINE ( 'RE2C_FLAGS' , '--no-generation-date -W ' ) ;
30223022 if ( RE2C ) {
30233023 var RE2CVERS = probe_binary ( RE2C , "version" ) ;
30243024 STDOUT . WriteLine ( ' Detected re2c version ' + RE2CVERS ) ;
You can’t perform that action at this time.
0 commit comments