Date: Wed, 4 Feb 1998 19:40:33 +0200 (IST) From: Eli Zaretskii To: Vik Heyndrickx cc: DJ Delorie , djgpp-workers AT delorie DOT com Subject: Re: char != unsigned char... sometimes, sigh In-Reply-To: <34D72299.3037@rug.ac.be> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Tue, 3 Feb 1998, Vik Heyndrickx wrote: > I cannot imagine that most gnu utilities for example should have to cope > with this problem, because they have to run on both kind of > architectures. I have seen several GNU packages that test at configure time whether char is signed or unsigned. Apparently, their way of running on both kinds of architecture is by changing some of the code on each case. > I even cannot imagine why configure should test this since using > 'unsigned char' and 'signed char' would take away this problem in the > first place. One reason is because some pre-ANSI compilers don't accept "signed char".