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: Martin Stjernholm
Subject: Re: CC mode loads CL
Date: Sat, 17 Jan 2004 14:04:59 +0100
User-agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/20.7 (gnu/linux)

Richard Stallman <address@hidden> wrote:

>       I find myself in the need to manually
>     compile some of the cc-*.el files, which isn't easy, since the warning
>     message doesn't give any useful hints as to the files that need to be
>     recompiled.
>
> The usual solution method is to put the macro definitions and other
> material needed for compilation into a separate file, and make the
> other files require that one.  Why won't that work here?

It would work when distributed with Emacs, but might not when users
download and install the standalone dist of CC Mode. And as I said
before, I want to keep a single source as far as possible. Anyway, I
don't understand the connection between that and the problem Eli
Zaretskii describes.

> When eliminating warnings is the goal, one method is to use
> with-no-warnings in places that would get warnings you want to ignore.

Good to know, but that helper does not work very well as a replacement
for the cc-bytecomp stuff, unfortunately. cc-bytecomp lets the user
specify functions and variables for which no warnings should be
generated if they aren't bound. To replace that with with-no-warnings,
it's necessary to change the code at every location where the
functions and variables are used.




reply via email to

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