Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
Error Message
◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
Compiler warning (level 1) C4047
'operator' : different levels of indirection
An expression involving the specified operator had inconsistent
levels of indirection.
If both operands are of arithmetic type, or if both are not (such
as array or pointer), then they are used without change, though
the compiler may DS-extend one of the operands if one is far and
one is near. If one is arithmetic and one is not, the arithmetic
operator is converted to the type of the other operator.
For example, the following code causes this warning but is
compiled without change:
char **p;
char *q;
p = q; /* Warning */
-♦-