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
  • 7,354
  • 18
  • 64
  • 114

0 Answers0