dataparksearch
dataparksearch copied to clipboard
acronym.c:269:sequence point error ?
acronym.c:269:117: warning: operation on '(ww + (sizetype)(i * 48))->len' may be undefined [-Wsequence-point]
Source code is
DpsConv(&uni_lc, ww[i].word, (15*ww[i].len+1)*sizeof(char), (char*)ww[i].uword, sizeof(dpsunicode_t)*((ww[i].len = DpsUniLen(ww[i].uword)) + 1));
Thank you for reporting it. Though in this case it is not an error.
Though in this case it is not an error.
Surprising.
There looks to me to be an embedded assignment to ww[i].len near the end of the list, and a use of ww[i].len near the start. That would be enough to cause a sequence point error.