We had some code using the CA_VALID_POINTER and CA_CHECK_RETVAL annotations which had been working fine up until the 5.3 engine release. In 5.3, we started getting the following compile errors in a /analyze (-staticanalyzer=VisualCpp) build:
error C2337: 'Pre': attribute not found
error C2337: 'Post': attribute not found
I'm assuming that CA_READ_ONLY and CA_WRITE_ONLY would have similar issues, but we aren't using those just yet. I've made our own defines to replace these for now:
#define CA_SK_VALID_POINTER In
#define CA_SK_CHECK_RETVAL Must_inspect_result
though I'm not 100% certain those are equivalent to the previous annotations. At any rate, from the documentation I was able to find, it looks like the [Pre] and [Post] stuff has been deprecated by Microsoft, so I'm assuming those existing SAL defines need to be changed.
i have this problem UE4CC-Windows-58DC12AF4B97F057BD108FBFF569B2E9_0000
I am not able to find world outliner how to enable it?
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
How can i modify the param name in EQS node
How to achieve HLSL Multiple Render Target in Material blueprints?
What method is used to fill polygonal regions when drawing spline mesh at run time?
When I open UE4 4.24.3 it appears that. Does anyone know how to solve?
Delay nodes occasionally don't fire the "Completed" output in a nativized build
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-197962 in the post.
0 |
Component | UE - Foundation - Core |
---|---|
Affects Versions | 5.3 |
Target Fix | 5.6 |
Created | Oct 13, 2023 |
---|---|
Updated | Oct 18, 2024 |