leoliu/ggtags

Compile warnings with latest emacs master

Opened this issue · 0 comments

p-m commented

Hi,

This is the output, when compiling with latest emacs-master:

gtags (master)> make
Compiling ggtags.el

In ggtags-delete-tags:
ggtags.el:803:39: Warning: Missing format argument in ‘with-demoted-errors’

In ggtags-query-replace:
ggtags.el:1120:6: Warning: ‘tags-query-replace’ called with 4 arguments, but accepts only 2 or 3

In ggtags-save-to-register:
ggtags.el:1305:22: Warning: ‘registerv-make’ is an obsolete function (as of 27.1); Use your own type with methods on register-val-(insert|describe|jump-to)

In ggtags-next-mark:
ggtags.el:1350:22: Warning: ‘xref--marker-ring’ is an obsolete variable (as of 29.1); use ‘xref--history’ instead.
ggtags.el:1350:22: Warning: reference to free variable ‘xref--marker-ring’
ggtags.el:1357:31: Warning: ‘xref--marker-ring’ is an obsolete variable (as of 29.1); use ‘xref--history’ instead.
ggtags.el:1358:22: Warning: ‘xref--marker-ring’ is an obsolete variable (as of 29.1); use ‘xref--history’ instead.
ggtags.el:1359:28: Warning: ‘xref--marker-ring’ is an obsolete variable (as of 29.1); use ‘xref--history’ instead.

In ggtags-view-tag-history:
ggtags.el:1393:22: Warning: ‘xref--marker-ring’ is an obsolete variable (as of 29.1); use ‘xref--history’ instead.
ggtags.el:1393:22: Warning: reference to free variable ‘xref--marker-ring’
ggtags.el:1405:41: Warning: ‘xref--marker-ring’ is an obsolete variable (as of 29.1); use ‘xref--history’ instead.
ggtags.el:1406:48: Warning: ‘xref--marker-ring’ is an obsolete variable (as of 29.1); use ‘xref--history’ instead.

In ggtags-navigation-mode-done:
ggtags.el:1808:9: Warning: ‘tags-loop-scan’ is an obsolete variable (as of 27.1); use ‘fileloop-initialize’ instead.
ggtags.el:1809:9: Warning: ‘tags-loop-operate’ is an obsolete variable (as of 27.1); use ‘fileloop-initialize’ instead.

In ggtags-navigation-mode-abort:
ggtags.el:1822:6: Warning: ‘xref-pop-marker-stack’ is an obsolete function (as of 29.1); use ‘xref-go-back’ instead.

In ggtags-eldoc-function:
ggtags.el:2321:28: Warning: ‘eldoc-message’ is an obsolete function (as of eldoc-1.1.0); use ‘eldoc-documentation-functions’ instead.

In end of data:
ggtags.el:1964:26: Warning: the function ‘cl-some’ might not be defined at runtime.
ggtags.el:388:4: Warning: the function ‘cl-every’ might not be defined at runtime.

Kind regards, Peter