Subject: Re: ctype "(int)" casting (Re: pkg_select upgrade)
To: Martin S. Weber <>
From: Martin Husemann <>
List: tech-userlevel
Date: 03/17/2005 10:01:56
On Thu, Mar 17, 2005 at 09:47:45AM +0100, Martin S. Weber wrote:
> But this is a compile time issue, and as it stands you cannot compile a
> standard compliant iso c program under NetBSD with -Werror[1], because it
> will fail in a place where it must not fail.

This error message is usefull, as the "standards compliant program" will
very, very likely cause a runtime bug.

> "C" says, "promote and shut up"

But you need to promote via unsigned char, and we can't change the 
signature of the functions to take an unsigned char.