Specifications
758 H2INC Error Messages
Filename: LMAETAPA.DOC Project: MASM Environment and Tools
Template: MSGRIDA1.DOT Author: Nobody Last Saved By: Mike Eddy
Revision #: 136 Page: 758 of 74 Printed: 10/09/00 02:49 PM
HI4136
(level 4)
conversion between different floating types
Information was lost or truncated between two floating types.
For example, the following code causes this warning:
double doublevar;
float floatvar;
floatvar = doublevar;
Note that unsuffixed floating-point constants have type double, so the following code
causes this warning:
floatvar = 1.0;
If the floating-
point constant should be treated as float type, use the F (or f) suffix on the
constant to prevent the following warning:
floatvar = 1.0F;
HI4138
(level 1)
*/ found outside of comment
The compiler found a closing comment delimiter (*/) without a preceding opening
delimiter. It assumed a space between the asterisk (*) and the forward slash (/).
The following example causes this warning:
int */*comment*/ptr;
In this example, the compiler assumed a space before the first comment delimiter (/*),
and issued the warning but compiled the line normally. To remove the warning, insert
the assumed space.
Usually, the cause of this warning is an attempt to nest comments.
To comment out sections of code that may contain comments, enclose the code in an
#if/#endif block and set the controlling expression to zero, as in:
#if 0
int my_variable; /* Declaration currently not needed */
#endif