branch: elpa/d-mode
commit 8a14ce426d27380a611cfdb8ca67cd31fc9e5406
Author: Dmitri Makarov <[email protected]>
Commit: Dmitri Makarov <[email protected]>
Fix some compiler warnings.
---
d-mode.el | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/d-mode.el b/d-mode.el
index ac613d8..f40949d 100644
--- a/d-mode.el
+++ b/d-mode.el
@@ -82,6 +82,11 @@
;; constants are evaluated then.
(c-add-language 'd-mode 'java-mode))
+;; muffle the warnings about using free variables and undefined
+;; functions
+(defvar c-syntactic-element)
+(declare-function c-populate-syntax-table "cc-langs.el" (table))
+
;; D has pointers
(c-lang-defconst c-type-decl-prefix-key
d (concat "\\("