|
From: | Reuben Thomas |
Subject: | Re: [zile-devel] 2.2.1: excessive compiler warning flags |
Date: | Mon, 18 Jul 2005 10:40:35 +0200 (CEST) |
On Fri, 15 Jul 2005, Christian Weisgerber wrote:
Most of these are caused by int constants being passed as arguments for size_t parameters (size_t expands to unsigned long on LP64 architectures, i.e., uint64_t), which is totally harmless. Asking gcc to complain about this with this string of -W options is excessive and only obscures real problems.
Actually, this should be fixed: int is not compatible with size_t as it could be negative. I'm puzzled that gcc doesn't complain on 32-bit arches too (normally it gives a signed-vs-unsigned warning in similar cases).
I'll fix all these. Thanks for the other fix too. -- http://rrt.sc3d.org/ | God is the name of our ignorance (Grayling)
[Prev in Thread] | Current Thread | [Next in Thread] |