Akim Demaille wrote:
Are you aware of any way to use this macro and avoid these spurious warnings?
Sure, don't use -Wtype-limits and don't use -Wtautological-constant-out-of-range-compare. That's standard practice in other GNU projects. These warnings generate too many false alarms in code that checks for integer overflow properly.
