The old syntax in the 6.5.0 that works for this statement:
set {int}(&FlashBufferStart+$EraseCnt*2+0) = 0x1000
This would mean placing value 0x1000 into into into the allocated address.
With the new 10.2.0 this sentence will result an error:
Cannot perform pointer math on incomplete type "<data variable, no debug info>"
I have tried using type casting parenthesis, {int} , {void*}, or value might just ended totally different, I have seen similar post for this error but it didn't solve the issue. Any idea?