Re: [PATCH] Pointer cast warnings in scripts/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Tue, 21 Jun 2005, Pierre Ossman wrote:

> GCC 4 checks the signedness of pointer casts and generates a whole bunch
> of warnings for code in scripts/ (which makes heavy use of signed char
> strings).
> 
> This patch adds explicit casts.

Just adding explicit all over the place is really the worst solution. 
Check if you can adjust data types/function prototypes.
Lots of the signed stuff was added as a warning fix for Solaris, I'd 
rather drop that than adding casts all over the place. So you also may 
want to check the file history, why certain constructs were added.

bye, Roman
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux