Thread: -HEAD compile failure on OpenBSD-current
Hi! -HEAD does not compile on my SMP i386 OpenBSD-current box (using a plain ./configure): gmake[4]: Leaving directory `/home/mastermind/source/pgsql/src/backend/utils/mb' /usr/local/bin/gmake -C misc SUBSYS.o gmake[4]: Entering directory `/home/mastermind/source/pgsql/src/backend/utils/mi sc' /usr/bin/flex guc-file.l sed -e 's/^yy/GUC_yy/g' -e 's/\([^a-zA-Z0-9_]\)yy/\1GUC_yy/g' lex.yy.c > guc-fil e.c rm -f lex.yy.c gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wendif-labels -fno- strict-aliasing -I. -I../../../../src/include -c -o guc.o guc.c guc.c:570: error: invalid lvalue in unary `&' guc.c:570: error: initializer element is not constant guc.c:570: error: (near initialization for `ConfigureNamesBool[19].variable') guc.c:577: error: initializer element is not constant guc.c:577: error: (near initialization for `ConfigureNamesBool[19]') guc.c:584: error: initializer element is not constant guc.c:584: error: (near initialization for `ConfigureNamesBool[20].gen') guc.c:587: error: initializer element is not constant guc.c:587: error: (near initialization for `ConfigureNamesBool[20]') guc.c:592: error: initializer element is not constant this failure seems to be the same one that the buildfarm member herring reports: http://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=herring&dt=2006-01-08%2005:30:24 Stefan
Stefan Kaltenbrunner <stefan@kaltenbrunner.cc> writes: > -HEAD does not compile on my SMP i386 OpenBSD-current box (using a plain > ./configure): Looks like Peter forgot to test the non-USE_ASSERT_CHECKING case. I've applied a fix. regards, tom lane