Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

compilation fails due to non-ASCII characters #14

Closed
avodonosov opened this Issue October 16, 2012 · 3 comments

2 participants

Anton Vodonosov tpapp
Anton Vodonosov

When the default external format used by a lisp implementation (which usually depends on environment variables LANG or LC_ALL) is different from the source files encoding used by cl-num-utils, the compilation fails.

Here is an example compilation log:
https://cl-test-grid.appspot.com/blob?key=534856

ASDF now allows do add

:encoding :utf-8

to your defsystem. To be backward compatible with old ASDF versions,
it may be protected by reader conditionals like this:

#+asdf-unicode :encoding #+asdf-unicode :utf-8

(related ASDF manual chapter
http://common-lisp.net/project/asdf/asdf.html#Miscellaneous-additional-functionality)

tpapp tpapp referenced this issue from a commit October 17, 2012
tpapp Added encoding, prettyfied defsystem forms.
- Fixes issue #14.  Decided not to use reader conditionals, pretty much
  all recent systems should have at least ASDF 2.21 by now.

- Tests does not need to depend on libraries cl-num-utils depends on
  since those are loaded with it.
a25fb3e
tpapp
Owner

Fixed it, thanks for the bug report. Decided not to use reader conditionals since I assume that everybody has at least ASDF 2.21 now.

tpapp tpapp closed this October 17, 2012
Anton Vodonosov

I am not absolutely sure everyone already updated to the latest ASDF.

For example the latest release of CLISP is 2.49 was made at 2010-07-07. It comes with ASDF 2.011.

Quicklisp also hasn't updated it's copy of ASDF (although it's only used if the lisp implementation does not provide ASDF already).

I would suggest to keep the reader conditionals

tpapp
Owner

OK, did that. Thanks for the information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.