Re: multiple exception definition in pg_type.h -> error - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: multiple exception definition in pg_type.h -> error
Date
Msg-id Pine.LNX.4.44.0210152057561.928-100000@localhost.localdomain
Whole thread Raw
In response to Re: multiple exception definition in pg_type.h -> error compiling postgres support in Qt with gcc v3.2 (SuSE 8.1)  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: multiple exception definition in pg_type.h -> error compiling postgres support in Qt with gcc v3.2 (SuSE 8.1)
List pgsql-bugs
Tom Lane writes:

> ftm.van.vugt@foxi.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@gmx.net

pgsql-bugs by date:

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