[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Turning off pointer signedness warnings (patch)
From: |
Richard M. Stallman |
Subject: |
Re: Turning off pointer signedness warnings (patch) |
Date: |
Sat, 31 Dec 2005 12:40:10 -0500 |
GCC 4.0 warns when a pointer to an unsigned object is passed to a
function that takes pointers to signed objects (or vice versa). In
older GCC's, this was a -pedantic warning; now, it's turned on by
default. (http://gcc.gnu.org/ml/gcc/2004-12/msg00841.html)
The GCC developers told me that this will be reversed in the next
release. Our complaints did win the day.
The following patch makes use of the new -Wno-pointer-sign option,
whenever it is available. If there are no objections, I'll check it
in soon.
Please do, and thanks.