I\'ve encountered a warning that I don\'t really understand. The warning is generated by comparing what I consider to be one unsigned with another unsigned.
Yes I think its a bug. Read [Bug c/38341] Wrong warning comparison of promoted ~unsigned with unsigned and also Why, warning: comparison between signed and unsigned integer expressions?. This might help you.