On Fri, Sep 07, 2001 at 10:39:19AM -0400, Bruce Momjian wrote:
> > Karel Zak <zakkr@zf.jcu.cz> 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
> > > ^^^^^^^^^^^^^
> >
> > > #define encdebug(_format, _a...)
> > > ^^^^^^^^^^^
> > > line 36
> >
> > > I don't see some problem with my gcc. Or I something overlook?
> >
> > "..." in macro parameters is a gcc-ism. This code is unportable and
> > must be fixed.
>
> Yes, that stuff can't be done. We do use ## to bind macro params, but
> we don't do variable-length macro calls. This is debug stuff anyway so
> I am looking at how to get it compiling right away.
Hmm.. my world is comiled by 'gcc' and I'm still must learning that
here are some cathedrals and not bazaars only :-) Sorry.
OK, please erase all these debug macros (encdebug). I used it for binary
search check only. It's not needful. Do you want a patch (but not until
Monday)?
Karel
-- Karel Zak <zakkr@zf.jcu.cz>http://home.zf.jcu.cz/~zakkr/C, PostgreSQL, PHP, WWW, http://docs.linux.cz,
http://mape.jcu.cz