warning: pointer targets in initialization differ in signedness
When compiling various packages using the SUNW0gcc, I am seeing a lot of these
warnings:
warning: pointer targets in initialization differ in signedness
This happens when compiling OpenSSL 0.98 against PHP-5.1.4.
Should I be concerned, or is gcc smart enough to figure it out?
rachel
[322 byte] By [
virag064] at [2007-11-26 8:49:10]

# 2
gcc gives warning for the following cases:
signed char sc;
unsigned char uc;
signed char *sp1 = ≻
signed char *sp2 = &uc;// warning
unsigned char *up1 = ≻// warning
unsigned char *up2 = &uc;
Although older compilers did not give such a warning,
and applications might still work, they are potential errors
or abnormal designs.
Chih-Hung