]> git.eshelyaron.com Git - emacs.git/commitdiff
Suppress warnings about obsolete generics (bug#25556)
authorGlenn Morris <rgm@gnu.org>
Fri, 16 Mar 2018 05:57:39 +0000 (01:57 -0400)
committerAndrew G Cohen <cohen@andy.bu.edu>
Tue, 11 Dec 2018 06:17:50 +0000 (14:17 +0800)
* lisp/Makefile.in (MAIN_FIRST): New variable.
(compile-main): Put some files at the head of the queue.

lisp/Makefile.in

index d4709bd79d4ee442dcc53eeb5dea6ddf7e76ee94..19b01802268fdc77768c1b7821ffa8bf0bbd8c3f 100644 (file)
@@ -101,6 +101,10 @@ COMPILE_FIRST = \
        $(lisp)/emacs-lisp/bytecomp.elc \
        $(lisp)/emacs-lisp/autoload.elc
 
+# Files to compile early in compile-main.  Works around bug#25556.
+MAIN_FIRST = ./emacs-lisp/eieio.el ./emacs-lisp/eieio-base.el \
+  ./cedet/semantic/db.el
+
 # Prevent any settings in the user environment causing problems.
 unexport EMACSDATA EMACSDOC EMACSPATH
 
@@ -319,7 +323,7 @@ compile-targets: $(TARGETS)
 compile-main: gen-lisp compile-clean
        @(cd $(lisp) && \
        els=`echo "${SUBDIRS_REL} " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.el |g'`; \
-       for el in $$els; do \
+       for el in ${MAIN_FIRST} $$els; do \
          test -f $$el || continue; \
          test ! -f $${el}c && GREP_OPTIONS= grep '^;.*no-byte-compile: t' $$el > /dev/null && continue; \
          echo "$${el}c"; \