static inline void vect_abs(float *srcdst, int n)
{
while (n-- > 0)
*(srcdst++) = fabsf( (*srcdst) );
}
Why is this code giving the warning: operation on ‘srcdst’ may be undefined [-Wsequence-point]
?
static inline void vect_abs(float *srcdst, int n)
{
while (n-- > 0)
*(srcdst++) = fabsf( (*srcdst) );
}
Why is this code giving the warning: operation on ‘srcdst’ may be undefined [-Wsequence-point]
?