Error compiling timestamp.c in 7.4

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Error compiling timestamp.c in 7.4
Date: 2003-09-16 04:03:38
Message-ID: 20030916040338.GA506@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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 use the following to run config:
./configure --prefix=/usr/local/pgsql --enable-integer-datetimes --with-pgport=5433

I am doing this on a RH 6.1 system.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-09-16 04:38:10 Re: Error compiling timestamp.c in 7.4
Previous Message Tom Lane 2003-09-16 01:49:49 Re: FreeBSD Thread-safe functions ...