[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pdf-devel] Problems with task #64
From: |
gerel |
Subject: |
Re: [pdf-devel] Problems with task #64 |
Date: |
Wed, 03 Sep 2008 12:10:42 -0700 (PDT) |
> Date: Fri, 29 Aug 2008 23:19:33 +0200
> From: address@hidden
>
> > 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.
Hah, jemarch I'm confused now. You say we should use the -funsigned-char flag
and declare pdf_char_t as 'char' ? Help me here.
cheers
-gerel
- Re: [pdf-devel] Problems with task #64,
gerel <=