bug-gnulib
[Top][All Lists]
Advanced

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

Re: lib/c++defs.h


From: Bruno Haible
Subject: Re: lib/c++defs.h
Date: Thu, 27 Jan 2011 03:21:23 +0100
User-agent: KMail/1.9.9

[trimming down the CCs, as this is no longer related to emacs]

Paul Eggert wrote:
> Currently we build
> lib/c++defs.h from build-aux/c++defs.h as part of ordinary
> 'make'.  But lib/c++defs.h is the same on all platforms.
> It would save work for ordinary 'make' if we distributed
> lib/c++defs.h, so that the maintainer can build it rather than
> the builder.  Similarly for lib/warn-on-use.h and lib/arg-nonnull.h.

The difference between build-aux/c++defs.h and lib/c++defs.h is that the
former contains a copyright notice - because every file we distribute needs
to have a copyright notice -, whereas the latter is literally copied into
other .h files and therefore does not have a copyright notice - because it
would be possibly legally confusing if a file has two copyright notices
before it gets slurped in by the compiler.

If we were to distribute also lib/c++defs.h, we would be distributing a
file without copyright notice, which we shouldn't do.

Likewise for warn-on-use.h and arg-nonnull.h.

Bruno



reply via email to

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