Skip to content
Prev 48500 / 63424 Next

operation on ‘numsels’ may be undefined

Le 23 juin 2014 ? 18:28, cstrato <cstrato at aon.at> a ?crit :
I don?t know, but this:

numsels = ++numsels ; 

seems fishy to me, and so it keeps feeling weird with the addition of the ternary operator. 

There is obviously a difference of setup between these two machines, but I don?t have time to sherlock that for you. One of the compilers is getting more careful than the other. Getting warnings you did not get before is a good thing, as it helps you update the code with that new insight. 

Welcome to my world, I?m sometimes thrown all kinds of new warnings from esoteric compilers, all of them have value .

Romain