Achim Gratz <strom...@nexgo.de> writes: > Bastien <bzg <at> gnu.org> writes: >> ~$ emacs -batch -Q --eval "(byte-compile-file > \"~/install/git/org-mode/lisp/ob.el\")" >> >> I get warnings in the second case, not in the first case. > > You should, because the command line you use does not set up the load-path > correctly. The requires will now use the standard Emacs load-path, which > provides older files with the same name.
Here are the warnings I get: ,---- | In org-babel-sha1-hash: | ob.el:1022:4:Warning: `(rm (lst) (dolist (p (quote ("replace" "silent" | "append" "prepend"))) (setq lst (remove p lst))) lst)' is a malformed | function | ob.el:1033:54:Warning: reference to free variable `arg' | | In org-babel-noweb-p: | ob.el:2224:34:Warning: `(intersect (as bs) (when as (if (member (car as) bs) | (car as) (intersect (cdr as) bs))))' is a malformed function | | In end of data: | ob.el:2603:1:Warning: the following functions are not known to be defined: | org-labels, norm, arg, rm, intersect | Wrote /home/guerry/install/git/org-mode/lisp/ob.elc `---- (This is related to the use of cl-labels in ob.el.) Do you get those warnings with ~$ emacs -batch -Q --eval "(byte-compile-file \"~/install/git/org-mode/lisp/ob.el\")" ? Do you get them with make ~$ make _COMPILE_=single ? How do you set up the load-path when compiling with `make _COMPILE_=single'? Thanks, -- Bastien