Commit 126702a9 authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen

Fix some cedet compilation warnings pertaining to semantic/db

* lisp/cedet/ede/config.el (semantic/db)
(ede-preprocessor-map): Ditto.

* lisp/cedet/ede/cpp-root.el (semantic/db): Ditto.

* lisp/cedet/ede/emacs.el (semantic/db): Ditto.

* lisp/cedet/ede/linux.el (semantic/db): Require to avoid warnings
about unknown slot lexical-table, and remove declare-functions
from the now-required semantic/db.
parent 69d3d69d
Pipeline #2039 failed with stage
in 90 minutes and 2 seconds
......@@ -55,6 +55,7 @@
;;; Code:
(require 'ede)
(require 'semantic/db)
;;; CONFIG
;;
......@@ -360,11 +361,6 @@ parsed again."))
This target brings in methods used by Semantic to query
the preprocessor map, and include paths.")
(declare-function semanticdb-file-table-object "semantic/db"
(file &optional dontload))
(declare-function semanticdb-needs-refresh-p "semantic/db" (arg &rest args))
(declare-function semanticdb-refresh-table "semantic/db" (arg &rest args))
(cl-defmethod ede-preprocessor-map ((this ede-target-with-config-c))
"Get the pre-processor map for some generic C code."
(require 'semantic/sb)
......
......@@ -150,12 +150,10 @@
;; up the differences (the "include summary" reported the same include paths).
(require 'ede)
(require 'semantic/db)
(defvar semantic-lex-spp-project-macro-symbol-obarray)
(declare-function semantic-lex-make-spp-table "semantic/lex-spp")
(declare-function semanticdb-file-table-object "semantic/db")
(declare-function semanticdb-needs-refresh-p "semantic/db")
(declare-function semanticdb-refresh-table "semantic/db")
;;; Code:
......
......@@ -33,9 +33,7 @@
;; * Add website
(require 'ede)
(declare-function semanticdb-file-table-object "semantic/db")
(declare-function semanticdb-needs-refresh-p "semantic/db")
(declare-function semanticdb-refresh-table "semantic/db")
(require 'semantic/db)
;;; Code:
......
......@@ -34,12 +34,9 @@
(require 'ede)
(require 'ede/make)
(require 'semantic/db)
(eval-when-compile (require 'cl-lib))
(declare-function semanticdb-file-table-object "semantic/db")
(declare-function semanticdb-needs-refresh-p "semantic/db")
(declare-function semanticdb-refresh-table "semantic/db")
;;; Code:
(defgroup project-linux nil
"File and tag browser frame."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment