problem compiling libf2c/libI77 library on c4x

Toon Moene toon@moene.indiv.nluug.nl
Tue Jun 6 11:59:00 GMT 2000


Herman ten Brugge wrote:

> I found a problem in the rdfmt.c library file in the libf2c/libI77
> directory. On the c4x sizeof(char) == sizeof(short). This makes the
> case statement fail. I changed the case statement into an if-then-else
> sequence to solve the problem.
> 
>         Herman.
> 
> 2000-06-01 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
> 
>         * rdfmt.c (rd_L): Use if-then-else instead of case statement to
>         solve problems when sizeof(char) == sizeof(short).

This is fine - please install it.

Thanks,

-- 
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://g95.sourceforge.net/ (under construction)


More information about the Gcc-patches mailing list