E2382 Side effects are not allowed (C++)
Go Up to Compiler Errors And Warnings (C++) Index
Side effects such as assignments, ++, or -- are not allowed in the debugger watch window. A common error is to use x = y (not allowed) instead of x == y to test the equality of x and y.