0
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]?

Danijel
  • 8,198
  • 18
  • 69
  • 133

0 Answers0