Message272499
| Author |
ztane |
| Recipients |
martin.panter, serhiy.storchaka, skrah, vstinner, ztane |
| Date |
2016年08月12日.05:30:36 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1470979837.18.0.100770084021.issue23545@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I don't think adding -Wno-type-limits is a good idea.
The good question is how that can be happening, e.g. how PY_SSIZE_T_MAX divided by sizeof anything can be *more* than max(size_t)? E.g now that I stare at the code, *that* warning should be impossible if everything is correct. It means either that the RHS is negative or size_t is defined to be 32-bit in this compilation unit whereas PY_SSIZE_T is 64-bit. Neither sound like a good idea. |
|