40ants / defmain

A helper to simplify command line arguments usage in Common Lisp
https://40ants.com/defmain/
30 stars 1 forks source link

The local %pop-argument function can be ignored #6

Closed alessiostalla closed 3 years ago

alessiostalla commented 3 years ago

SBCL reports:

; note: deleting unused function
;   (FLET DEFMAIN::%POP-ARGUMENT :IN ...)

(declare (ignorable #'%pop-argument)) would fix that.

svetlyak40wt commented 3 years ago

Oh, I didn't know declare ignorable works with local functions!

Fixed in https://github.com/40ants/defmain/pull/7

alessiostalla commented 3 years ago

That was quick, thanks! :)

svetlyak40wt commented 3 years ago

You welcome!

svetlyak40wt commented 3 years ago

Install the latest version from https://ultralisp.org/ it should appear there soon.

(Usually, new updates are included into the dist in a few minutes, but I discovered, the queue of project checks is stuck and now Ultralisp slowly rechecks a thousand libraries for updates).