RAD Studio
ContentsIndex
PreviousUpNext
E2087: Illegal use of pointer (C++)

Pointers can only be used with these operators:

  • addition(+)
  • subtraction(-)
  • assignment(=)
  • comparison(==)
  • indirection(*)
  • arrow(->)
Your source file used a pointer with some other operator. 

Example  

int main (void)
{
  char *p;
  p /= 7;     /* ERROR: Illegal Use of Pointer */
  return 0;
}
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!