Skip site navigation (1) Skip section navigation (2)

Re: compile warnings

From: Joe Conway <mail(at)joeconway(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Hackers (PostgreSQL)" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: compile warnings
Date: 2004-07-01 05:25:27
Message-ID: 40E3A047.4090904@joeconway.com (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
Tom Lane wrote:
> Joe Conway <mail(at)joeconway(dot)com> writes:
>>In file included from /usr/include/python2.3/Python.h:8,
>>                  from plpython.c:58:
>>/usr/include/python2.3/pyconfig.h:847:1: warning: "_POSIX_C_SOURCE" 
>>redefined
>>In file included from /usr/include/stdio.h:28,
>>                  from ../../../src/include/c.h:60,
>>                  from ../../../src/include/postgres.h:48,
>>                  from plpython.c:37:
>>/usr/include/features.h:131:1: warning: this is the location of the 
>>previous definition
> 
> I think this must be breakage in your local python installation, not in
> Postgres.  Note the complaint is that /usr/include/python2.3/pyconfig.h
> disagrees with /usr/include/features.h ... it's not hard to decide who's
> at fault there.  PG could be an accessory to the crime, but AFAICS we've
> not mucked with include order or predefined symbols for plpython.c
> lately; so if we broke it, it was awhile ago.

I'm on a relatively new/vanilla fedora core 2 system, so the fault might 
lie there.

> This is surely not a "must fix tomorrow" issue, but please look into it
> when you get back from your road trip.

OK, will do.

> (Where are you going, anyway?  3600 miles is a long way...)

San Diego to Mississippi and back. Visit family, attend a wedding, etc. 
We do this trip every year or two, so I'm used to it by now ;-)

Joe

In response to

pgsql-hackers by date

Next:From: Grant FinnemoreDate: 2004-07-01 05:41:29
Subject: Re: Performance with new nested-xacts code
Previous:From: Tom LaneDate: 2004-07-01 05:18:40
Subject: Re: compile warnings

pgsql-patches by date

Next:From: Joe ConwayDate: 2004-07-01 05:56:06
Subject: Re: latest plperl
Previous:From: Tom LaneDate: 2004-07-01 05:18:40
Subject: Re: compile warnings

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group