On Thu, Dec 10, 2015 at 5:45 PM, Victor Wagner <vi...@wagner.pp.ru> wrote: > Recently (about a month ago) flex 2.6.0 have been released. > > But when we tried to compile PostgreSQL 9.5 beta 1 from git with it on > Windows, we've encountered that src/tools/msvc/pgflex.pl explicitely > checks that minor version of flex is equal to 5. > > unless ($verparts[0] == 2 && $verparts[1] == 5 && $verparts[2] > >=31) { print "WARNING! Flex install not found, or unsupported Flex > version.\n"; print "echo Attempting to build without.\n"; > exit 0; > } > > Is this check intentional, or it just seats here from the time when > version 2.6.0 didn't exist? > > Postgres seems to compile fine with flex 2.6.0.
It seems that 32f15d05 missed to update its equivalent in src/tools/msvc. Per se the patch attached as you already found out. -- Michael
20151210_msvc_flex.patch
Description: binary/octet-stream
-- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers