Re: ECPG interface: 7.4beta3 compile failure; CVS tip compile failure

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
Cc: PostgreSQL hackers list <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ECPG interface: 7.4beta3 compile failure; CVS tip compile failure
Date: 2003-09-19 06:38:51
Message-ID: 20030919063851.GA13035@feivel.fam-meskes.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Sep 18, 2003 at 06:53:00PM +0100, Oliver Elphick wrote:
> Line 138 begins the definition of strndup(). However, strndup() is also
> declared in string.h, which is included by this file. If I rename this
> function to estrndup() (and also where it is called, further down) the
> compilation succeeds.

I included strndup because some systems didn't seem to have it. Any idea
what else I could do? Okay, I could rename it and use only the renamed
function as it's just used internally.

What surprises me is that it compiles fine for me despite using the very
same system as Oliver to compile.

Michael
--
Michael Meskes
Email: Michael at Fam-Meskes dot De
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes(at)jabber(dot)org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Nigel J. Andrews 2003-09-19 06:43:53 pgindented tsearch2 for 7.3.4
Previous Message Tom Lane 2003-09-19 03:20:37 Re: osdl-dbt3 run results - puzzled by the execution plans