[Top][All Lists]

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

Re: Dependency on lisp.h

From: Stefan Monnier
Subject: Re: Dependency on lisp.h
Date: Sat, 21 Oct 2000 12:34:43 -0400

> I'd like to remind people who make _real_ changes in lisp.h (such as
> struct member addition/removal, or function prototype declaration
> changes due to addition/removal of arguments) to please touch config.h
> so that everything is recompiled.

I'm not sure what you mean by `touch'.  Are you talking about
making sure that your own compiles go through correctly, or are
you talking about making sure that other developers' compilations
go through correctly as well (in which case /bin/touch won't help
since config.h is not in CVS and CVS doesn't consider `touch' as
a file modification anyway).

> This is because lisp.h is not listed in dependencies (there are
> reasons for this), so a simple "make" might not compile some of the
> sources, and you won't see some of the incompatibilities introduced by
> your change.  This could cause subtle bugs that take hours to debug.

How about splitting the file somewhat.  I recently changed lisp.h
because of a change in keymap.c, for example.  It would have been better
to have keymap.h with full dependency info in the Makefile.

I'm not going to start such a split now, but maybe it's something
to put in etc/TODO ?


reply via email to

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