Re: Problem while building SRPM PostgreSQL on Red Hat Linux

From: Joe Conway <mail(at)joeconway(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Devrim GUNDUZ <devrim(at)gunduz(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: Problem while building SRPM PostgreSQL on Red Hat Linux
Date: 2003-04-13 03:54:35
Message-ID: 3E98DF7B.6040103@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane wrote:
> Joe Conway <mail(at)joeconway(dot)com> writes:
>
>>hba.c:82: conflicting types for `isblank'
>>/usr/include/ctype.h:128: previous declaration of `isblank'
>>make[3]: *** [hba.o] Error 1
>
> [ scratches head ... ] They have both a macro and an extern definition
> of isblank? What is the latter exactly?

This is from /usr/include/ctype.h on a clean install of Red Hat 9:

/* ISO C99 introduced one new function. */
#ifdef __USE_ISOC99
__BEGIN_NAMESPACE_C99

__exctype (isblank);

__END_NAMESPACE_C99
#endif

> Mebbe the best answer is just to rename our function to pg_isblank...

Sounds like the ticket.

Joe

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-04-13 04:08:34 Re: Problem while building SRPM PostgreSQL on Red Hat Linux
Previous Message Tom Lane 2003-04-13 03:47:16 Re: Problem while building SRPM PostgreSQL on Red Hat Linux