tpapp / lla

Lisp Linear Algebra
Boost Software License 1.0
90 stars 17 forks source link

Format Error in Windows / SBCL #15

Closed srt19170 closed 10 years ago

srt19170 commented 10 years ago

In loading "conditions.lisp":

; file: C:/Users/Dad/quicklisp/local-projects/lla-20140308-git/src/conditions.lisp
; in: DEFINE-CONDITION LLA-INTERNAL-ERROR
;     (FORMAT STREAM "~A~&This is a bug in LLA, please see the README~
;                                on how to report it."
;             (SLOT-VALUE CONDITION 'LLA::MESSAGE))
; 
; caught ERROR:
;   during macroexpansion of
;   (FORMATTER "~A~&This is a bug in LLA, please see the README~
;                                on how to report it.").
;   Use *BREAK-ON-SIGNALS* to intercept.
;   
;    error in FORMAT: unknown directive (character: Return)

SBCL is expecting to see ~[Newline] and is seeing ~[Return] instead.

stassats commented 10 years ago

Did you edit it and the editor change the line terminators? Or did you configure your git to convert between line endings? Because the one in the repository doesn't have CRLF.

srt19170 commented 10 years ago

On Mon, Aug 25, 2014 at 6:22 PM, Stas Boukarev notifications@github.com wrote:

Did you edit it and the editor change the line terminators? Or did you configure your git to convert between line endings? Because the one in the repository doesn't have CRLF.

I'm using TortoiseGit with the default settings, which apparently has "AutoCrlf" set. Turning that off and re-fetching the file fixed the problem.

tpapp commented 10 years ago

In that case, I am closing the issue.