This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: problems compiling library


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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]