[prev in list] [next in list] [prev in thread] [next in thread]
List: hpux-devtools
Subject: Re: HPUX-DEVTOOLS: aCC signed/unsigned char switch?
From: Dennis Handly <dhandly () cup ! hp ! com>
Date: 2001-09-18 20:02:38
[Download RAW message or body]
(You should have sent this to cxx-dev instead.)
>Is there a compiler switch that will allow the aCC compiler to
>default to seeing "char" as "unsigned char", instead of the current "signed
>char"?
On A.03.25 there is +uc. (It can't affect overloading though.)
>(there are places where binary mainframe data gets converted to ASCII,
>and the signed/unsigned has become an issue).
It only matters if you compare or you have to pass a char to an int.
>aCC: HP ANSI C++ B3910B A.03.13
Steve
This compiler is very old, almost 3 years.
There you'll need to use -Wc,-char,unsigned instead of +uc.
_________________________________________________________________
To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
with the message UNSUBSCRIBE hpux-devtools
_________________________________________________________________
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic