Date: Fri, 21 Jan 2000 15:32:46 +0200 (WET) From: Andris Pavenis To: Petr Maxa cc: djgpp AT delorie DOT com Subject: Re: signed - unsigned chars In-Reply-To: <000701bf63ef$41a61440$0307028a@prmivv03> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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