[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Postgresql 8.0.1

On Mon, Mar 14, 2005 at 02:09:46PM -0500, Jim Buttafuoco wrote:
> Doing some more digging on this issue, I have found that even though _GNU_SOURCE is defined on my gcc command line the
> macro __USE_ISOC99 (from /usr/include/features.h) doesn't get set. without this macro set (like it is on
> i386,alpha,sparc...) the postgres 8.X code brings in the BSD flavors some math routines which are causing the failure. 
> To solve my immediate problem, i have hacked features.h to just set __USE_ISOC99 to 1.  I am going to do a complete
> install of sarge on another 710 I have to see if the problem stems from my upgrade from woody to sarge or just a broken
> system.

I'm not an expert, but I guess that macro might be defined by passing
something like -std=gnu99 on the gcc command line?

"Next the statesmen will invent cheap lies, putting the blame upon 
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince 
himself that the war is just, and will thank God for the better sleep 
he enjoys after this process of grotesque self-deception." -- Mark Twain

Reply to: