lispgames / cl-sdl2

Common Lisp bindings for SDL2 using C2FFI.
MIT License
304 stars 82 forks source link

Move from defpackage to define-package (at least for the ffi packages) #95

Closed cbaggers closed 7 years ago

cbaggers commented 7 years ago

The currently if someone tries to reload cl-sdl2 it will have warnings at defpackage for the ffi packages. e.g:

; caught WARNING:
;   SDL2-FFI.FUNCTIONS also exports the following symbols:

The reason for this is that cl-autowrap will export many symbols that are not mentioned in the package.

This can be avoided by moving to uiop's define-package.

reproducable on sbcl unsure about on other implementations, however the warnings are correct according the the CL spec