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

Re: Unidentified subject!



On Wed, Jun 17, 1998 at 03:18:52PM +0100, Jose Marin wrote:
> On Wed, 17 Jun 1998, Gu Xiangqian wrote:
> > Would you do me a favor? I want compile a Fortran program
> > with g77:
> >          program gg
> >          integer i
> >          i=99999999999
> >          print*,i
> >          stop
> >          end

> And no, I don't think there's a compiler switch for making integer*8 the
> default automaticly.

Well, on Solaris the manual page for f77 says -r8 should double
the default size, making INTEGER 8. I still get a warning with
the source above about the literal being too large, and the printed
value is not the literal. (But I don't know Fortran so I'm not sure
what it's meant to do.)

Hamish
-- 
Hamish Moffatt, hamish@debian.org, hamish@rising.com.au, hmoffatt@mail.com
Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5
CCs of replies from mailing lists are welcome.   http://hamish.home.ml.org


--  
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: