Re: multiple exception definition in pg_type.h -> error

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: ftm(dot)van(dot)vugt(at)foxi(dot)nl, <pgsql-bugs(at)postgreSQL(dot)org>
Subject: Re: multiple exception definition in pg_type.h -> error
Date: 2002-10-15 18:59:44
Message-ID: Pine.LNX.4.44.0210152057561.928-100000@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Tom Lane writes:

> ftm(dot)van(dot)vugt(at)foxi(dot)nl writes:
> > Postgresql itself seems to never include <errno.h> along with
> > <catalog/pg_type.h>, otherwise it would suffer from the same problem
>
> That's hard to believe; I think it's Qt that's doing something strange
> here.

Yeah, like compiling with thread support. ;-)

> Anyone object to doing
>
> extern int no_such_variable;
>
> instead?

I wouldn't be surprised if some imaginative AIX linker will croak on that,
but let's try it.

--
Peter Eisentraut peter_e(at)gmx(dot)net

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Mathew Frank 2002-10-15 23:56:25 Re: spurious "UNIQUE constraint matching given keys for referenced table" error
Previous Message Tom Lane 2002-10-15 17:39:16 Re: multiple exception definition in pg_type.h -> error compiling postgres support in Qt with gcc v3.2 (SuSE 8.1)