This is the mail archive of the libffi-discuss@sources.redhat.com mailing list for the libffi project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Compiling on GCC2


It seems like this code in ffi.h.in:

  #if LONG_MAX == 2147483647
  # if FFI_LONG_LONG_MAX != 9223372036854775807
    #error "no 64-bit data type supported"
  # endif
  #elif LONG_MAX != 9223372036854775807
   #error "long size not supported"
  #endif

makes it fail on GCC2, but otherwise thing work fine.  Is there any
way to make it work on GCC2 without changing the sources?
-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]