Re: Warning suppression
Hi,
Thanks, I've read about it and understand the danger.
However I follow the development model 1 package per file, and use
cl-annot to mark exported functions. Therefore I just add functions I
need and recompile the file with C-c C-k, so I know what the package could be
changed, so this warning makes no real help to me.
Madhu <enometh@meer.net> writes:
> * Alexey Veretennikov <txm.fourier@gmail.com> <m2twj9gb6d.fsf@Mac-34363bcb361c.lan>
> Wrote on Sun, 10 Apr 2016 09:44:42 +0200
>
> |Thanks, it is exactly what I want!
> |
> |Madhu <enometh@meer.net> writes:
> |
> |> * Alexey Veretennikov <m2wpo6adwv.fsf@Mac-34363bcb361c.lan> :
> |> Wrote on Sat, 09 Apr 2016 19:29:52 +0200:
> |>
> |> | Every time I compile a file with a defpackage using C-c C-k I got
> |> | the following warning:
> |> |
> |> | warning: Using DEFPACKAGE to modify #<The MEDIAIMPORT.UI package,
> |> | 113/256 internal, 0/4 external>.
> |>
> |> Are you sure you want to get rid of the warning?
> |>
> |> | How can I set to ignore it or suppress it?
> |>
> |> See hcl:*handle-existing-defpackage* (from the Lispworks User Guide
> |> documentation for defpackage), you'd probably set it to '(:modify)
> |>
> |> http://www.lispworks.com/documentation/lw61/LW/html/lw-803.htm
> |> http://www.lispworks.com/documentation/lw61/LW/html/lw-640.htm
> |>
> |> ---Madhu
> |>
> |> | For example in C/C++ you can always suppress particular types of
> |> | warnings..
>
> Hello, maybe I did not emphasise this enough: this warning would not
> be printed by lispworks unless it detects that "the named package
> already exists and is in a different state to that described by the
> defpackage form." So if you are not making any changes to the
> defpackage form, this warning should not be printed at all. If it is
> being printed, it likely indicates a problem or a bug, so you should
> check your defpackage forms, maybe for multiple defpackage forms.
> ---Madhu
>
> _______________________________________________
> Lisp Hug - the mailing list for LispWorks users
> lisp-hug@lispworks.com
> http://www.lispworks.com/support/lisp-hug.html
>
--
Br,
/Alexey
_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html