Re: Unused header file inclusion - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Unused header file inclusion
Date
Msg-id 20190819142214.GA9703@alvherre.pgsql
Whole thread Raw
In response to Re: Unused header file inclusion  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Unused header file inclusion  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 2019-Aug-18, Tom Lane wrote:

> I wrote:
> > (My headerscheck script is missing that header; I need to update it to
> > match the latest version of cpluspluscheck.)
> 
> I did that, and ended up with the attached.  I'm rather tempted to stick
> this into src/tools/ alongside cpluspluscheck, because it seems to find
> rather different trouble spots than cpluspluscheck does.  Thoughts?

Yeah, let's include this.  I've written its equivalent a couple of times
already.  (My strategy is just to compile the .h file directly though,
which creates a .gch file, rather than writing a temp .c file.)


-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Sergei Kornilov
Date:
Subject: psql \r command is working?
Next
From: Tom Lane
Date:
Subject: Re: psql \r command is working?