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   [EMAIL PROTECTED]   http://funkturm.homeip.net/~peter


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://www.postgresql.org/search.mpl

Reply via email to