gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] Generated gpsd.h


From: Eric S. Raymond
Subject: Re: [gpsd-dev] Generated gpsd.h
Date: Sun, 22 Jan 2017 20:42:58 -0500
User-agent: Mutt/1.5.24 (2015-08-30)

Fred Wright <address@hidden>:
> 
> Does anyone remember why gpsd.h is generated by concatenating head and
> tail portions with a verbatim copy of gpsd_config.h in the middle, instead
> of having it be an ordinary header with '#include "gpsd_config.h"'?  This
> is especially bizarre given that it already implicitly includes
> gpsd_config.h via compiler.h, anyway.  And it's getting in the way of
> cleaning up some of the C vs. C++ mess.
> 
> It seems to date back to the make/automake days, so maybe the reason for
> it is long gone.
> 
> Fred Wright

I originally did it that way so that in a binary-package installation, the
gpsd.h file would be one unit with no inclusiuons other than gps.h (which
we could presume to also be installed).

That constraint is gone now, gpsd.h has not been a public interface for
a long time.  Feel free to clean it up.
-- 
                <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]