You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The union of oroApi is not an element of oroApi. But the current API deign forces us to cast the union to oroApi as follows: https://github.com/amdadvtech/Rtb/blob/3e57c201b7459c40c291c9caa03f4dce95b9d650/Rtb/Device.cpp#L88-L89
For this case, The Clang analyzer can detect the out of range for oroApi and warns. To avoid such warnings, it may be better to change the Orochi's function parameter from oroApi to uint32_t, or it may be better to add ORO_API_ALL = 0xFFFFFFFF in oroApi.
The text was updated successfully, but these errors were encountered:
Orochi/Orochi/Orochi.h
Lines 1170 to 1179 in c10d592
The union of
oroApi
is not an element oforoApi
. But the current API deign forces us to cast the union tooroApi
as follows:https://github.com/amdadvtech/Rtb/blob/3e57c201b7459c40c291c9caa03f4dce95b9d650/Rtb/Device.cpp#L88-L89
For this case, The Clang analyzer can detect the out of range for
oroApi
and warns. To avoid such warnings, it may be better to change the Orochi's function parameter fromoroApi
touint32_t
, or it may be better to addORO_API_ALL = 0xFFFFFFFF
inoroApi
.The text was updated successfully, but these errors were encountered: