]> git.eshelyaron.com Git - emacs.git/commitdiff
* Account for `byte-compile-warnings' during native compilation (bug#63302).
authorAndrea Corallo <akrl@sdf.org>
Wed, 10 May 2023 11:50:51 +0000 (13:50 +0200)
committerAndrea Corallo <akrl@sdf.org>
Wed, 17 May 2023 13:13:17 +0000 (15:13 +0200)
* lisp/emacs-lisp/comp.el (comp-final, comp-run-async-workers):
Forward `byte-compile-warnings' to child processes.

lisp/emacs-lisp/comp.el

index e97832455b97647f434759e907857f9eebb85c71..8f40f2f40a008b3645f249616ea750ba811f8465 100644 (file)
@@ -3724,6 +3724,7 @@ Prepare every function for final compilation and drive the C back-end."
                            ',native-comp-compiler-options
                            native-comp-driver-options
                            ',native-comp-driver-options
+                           byte-compile-warnings ',byte-compile-warnings
                            load-path ',load-path)
                      ,native-comp-async-env-modifier-form
                      (message "Compiling %s..." ',output)
@@ -3996,6 +3997,7 @@ display a message."
                                              native-comp-driver-options
                                              load-path
                                              backtrace-line-length
+                                             byte-compile-warnings
                                              ;; package-load-list
                                              ;; package-user-dir
                                              ;; package-directory-list