I recently upgraded from v4.2 to v5.1 and have been trying to build my projects on the new version. I noticed that I get a new error that I did not get on the previous version. Whenever I have a case where I set a variable equal to itself, ie target_position = target_position, I now get an error stating:
"Assignment to itself 'target_position = target_position'
Is there any compiler/linker option I can set to mitigate this? This has never been a problem with my code on the previous version and I don't really want to have to rewrite all my projects to account for this.
Thanks!
Dustin