Jaroslav Hajek wrote:
> Do we? In fact, I think the Fortran standard requires the default
> REAL, INTEGER and LOGICAL to be of equal size (numeric storage unit).
> So, only some combinations of these flags are conforming in general. I
> do not think Octave needs to be bulletproof in this regard, at least
> not until a real need arises from practice. When you're altering the
> sizes of default types, you're often breaking standard-conformance,
> and you're therefore supposed to know what you're doing. Anyway, a
> common practical advice is to avoid LOGICALs in external interfaces at
> all and just use INTEGERs.
>
> cheers
>
>   

Then the pgf90 compiler with the -i8 flag is not standards compliant. 
Given that, then yes just using octave_idx_type is the right thing

D. 

-- 
David Bateman                                dbate...@dbateman.org
35 rue Gambetta                              +33 1 46 04 02 18 (Home)
92100 Boulogne-Billancourt FRANCE            +33 6 72 01 06 33 (Mob)


------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to