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 @@ -148,7 +148,7 @@ PHP_RUNPATH_SWITCH
148148
149149dnl Checks for some support/generator progs.
150150PHP_PROG_BISON([ 3.0.0] )
151- PHP_PROG_RE2C([ 1.0.3] , [ --no-generation-date] )
151+ PHP_PROG_RE2C([ 1.0.3] , [ --no-generation-date -W ] )
152152dnl Find installed PHP. Minimum supported version for gen_stub.php is PHP 7.4.
153153PHP_PROG_PHP([ 7.4] )
154154
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 @@ -3017,7 +3017,7 @@ function toolset_setup_project_tools()
30173017 }
30183018
30193019 var RE2C = PATH_PROG ( 're2c' ) ;
3020- DEFINE ( 'RE2C_FLAGS' , '--no-generation-date' ) ;
3020+ DEFINE ( 'RE2C_FLAGS' , '--no-generation-date -W ' ) ;
30213021 if ( RE2C ) {
30223022 var RE2CVERS = probe_binary ( RE2C , "version" ) ;
30233023 STDOUT . WriteLine ( ' Detected re2c version ' + RE2CVERS ) ;
You can’t perform that action at this time.
0 commit comments