Compilation Problem on SBCL

Warren Lynn <[email protected]> Tue, 4 May 2010 00:31:53 -0400
Newsgroups gmane.lisp.clsql.general
Message-ID <[email protected]>
Hi,

I am using the latest CLSQL version from the repo and the code does not
compile on SBCL 1.0.38 for PostgreSQL. The compilation output I got is:

------------------------------------------------------------------------------------------------------------------
4 compiler notes:

postgresql-sql.lisp:341:19:
  note:
    deleting unreachable code
    ==>
      LENGTH

  note: deleting unreachable code

postgresql-sql.lisp:341:22:
  warning:
    Asserted type SB-SYS:SYSTEM-AREA-POINTER conflicts with derived type
    (VALUES STRING &OPTIONAL).
    See also:
      SBCL Manual, Handling of Types [:node]
    --> BLOCK LET LET LET LET CFFI-SYS:%FOREIGN-FUNCALL
    --> CFFI-SYS::%%FOREIGN-FUNCALL ALIEN-FUNCALL
    --> SB-C::INVOKE-WITH-SAVED-FP-AND-PC LAMBDA FUNCTION
    --> SB-ALIEN-INTERNALS:NATURALIZE LET LET LET LET
    --> SB-ALIEN-INTERNALS:MAYBE-WITH-PINNED-OBJECTS PROGN
    --> SB-C:%ALIEN-FUNCALL
    ==>
      (SB-ALIEN-INTERNALS:DEPORT #:G773
                                 '#<SB-ALIEN::ALIEN-SYSTEM-AREA-POINTER-TYPE
                                    SYSTEM-AREA-POINTER>)


postgresql-sql.lisp:346:35:
  note:
    deleting unreachable code
    ==>
      "commit"


Compilation failed.
-----------------------------------------------------------------------------------

This is the same as what is reported in this post:
http://article.gmane.org/gmane.lisp.clsql.general/1098/match=postgresql

Thanks if anyone can fix it or suggest a fix.

Warren

_______________________________________________
CLSQL mailing list
[email protected]
http://lists.b9.com/cgi-bin/mailman/listinfo/clsql