Re: [PATCHES] include compile problems - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCHES] include compile problems
Date
Msg-id 7925.1152852928@sss.pgh.pa.us
Whole thread Raw
Responses Re: [PATCHES] include compile problems  (Bruce Momjian <bruce@momjian.us>)
Re: [PATCHES] include compile problems  (Kris Jurka <books@ejurka.com>)
List pgsql-hackers
Kris Jurka <books@ejurka.com> writes:
> The attached patch makes the tree build for me again after the recent
> include changes.  This patch still violates the postgres.h before all
> system headers rule and I'm still not sure what changed that broke
> everything, but if people need to get work done this may help.

I think that Bruce thought that <math.h> defines INT_MAX and related
symbols, whereas the spec is perfectly clear that they're in
<limits.h>.  However, that's where they are on my machines, and yet CVS
tip is not failing for me.  I'm not clear why not...  What platform
are you using?

            regards, tom lane

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Three weeks left until feature freeze
Next
From: Bruce Momjian
Date:
Subject: Re: [PATCHES] include compile problems