GNU Info

Info Node: (g77-295.info)Warn About Implicit Conversions

(g77-295.info)Warn About Implicit Conversions


Next: Invalid Use of Hollerith Constant Prev: Better Pedantic Compilation Up: Missing Features
Enter node , (file) or (file)node

Warn About Implicit Conversions
-------------------------------

   `g77' needs a `-Wpromotions' option to warn if source code appears
to expect automatic, silent, and somewhat dangerous compiler-assisted
conversion of `REAL(KIND=1)' constants to `REAL(KIND=2)' based on
context.

   For example, it would warn about cases like this:

     DOUBLE PRECISION FOO
     PARAMETER (TZPHI = 9.435784839284958)
     FOO = TZPHI * 3D0


automatically generated by info2www version 1.2.2.9