compile error in cvs tip - Mailing list pgsql-hackers

From Joe Conway
Subject compile error in cvs tip
Date
Msg-id 3E8F2B13.7030708@joeconway.com
Whole thread Raw
Responses Re: compile error in cvs tip  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
I'm getting a compile error on cvs tip.

gcc -O2 -g -Wall -Wmissing-prototypes -Wmissing-declarations 
-I../../../../src/include  -DPKGLIBDIR=\"/usr/local/pgsql/lib\" 
-DDLSUFFIX=\".so\"  -c -o dfmgr.o dfmgr.c -MMD
dfmgr.c:330:1: directives may not be used inside a macro argument
dfmgr.c:330:1: unterminated argument list invoking macro "strcspn"
make[4]: *** [dfmgr.o] Error 1

Looks like it was caused here:

http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/utils/fmgr/dfmgr.c.diff?r1=1.57&r2=1.58

Joe



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [NOVICE] Timestamp with time zone change (error) in 7.3.2?
Next
From: Bruce Momjian
Date:
Subject: Re: compile error in cvs tip