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 @@ ...@@ -55,6 +55,7 @@
;;; Code: ;;; Code:
(require 'ede) (require 'ede)
(require 'semantic/db)
;;; CONFIG ;;; CONFIG
;; ;;
...@@ -360,11 +361,6 @@ parsed again.")) ...@@ -360,11 +361,6 @@ parsed again."))
This target brings in methods used by Semantic to query This target brings in methods used by Semantic to query
the preprocessor map, and include paths.") 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)) (cl-defmethod ede-preprocessor-map ((this ede-target-with-config-c))
"Get the pre-processor map for some generic C code." "Get the pre-processor map for some generic C code."
(require 'semantic/sb) (require 'semantic/sb)
......
...@@ -150,12 +150,10 @@ ...@@ -150,12 +150,10 @@
;; up the differences (the "include summary" reported the same include paths). ;; up the differences (the "include summary" reported the same include paths).
(require 'ede) (require 'ede)
(require 'semantic/db)
(defvar semantic-lex-spp-project-macro-symbol-obarray) (defvar semantic-lex-spp-project-macro-symbol-obarray)
(declare-function semantic-lex-make-spp-table "semantic/lex-spp") (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: ;;; Code:
......
...@@ -33,9 +33,7 @@ ...@@ -33,9 +33,7 @@
;; * Add website ;; * Add website
(require 'ede) (require 'ede)
(declare-function semanticdb-file-table-object "semantic/db") (require 'semantic/db)
(declare-function semanticdb-needs-refresh-p "semantic/db")
(declare-function semanticdb-refresh-table "semantic/db")
;;; Code: ;;; Code:
......
...@@ -34,12 +34,9 @@ ...@@ -34,12 +34,9 @@
(require 'ede) (require 'ede)
(require 'ede/make) (require 'ede/make)
(require 'semantic/db)
(eval-when-compile (require 'cl-lib)) (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: ;;; Code:
(defgroup project-linux nil (defgroup project-linux nil
"File and tag browser frame." "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