From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | Karel Zak <zakkr(at)zf(dot)jcu(dot)cz> |
Cc: | Larry Rosenman <ler(at)lerctr(dot)org>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp> |
Subject: | Re: Beta Monday? |
Date: | 2001-09-07 15:20:21 |
Message-ID: | Pine.LNX.4.30.0109071719000.680-100000@peter.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Karel Zak writes:
> > But here is the tail of the output:
> > UX:cc: WARNING: debugging and optimization mutually exclusive; -O disabled
> > UX:acomp: ERROR: "encnames.c", line 36: syntax error in macro parameters
> ^^^^^^^^^^^^^
> Here is:
>
> /* #define DEBUG_ENCODING */
> #ifdef DEBUG_ENCODING
> #ifdef FRONTEND
> #define encdebug(_format, _a...) fprintf(stderr, _format, ##_a)
> #else
> #define encdebug(_format, _a...) elog(NOTICE, _format, ##_a)
> #endif
> #else
> #define encdebug(_format, _a...)
> ^^^^^^^^^^^
> line 36
>
> #endif
>
> I don't see some problem with my gcc. Or I something overlook?
That's because this is a gcc-specific feature. You cannot portably use
varargs macros.
--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter
From | Date | Subject | |
---|---|---|---|
Next Message | D'Arcy J.M. Cain | 2001-09-07 15:26:21 | Re: CVS access |
Previous Message | Larry Rosenman | 2001-09-07 15:18:45 | Re: [COMMITTERS] pgsql/src/backend/utils/mb encnames.c |