[Top][All Lists]

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

Re: Gnulib on Windows (native / mingw32) / VMS / etc.

From: Paul Eggert
Subject: Re: Gnulib on Windows (native / mingw32) / VMS / etc.
Date: Tue, 15 May 2018 17:02:23 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

On 05/15/2018 03:31 PM, Paul Smith wrote:
I understand that the goal is to have versions of these standard header
files which can be used without config.h, but the GNU coding standards
suggest that config.h must be included first in each compilation unit,
before even system headers

As I understand it, the Gnulib .h files in question are intended to be useful even to programs that do not follow the GNU coding standards and do not necessarily even have a config.h.

Here's a thought. Perhaps we could replace each instance of "@" in our FOO.h.in files with "_aT_", and adjust all our other scripts accordingly, except that (1) on systems lacking 'sed' the makefiles just use 'cp' when creating FOO.h from FOO.h.in, and (2) we define the corresponding *_aT_* symbols in config.h. That way, you'd get the behavior you prefer even on development platforms lacking 'sed', and people running onĀ  platforms with 'sed' will continue to get .h files that are useful to programs that do not follow the GNU coding standards.

reply via email to

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