This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [v3] Remove unused <vector> function
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Paolo Carlini <pcarlini at suse dot de>
- Cc: Phil Edwards <phil at codesourcery dot com>, "'gcc-patches at gcc dot gnu dot org'" <gcc-patches at gcc dot gnu dot org>
- Date: 02 Feb 2004 01:14:47 +0100
- Subject: Re: [v3] Remove unused <vector> function
- Organization: Integrable Solutions
- References: <401D7880.4090706@suse.de><20040201233851.GA11177@disaster.jaj.com> <401D92EF.20802@suse.de>
Paolo Carlini <pcarlini@suse.de> writes:
| Phil Edwards wrote:
|
| > Good catch. If there are any other _GLIBCXX_DEPRECATED parts, they can
| > probably go too. (I don't have source handy to check.)
|
| Actually, we have got 3!
|
| ./include/bits/basic_string.h:1008:#ifdef _GLIBCXX_DEPRECATED
|
| iterator
| insert(iterator __p)
This can go away.
| ./include/bits/ios_base.h:360:#ifdef _GLIBCXX_DEPRECATED
|
| // Annex D.6
| typedef int io_state;
| typedef int open_mode;
| typedef int seek_dir;
| typedef std::streampos streampos;
| typedef std::streamoff streamoff;
These NOT. There are too much pre-norm existing codes that would break.
-- Gaby