[Swan] useless gcc "warning: comparison is always false due to limited range of data type [-Wtype-limits]"

D. Hugh Redelmeier hugh at mimosa.com
Tue Sep 24 22:03:24 EEST 2013


| From: Paul Wouters <paul at nohats.ca>

| Can we add it via a #pragma within the file itself? If we add a flag, I
| fear we might lose it some time in the future.

Apparently so:
<http://gcc.gnu.org/onlinedocs/gcc/Diagnostic-Pragmas.html>

Awkward but workable.  I'll give it a try.


More information about the Swan mailing list