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, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]