Post B59aRWoCTedtkaz0wS by wolf480pl@mstdn.io
(DIR) More posts by wolf480pl@mstdn.io
(DIR) Post #B59aRWeH4YhdFoL5TE by harold@mastodon.gamedev.place
0 likes, 0 repeats
"Warning C6293Ill-defined for-loop: counts down from minimumA signed or unsigned index variable, together with a negative increment, will cause the loop to count negative until an overflow occurs, which will terminate the loop."Thanks I guess but it's intentional. Can't stop *before* the wraparound, that would skip zero.
(DIR) Post #B59aRWoCTedtkaz0wS by wolf480pl@mstdn.io
0 likes, 0 repeats
@harold that's a strange warning... shouldn't it only exist for signed index variables?
(DIR) Post #B59c5DJ0Vb0mnfsdAu by harold@mastodon.gamedev.place
0 likes, 0 repeats
@wolf480pl that would make more sense... maybe too much sense for MSVC