help-zile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [zile-devel] 2.2.1: excessive compiler warning flags


From: Reuben Thomas
Subject: Re: [zile-devel] 2.2.1: excessive compiler warning flags
Date: Wed, 27 Jul 2005 03:11:15 +0200 (CEST)

Hi,

Something like this

 void func(size_t s);

 ...
 func(1);
 ...

will trigger

 warning: passing arg 1 of `func' with different width due to prototype

This is not helpful.  It doesn't point to any actual problem.

No, and it's a bug. I hope it will be fixed soon (or has already been).

I've now added casts to size_t in all the places listed in the compile log you sent me. Would it be possible to check this from CVS, or if I send you the source files that have changed (only astr.c, vasprintf.c, zile.h and zmalloc.c)?

Now, if you want to investigate warnings, there are a number of
very scary

 warning: cast to pointer from integer of different size
 warning: cast from pointer to integer of different size

in regex.c.

It does sound scary. If you could send me a compile log, I'd be most grateful.

--
http://rrt.sc3d.org/ | competent, a.  under-promoted



reply via email to

[Prev in Thread] Current Thread [Next in Thread]