delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/30/18:02:15

From: Vik Heyndrickx <Vik DOT Heyndrickx AT rug DOT ac DOT be>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: [Q]: unsigned char
Date: Thu, 30 Oct 1997 08:52:58 +0100
Organization: University of Ghent, Belgium
Lines: 32
Message-ID: <34583CDA.42A7@rug.ac.be>
References: <ABktjLqSgI AT rsuzi DOT pgu DOT karelia DOT ru>
NNTP-Posting-Host: eduserv1.rug.ac.be
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Roman Suzi wrote:
 
>    I got latest version of DJGPP only 1 month ago! Or are there bugs
> in RHIDE 1.1?

The latest version of RHIDE is 1.4 (since about a month ago).

> Because when I manually add -funsigned-char,
> it works. (In contrast to when I use -funsigned-char
> checkbox in RHIDE in Options/Compilers/C-flags)

I am unaware of this bug to have existed *ever*. 
Robert/SET/anyone?

> >I think you are missing the fact that '\xFD' is NOT a character constant,
> >it's an int.  Therefore, -funsigned-char doesn't affect it.
> 
>    NO!!! It has sizeof('\xFD') == 1

No Eli is right, It has (and should have) sizeof('\xFD') == sizeof
(int)...
Unless you are compiling as C++, what you *are* doing.
 
> (It is only silly suggestion. I am only beginner with
> DJGPP/Rhide to understand all things in details)

Nothing wrong with that.

-- 
 \ Vik /-_-_-_-_-_-_/   
  \___/ Heyndrickx /          
   \ /-_-_-_-_-_-_/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019