sionescu / iolib

Common Lisp I/O library
http://common-lisp.net/project/iolib/
MIT License
141 stars 31 forks source link

Non-helpful errors on non-unix platforms #70

Closed Mr-Dispatch closed 2 years ago

Mr-Dispatch commented 2 years ago

https://github.com/sionescu/iolib/blob/0001be5721875cc4e3c024560ba956eb0535acd7/iolib.asd#L21

such usage of #+unix (with absence of #-unix alternative - at least an error) like this causes un-even number of arguments / list members on non-unix platforms, leading to puzzling errors on load :-(

   (:cffi-grovel-file "ffi-types" :pathname #+unix "ffi-types-unix")
   (:file "conditions")
   (:file "os-conditions" :pathname #+unix "os-conditions-unix")
sionescu commented 2 years ago

I added an error message that IOlib doesn't work on Windows. For the moment it's all I can do.