octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #29794] --enable-64 keeps OCTAVE_IDX_TYPE=int


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #29794] --enable-64 keeps OCTAVE_IDX_TYPE=int
Date: Thu, 06 May 2010 20:24:10 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100308 Iceweasel/3.5.8 (like Firefox/3.5.8)

Follow-up Comment #2, bug #29794 (project octave):

I don't see how configure would get a different result for the size of an
integer since it uses the C compiler to perform the check.

If the source of the error is a configure problem, then what version of
autoconf are you using?

Also, for full compatibility I think we should have the following definitions
on 32-bit systems:

  mwSize         int
  mwIndex        int
  mwSignedIndex  ptrdiff_t

and the following definitions on 64-bit systems:

  mwSize         size_t
  mwIndex        size_t
  mwSignedIndex  ptrdiff_t

(these values are from the Matlab docs on the web).

But since these definitions have to work with our definition for
octave_idx_type, I think we should revive the following discussion on the
maintainers list before deciding exactly how to fix it:

 
https://www-old.cae.wisc.edu/pipermail/octave-maintainers/2010-February/015234.html


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?29794>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]