This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Couple of new issues in mainline
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Paolo Carlini <pcarlini at suse dot de>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>, Benjamin Kosnik <bkoz at redhat dot com>
- Date: 02 Dec 2006 05:24:35 +0100
- Subject: Re: Couple of new issues in mainline
- References: <45705BAB.4000207@suse.de>
Paolo Carlini <pcarlini@suse.de> writes:
| Hi all, hi Benjamin,
|
| in mainline we have a couple of new (unrelated) issues.
|
| The first one is a warning regression, due to a warning recently added
| to the C++ front:
|
| In file included from ../../../../trunk/libstdc++-v3/src/mt_allocator.cc:36:
| /home/paolo/Gcc/svn-dirs/trunk-build/i686-pc-linux-gnu/libstdc++-v3/include/ext/mt_allocator.h:155:
| warning
| : type qualifiers ignored on function return type
|
| I think that, for various reasons (the function is not exported + the
| type qualifier is indeed ignored), it's safe to simply remove the
| const qualifier, as in the below,
Agreed.
-- Gaby