Closed sajattack closed 6 years ago
The resolution appears to be adding -Wno-int-in-bool-context
to CXXFLAGS, but I'm struggling to do so with qmake. I added QMAKE_CXXFLAGS_RELEASE += -Wno-int-in-bool-context
to vchar64.pro but that didn't do anything and I can't figure out why. My only solution has been to edit Makefile.Release manually.
thanks. I'll try to fix it for the next release.
the whole expression does not make sense - what are you trying to do there? (1<<i) is always 1 or greater, ie always true. you can just as well write if (mask) - which is why the compiler complains. perhaps what you really wanted to do is if (mask & (1<<i)) ?
When running make with gcc 7.2.1, I get this error: