[Ecls-list] long-long
    Seth Burleigh 
    seth at tewebs.com
       
    Sat Jun 19 19:55:30 UTC 2010
    
    
  
I am attempting to use long-long (in iolib, it uses it).
heres the code that produces the error:
(macroexpand-1 '(CFFI-SYS:%FOREIGN-FUNCALL "lseek64"
                                             (:INT 1 :long-long 2
                                              :INT 1 :long-long)
                                             :CONVENTION
                                             :CDECL
                                             :LIBRARY
                                             :DEFAULT))
and the expanded form:
(FFI:C-INLINE ((CFFI-SYS:%FOREIGN-SYMBOL-POINTER "lseek64" NIL) 1 2 1)
              (:POINTER-VOID :INT :LONG-LONG :INT)
              :LONG-LONG
              "((long long (*)(int,long long,int,...))(#0))(#1,#2,#3)"
              :ONE-LINER
              T
              :SIDE-EFFECTS
              T)
I dont know how ecl determines if long-long is supported, but gcc
definitely supports long-long and im just getting the error 
;;; OPTIMIZE levels: Safety=2, Space=0, Speed=3, Debug=3
;;;
;;; Error:
;;;   * Unknown representation type :LONG-LONG
Ive looked in the configure script and have found flags to turn on
long-float, uint64_t, but no long-long. 
    
    
More information about the ecl-devel
mailing list