|
From: | jemarch |
Subject: | Re: [pdf-devel] Problems with task #64 |
Date: | Thu, 28 Aug 2008 22:32:57 +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) |
Hi Gerel. I just tried to change pdf_char_t to be 'char' and there are some serious warnings that tell me we shouldn't do it (I marked the most problematic with 3 asterisks) [...] You may think of doing some more casts but then... are we solving anything ? (sort of an endless problem) I just came to the gcc option -funsigned-char. We may use it and remove the casts to the libc functions. Alternatively we could left the existing casts. I agree with you in that making pdf_char_t a synonim of char would require more casts in the code that assumes that a char contains a code between 0 and 255. What do you think about it?
[Prev in Thread] | Current Thread | [Next in Thread] |