Re: C++ interface build on FreeBSD 4.2 broken?

From: Patrick Welche <prlw1(at)newn(dot)cam(dot)ac(dot)uk>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: C++ interface build on FreeBSD 4.2 broken?
Date: 2001-01-21 12:11:47
Message-ID: 20010121121147.A2770@quartz.newn.cam.ac.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Jan 20, 2001 at 08:06:51PM -0500, Tom Lane wrote:
> What I've done to solve the immediate C++ problem is to take the
> declaration of sys_nerr out of c.h entirely, and put it into the
> two C modules that actually need it. However, I'm still wondering
> whether we should not drop the rangecheck on errno completely.

Probably not useful, but in our <errno.h>, sys_nerr is defined

#if !defined(_ANSI_SOURCE) && !defined(_POSIX_C_SOURCE) && \
!defined(_XOPEN_SOURCE)

P

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Jerusalem 2001-01-21 12:18:54 postgres memory management
Previous Message Cedar Cox 2001-01-21 10:47:09 ODBC gives pq_recvbuf: unexpected EOF on client connection