[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pdf-devel] Problems with task #64
From: |
jemarch |
Subject: |
Re: [pdf-devel] Problems with task #64 |
Date: |
Fri, 29 Aug 2008 23:19:33 +0200 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
> I just came to the gcc option -funsigned-char. We may use it and
> remove the casts to the libc functions.
I don't believe that would solve anything really, because we are
still trying to collapse two different types (regardless of its
machine representation) in one. The same would happen with 'int'
(for which we do have differentiated its signess).
Well, what we need is to operate on unsigned chars (values 0 -
255). The problem is to have to cast the (char *) arguments in systems
where char is signed by default.