Specifications
Error! Style not defined. 747
Filename: LMAETAPA.DOC Project: MASM Environment and Tools
Template: MSGRIDA1.DOT Author: Nobody Last Saved By: Mike Eddy
Revision #: 136 Page: 747 of 63 Printed: 10/09/00 02:49 PM
HI4004
(level 1)
missing ')' after defined
The closing parenthesis was missing from an #if defined phrase.
The compiler assumes a right parenthesis, ), after the first identifier it finds. It then
attempts to compile the remainder of the line, which may result in another warning or
error.
The following example causes this warning and a fatal error:
#if defined( ID1 ) || ( ID2 )
The compiler assumed a right parenthesis after ID1, then found a mismatched
parenthesis in the remainder of the line. The following avoids this problem:
#if defined( ID1 ) || defined( ID2 )
HI4005
(level 1)
identifier : macro redefinition
The given identifier was defined twice. The compiler assumed the new macro definition.
To eliminate the warning, either remove one of the definitions or use an #undef
directive
before the second definition.
This warning is caused in situations where a macro is defined both on the command line
and in the code with a #define directive.
HI4006
(level 1)
#undef expected an identifier
The name of the identifier whose definition was to be removed was not given with the
#undef directive. The #undef was ignored.
HI4007
(level 2)
identifier : must be attribute
The attribute of the given function was not explicitly stated. The compiler forced the
attribute.
For example, the function main must have the _cdecl attribute.
HI4008
(level 2)
identifier : _fastcall attribute on data ignored
The _fastcall attribute on the given data identifier was ignored.
HI4009
(level 1)
string too big, trailing characters truncated
A string exceeded the compiler limit of 2047 on string size. The excess characters at the
end of the string were truncated.
To correct this problem, break the string into two or more strings.