[Top][All Lists]

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

Re: Turning off pointer signedness warnings (patch)

From: Eli Zaretskii
Subject: Re: Turning off pointer signedness warnings (patch)
Date: Sat, 31 Dec 2005 11:07:04 +0200

> From: Chong Yidong <address@hidden>
> Date: Fri, 30 Dec 2005 16:32:34 -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).

Yeah, a stupid warning, IMO.

> 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)

I think the GCC maintainers were convinced to make this off by default
in the next version of GCC.  This should make any changes in Emacs

> 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.

Does this patch mean that even if I _want_ to use -Wpointer-sign, the
produced Makefile will prevent me from doing so?  If so, I object.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]