From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Joe Conway <mail(at)joeconway(dot)com> |
Cc: | "Hackers (PostgreSQL)" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: compile error in cvs tip |
Date: | 2003-04-05 19:52:54 |
Message-ID: | 200304051952.h35JqsI27446@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
OK, patch applied. I am a little surprised your compiler complained.
Seems your strcspn() is actually a macro, not a function call. What
OS/compiler are you using?
---------------------------------------------------------------------------
Joe Conway wrote:
> 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
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
Attachment | Content-Type | Size |
---|---|---|
unknown_filename | text/plain | 901 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Joe Conway | 2003-04-05 19:56:25 | Re: compile error in cvs tip |
Previous Message | Joe Conway | 2003-04-05 19:14:27 | compile error in cvs tip |