mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 18:40:39 -08:00
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.
This commit is contained in:
parent
69d3d69d4c
commit
126702a979
4 changed files with 4 additions and 15 deletions
|
|
@ -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."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue