On Thu, 18 Jun 1998, Hamish Moffatt wrote: > 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.)
But he's talking g77. Lots of people have asked Craig Burley (g77 main author) to add switches like -r8 and -i8, and it is planned for future versions but it's not there yet, AFAIK. Jose ============================================================================= Jose L. Marín [EMAIL PROTECTED] Dept of Maths [EMAIL PROTECTED] Heriot-Watt University Edinburgh EH14 4AS, U.K. Phone: +44 131 4513230 Fax: +44 131 451 3249 Former address: Dept. de Física de la Materia Condensada Facultad de Ciencias, Universidad de Zaragoza 50009 Zaragoza, SPAIN ============================================================================= -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]