std:c++17 option in unreal project
Resharper c++ 2020.2 version does not recognize std:c++17 option in unreal project
So I rollback version to 2020.1.4, then it recognize std:c++17 option properly
Also tried below. But not worked.
Please sign in to leave a comment.
Hello,
Are you setting /std:c++17 through Unreal's Build.cs? Could be related to the new UE project model, you can turn it off here:
I set /std:c++17 through Project Property and BuildConfiguration.xml like below.
And I am gonna try turn off UE Project model as you suggested
Thanks
It was solved by turn off UEModel option as you suggested
Thank you!
Thanks, I've filed https://youtrack.jetbrains.com/issue/RSCPP-31139 to track this issue.
I also have that issue with today's ReSharper and UE 4.25.3. However, I don't think disabling that "New project model" is good solution, its more like trade off.
P.S. Somehow I was able to fix it, I added the cpp17 flag in Build.cs as well played with the nmake options, regenerating the solution files, as well unchecking/checking that "New project model". Currently the latter is active, but c++17 is recognised by ReSharper.
This is fixed in UE 4.25.4, see https://youtrack.jetbrains.com/issue/RSCPP-31556#focus=Comments-27-4628083.0-0 for more details.