Re: gcc 4 signed vs unsigned char
- From: "Old Wolf" <oldwolf@xxxxxxxxxxxxxx>
- Date: 27 Jul 2005 17:40:59 -0700
Keith Thompson wrote:
>
> gcc 4.0.0 produces the warning "pointer targets in initialization
> differ in signedness" for both of the following lines:
>
> signed char *ps = "signed?";
> unsigned char *pu = "unsigned?";
I don't pretend to speak for anyone else here, but for me that
error message is more informative and allows me to understand
the error more quickly than "pointer targets are incompatible"
would.
.
- References:
- gcc 4 signed vs unsigned char
- From: juanitofoo
- Re: gcc 4 signed vs unsigned char
- From: Keith Thompson
- Re: gcc 4 signed vs unsigned char
- From: Old Wolf
- Re: gcc 4 signed vs unsigned char
- From: Keith Thompson
- gcc 4 signed vs unsigned char
- Prev by Date: Re: difficult to code
- Next by Date: Re: Hints on how to migrate from C++ to C
- Previous by thread: Re: gcc 4 signed vs unsigned char
- Next by thread: Re: gcc 4 signed vs unsigned char
- Index(es):
Relevant Pages
|
|