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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: 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-20 18:14:51
Message-ID: 3583.980014491@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> Tom Lane writes:
>> Er, what will you ifdef exactly,

> + #ifdef __cplusplus
> #ifdef HAVE_SYS_NERR
> extern int sys_nerr;
> #endif
> + #endif

>> and what are the odds that it will fail on some other platform?

> I don't see how it would fail. At least it won't add more possible
> failure cases.

If that can't fail, why do we need to provide a declaration of sys_nerr
at all?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2001-01-20 18:15:22 Re: "initdb -t" destroys all databases
Previous Message Peter Eisentraut 2001-01-20 18:14:23 Re: C++ interface build on FreeBSD 4.2 broken?