From: Vik Heyndrickx 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: NNTP-Posting-Host: eduserv1.rug.ac.be Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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 / \ /-_-_-_-_-_-_/