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

Byte compilation should be separately done for each file #2839

Open
stephan-cr opened this issue Jun 13, 2021 · 0 comments
Open

Byte compilation should be separately done for each file #2839

stephan-cr opened this issue Jun 13, 2021 · 0 comments

Comments

@stephan-cr
Copy link
Contributor

$ byte-compile -Werror *.el

... nothing.

$ for i in *.el ; do byte-compile -Werror $i ; done

In toplevel form:
el-get-byte-compile.el:64:9:Error: reference to free variable ‘el-get-byte-compile’

In toplevel form:
el-get-core.el:42:9:Error: reference to free variable ‘el-get-verbose’

In toplevel form:
el-get-dependencies.el:186:1:Error: the function ‘el-get-read-package-with-status’ is not known to be defined.

In toplevel form:
el-get.el:199:28:Error: The compiler ignores ‘autoload’ except at top level.  You should
     probably put the autoload of the macro ‘el-get-bundle’ at top-level.

In toplevel form:
el-get-list-packages.el:452:1:Error: the following functions are not known to be defined: el-get-recipe-filename, el-get-package-type, el-get-package-def, el-get-package-method, el-get-version-to-list, el-get-recipe-pprint, el-get-read-all-recipes

In toplevel form:
el-get-methods.el:46:11:Error: reference to free variable ‘el-get-allow-insecure’

In toplevel form:
el-get-recipes.el:331:1:Error: the function ‘el-get-github-parse-user-and-repo’ is not known to be defined.

In toplevel form:
el-get-status.el:81:21:Error: reference to free variable ‘el-get-status-file’

This issue causes spurious CI failures.

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

1 participant