Couple of new issues in mainline

Gabriel Dos Reis gdr@integrable-solutions.net
Sat Dec 2 04:30:00 GMT 2006


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



More information about the Libstdc++ mailing list