emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: CC mode loads CL


From: Eli Zaretskii
Subject: Re: CC mode loads CL
Date: Sat, 17 Jan 2004 19:39:32 +0200

> From: Martin Stjernholm <address@hidden>
> Date: Sat, 17 Jan 2004 14:03:43 +0100
> 
> > What does annoy me in the CVS is that apparently "make recompile" in
> > the lisp subdirectory doesn't DTRT for CC Mode, as afterwards I get
> > warnings about version mismatch between different cc-*.elc files quite
> > frequently.
> 
> I've made a couple simple attempts to trig something like that, but
> without success. Do you think you could provide a recipe to reproduce
> it?

The recipe is very simple:

  . Build Emacs with these commands:

     ./configure
     make
     cd lisp && make recompile EMACS=../src/emacs
     make

  . Start Emacs with "emacs -q" and visit any C file.


> What do the warnings say?

They say

   c-mode compiled with CC Mode 5.30.7 but loaded with 5.30.8 - evaluating 
language constants from source

More details from the *Messages* buffer:

  Loading cc-mode...
  Loading cc-langs...done
  Loading cc-mode...done
  c-mode compiled with CC Mode 5.30.7 but loaded with 5.30.8 - evaluating 
language constants from source
  Loading cl-extra...done
  Loading cl-seq...done
  Loading vc-cvs...done

Note that "make recompile" in the lisp/ directory does not recompile
any files even after this warning is displayed.  So obviously
lisp/Makefile doesn't know about whatever hidden dependency that
triggers this problem.

In case it matters, the last ChangeLog entry for cc-mode files I have
on this system is from 2003-11-16.  AFAIR, such warnings happen every
time there's some major update of the cc-mode files in the CVS
(probably every time c-version changes).

HTH




reply via email to

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