When building a project using the clang compiler, the following warnings appear:
This may provide to undefined behavior under different compilers.
/xeve/src_base/xeve_mc.c:324:37: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
min_clip[MV_X] = (-MAX_CU_SIZE) << 2;
~~~~~~~~~~~~~~ ^
/xeve/src_base/xeve_mc.c:325:37: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
min_clip[MV_Y] = (-MAX_CU_SIZE) << 2;
~~~~~~~~~~~~~~ ^
src_main/CMakeFiles/xeve_dynamic.dir/__/src_base/xeve_mc.c.o
/xeve/src_base/xeve_mc.c:324:37: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
min_clip[MV_X] = (-MAX_CU_SIZE) << 2;
~~~~~~~~~~~~~~ ^
/xeve/src_base/xeve_mc.c:325:37: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
min_clip[MV_Y] = (-MAX_CU_SIZE) << 2;
~~~~~~~~~~~~~~ ^
When building a project using the clang compiler, the following warnings appear: This may provide to undefined behavior under different compilers.