Compilation warnings

Hi, I'm working on packaging this for Gentoo linux along with GAP itself. With emacs-29.1, I get the following byte-compilation warnings when I open a GAP file:

gap-smie.el:79:14: Warning: reference to free variable ‘gap-debug-indent’
gap-smie.el:89:42: Warning: reference to free variable ‘gap-indent-list’
gap-smie.el:105:25: Warning: reference to free variable ‘gap-indent-step’
gap-mode.el:591:6: Warning: the function ‘smie-setup’ is not known to be defined.
gap-mode.el:591:17: Warning: reference to free variable ‘gap-smie-grammar’
gap-mode.el:591:36: Warning: the function ‘gap-smie-rules’ is not known to be defined.
gap-mode.el:989:2: Warning: docstring has wrong usage of unescaped single quotes (use \= or different quoting)
gap-mode.el:1653:2: Warning: docstring has wrong usage of unescaped single quotes (use \= or different quoting)
gap-process.el:117:12: Warning: defcustom for ‘gap-complete-double-cols’ has syntactically odd type ‘'(choice (const :tag Never use double columns nil) (const :tag Sometimes use double columns t) (other :tag Always use double columns 'always))’
gap-process.el:263:21: Warning: reference to free variable ‘gap-syntax-table’
gap-process.el:306:2: Warning: docstring has wrong usage of unescaped single quotes (use \= or different quoting)
gap-process.el:551:33: Warning: the function ‘gap-ident-around-point’ is not known to be defined.
gap-process.el:619:18: Warning: the function ‘gap-ident-around-point-pos’ is not known to be defined.

Everything appears to work in any case. These probably showed up in a newer version of emacs.