"Daniel 'NebuchadnezzaR' Dehennin" <[EMAIL PROTECTED]>
writes:

> Le 4600 Septembre 1993, Matthieu Moy a tapoté:
>> I just had the case of an incorrect .elc file preventing me from
>> compiling DVC, while the .el file had been corrected a while ago.
>
> Can you give me a way to reproduce it ?

Don't spend too much time on this, it's not a /so/ serious bug (but it
would be nice to have a bug-free generic build system, not only for
DVC ...), but:

$ cd /path/to/dvc/lisp
$ make

# add the line
(error "this error is here on purpose")
# to dvc-lisp.el

# M-x byte-compile-file RET dvc-lisp.el RET

# remove the line (error ...) added above.

$ make
$ make
$ make
...


Expected behavior: the last "make" should recompile dvc-lisp.el
first, and then, the other files doing a

  (eval-when-compile (require 'dvc-lisp))

should read the dvc-lisp.elc without the (error ...).


Actual behavior: the last "make" tries to recompile some other files
before dvc-lisp.el, which raises an error, which in turn aborts the
build. So, the "make" and all subsequent make will fail untill
dvc-lisp.elc get deleted.

This is the problem that the explicit dependencies in the old
Makefiles was intended to solve.

-- 
Matthieu

_______________________________________________
Xtla-el-dev mailing list
[email protected]
https://mail.gna.org/listinfo/xtla-el-dev

Reply via email to