This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -Wconversion versus libstdc++
- From: Paolo Carlini <pcarlini at suse dot de>
- To: Gerald Pfeifer <gerald at pfeifer dot com>
- Cc: gcc at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Sun, 14 Jan 2007 22:20:23 +0100
- Subject: Re: -Wconversion versus libstdc++
- References: <Pine.LNX.4.64.0701142156560.4862@acrux.dbai.tuwien.ac.at>
Hi Gerald,
I noticed that -Wconversion now issues warnings in libstdc++.
in a nutshell, what is happening is that a difference of two pointers is
assigned to an unsigned variable. First blush, the warning seems to me a
bit overzealous, but if we concur that this is what we *really* want for
4.3, we can change the affected (very old, indeed) lines of code, no
problem at all.
Thanks,
Paolo.