Re: problems compiling library

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

 



Wilbert Weijer wrote:

> 
> PRINT '(A,I,2A)', 'Error on line ', line, ' in file ', file
>                                                           1
> Error: Nonnegative width required in format string at (1)
> **************************
I format requires a width for standard conformance, and gfortran requires
conformance here.  Anyway, if a compiler makes its own choices, your
format will change from one to the next.
> 

> Also, the ifort compile (for which the library is tested) uses the -i4
> option, but I can't find a comparable option in gfortran. I assume that
> 4 bit is the default, 
Yes

> 
> warning: format '%ld' expects type 'long int', but argument 3 has type
> 'int32'
> 
That's a C format.  It may well pose a problem on a 64-bit system, but
it's not Fortran.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux