pgsql: Tweak cpluspluscheck to avoid directly #include'ing gram.h.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Tweak cpluspluscheck to avoid directly #include'ing gram.h.
Date: 2010-12-27 16:37:13
Message-ID: E1PXG4P-000643-M3@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Tweak cpluspluscheck to avoid directly #include'ing gram.h.

gram.h has ordering dependencies, which are satisfied when it's included
from gramparse.h, but might not be if it's pulled in directly.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=a977db6f1c3f399e5eaeb2514c72f38bdb8319e8

Modified Files
--------------
src/tools/pginclude/cpluspluscheck | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2010-12-27 17:20:28 pgsql: Fix failure of executor/hashjoin.h to compile standalone.
Previous Message Tom Lane 2010-12-27 16:26:58 pgsql: Fix ill-chosen use of "private" as an argument and struct field