Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

startup warning message #88

Open
notuntoward opened this issue Aug 13, 2023 · 1 comment
Open

startup warning message #88

notuntoward opened this issue Aug 13, 2023 · 1 comment

Comments

@notuntoward
Copy link

I thought you'd be interested to know that, when I start up emacs, I see this in the async-native-compile-log buffer

Compiling c:/users/scott/.emacs.d/straight/build/ekg/ekg.el...

In end of data:
ekg.el:860:12: Warning: the function `delete-line' is not known to be defined.
c:/users/scott/.emacs.d/straight/build/ekg/ekg.el: Error: Invalid function #
Compilation finished.

I haven't noticed that this causes a problem, though. This is on emacs 28.2.

@ahyatt
Copy link
Owner

ahyatt commented Aug 15, 2023

This is very interesting, thanks for opening this. If you can reproduce this, would you mind adding (declare-function delete-line "subr") after the other declare-function calls in ekg.el and seeing if this helps? I'd check it in, but this is very weird, and I don't really understand why this is a problem or what the best fix is. The problem is, this is in a file that is just part of emacs, and doesn't provide any module, so I can't require it. And delete-line is not new, AFAICT.

In addition, I don't really understand what is happening with the "invalid function #". I really need to get native compilation working on my own computer so I can try to track down these problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants