Variable: native-comp-async-report-warnings-errors

native-comp-async-report-warnings-errors is a customizable variable defined in comp.el.gz.

Value

t

Documentation

Whether to report warnings and errors from asynchronous native compilation.

When native compilation happens asynchronously, it can produce warnings and errors, some of which might not be emitted by a byte-compilation. The typical case for that is native-compiling a file that is missing some require of a necessary feature, while having it already loaded into the environment when byte-compiling.

As asynchronous native compilation always starts from a pristine environment, it is more sensitive to such omissions, and might be unable to compile such Lisp source files correctly.

Set this variable to nil to suppress warnings altogether, or to the symbol silent to log warnings but not pop up the *Warnings* buffer.

This variable was added, or its default value changed, in Emacs 28.1.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/comp.el.gz
(defcustom native-comp-async-report-warnings-errors t
  "Whether to report warnings and errors from asynchronous native compilation.

When native compilation happens asynchronously, it can produce
warnings and errors, some of which might not be emitted by a
byte-compilation.  The typical case for that is native-compiling
a file that is missing some `require' of a necessary feature,
while having it already loaded into the environment when
byte-compiling.

As asynchronous native compilation always starts from a pristine
environment, it is more sensitive to such omissions, and might be
unable to compile such Lisp source files correctly.

Set this variable to nil to suppress warnings altogether, or to
the symbol `silent' to log warnings but not pop up the *Warnings*
buffer."
  :type '(choice
          (const :tag "Do not report warnings" nil)
          (const :tag "Report and display warnings" t)
          (const :tag "Report but do not display warnings" silent))
  :version "28.1")