delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/21/09:46:24

Date: Fri, 21 Jan 2000 15:32:46 +0200 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
To: Petr Maxa <maxa AT sse-za DOT sk>
cc: djgpp AT delorie DOT com
Subject: Re: signed - unsigned chars
In-Reply-To: <000701bf63ef$41a61440$0307028a@prmivv03>
Message-ID: <Pine.A41.4.05.10001211532140.48208-100000@ieva01.lanet.lv>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com


On Fri, 21 Jan 2000, Petr Maxa wrote:

> Hi I am just porting a code from Borland C++, and there is a possibility in
> "Compiler->Code Generation" to set "Unsigned chars" (option -K) and in "C++
> Options->C++ Compatibility" set "Do not treat 'char' as distinct type"
> (option -K2).
> 
> I am working on a project, where is very important to have all chars as
> unsigned types. There is now a problem to accomplish this, as compiler
> treats constant chars as signed types. Is there any possibility to change it
> globally signed char to unsigned as in Borland compiler ?
> 

-funsigned-char

Andris


- Raw text -


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