This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Couple of new issues in mainline


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]