[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Confused about mips integer types


I just found a package of mine broke on Mips:

The first interesting part is this:
../include/cln/object.h:29:1: warning: "cl_word_alignment" redefined
../include/cln/object.h:26:1: warning: this is the location of the previous definition

So, after including include/cln/config.h generated by autoconf from include/cln/config.h.in, both __mips__ and __mips64__ were defined.

The next interesting part is:
../include/cln/number.h:226: error: 'cl_FN_tag' was not declared in this scope

Reading include/cln/object.h it becomes clear that the system's pointer size was 4 bytes, not 8.

Strange. Doesn't __mips64__ imply 64 bit wide pointers?

Can anyone please enlighten me. It would also be helpful if someone could configure that CLN package and sent me the generated include/cln/intparm.h file.

  .''`.  Richard B. Kreckel
 : :' :  <kreckel@debian.org>
 `. `'   <kreckel@ginac.de>
   `-    <http://www.ginac.de/~kreckel/>

Reply to: