Re: ecpg compile error - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: ecpg compile error
Date
Msg-id 201001060258.o062w3r06819@momjian.us
Whole thread Raw
In response to ecpg compile error  (Bruce Momjian <bruce@momjian.us>)
Responses Re: ecpg compile error  (Boszormenyi Zoltan <zb@cybertec.at>)
List pgsql-hackers
Bruce Momjian wrote:
> I am seeing a compile failure in current CVS because my operating
> system, BSD/OS, does not have inttypes.h:
> 
>     ccache gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith
>     -fno-strict-aliasing -O1 -Wall -Wmissing-prototypes
>     -Wmissing-declarations -Wpointer-arith -Wcast-align -pthread
>     -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fpic
>     -I../include -I../../../../src/interfaces/ecpg/include
>     -I../../../../src/interfaces/libpq -I../../../../src/port
>     -I../../../../src/include -I/usr/local/include/readline
>     -I/usr/contrib/include -DSO_MAJOR_VERSION=6  -c -o sqlda.o sqlda.c
>     sqlda.c:13: inttypes.h: No such file or directory
> 
> I think I see a few other platforms that have a problem:
> 
>     http://www.pgbuildfarm.org/cgi-bin/show_status.pl
> 
> (I introduced a compile bug 30 minutes ago (OIDCHARS) but I fixed that.)

Surprisingly, I am able to compile and pass all regression tests without
that include.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: xpath improvement suggestion
Next
From: Bruce Momjian
Date:
Subject: Re: pg_migrator issues