From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Bruno Wolff III <bruno(at)wolff(dot)to> |
Cc: | pgsql-hackers(at)postgresql(dot)org, Michael Meskes <meskes(at)postgresql(dot)org> |
Subject: | Re: Error compiling timestamp.c in 7.4 |
Date: | 2003-09-16 04:38:10 |
Message-ID: | 13748.1063687090@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Bruno Wolff III <bruno(at)wolff(dot)to> writes:
> I get the following compiler error messages when doing a make on current CVS:
> gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -I../../../../src/interfaces/ecpg/include -I../../../../src/include/utils -I../../../../src/include -g -c timestamp.c -o timestamp.o
> timestamp.c: In function `tm2timestamp':
> timestamp.c:71: parse error before `86400000000LL'
> timestamp.c:73: parse error before `long'
> timestamp.c:76: parse error before `>='
> timestamp.c:76: parse error before `<'
> make[4]: *** [timestamp.o] Error 1
I stuck a finger into the dike, but I think some people need to
reconsider just how far they want to push "Informix compatibility".
"#define date long" is certain to break and keep breaking our code,
and doubtless a lot of users' code too. I'm not willing to forgo
use of that name for local variables.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2003-09-16 05:33:06 | Re: AIX 4.2.1 CVS head and SSL |
Previous Message | Bruno Wolff III | 2003-09-16 04:03:38 | Error compiling timestamp.c in 7.4 |