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: Paolo Carlini <pcarlini at suse dot de>
- To: Phil Edwards <phil at codesourcery dot com>
- Cc: "'gcc-patches at gcc dot gnu dot org'" <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 02 Feb 2004 00:59:43 +0100
- Subject: Re: [v3] Remove unused <vector> function
- References: <401D7880.4090706@suse.de> <20040201233851.GA11177@disaster.jaj.com>
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)
./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;
./include/std/std_streambuf.h:740:#ifdef _GLIBCXX_DEPRECATED
void
stossc()
Phil, at variance with the helper that I have just removed, this stuff,
when _GLIBCXX_DEPRECATED is defined is supposed to be user visible.
Therefore, please remind me: shall I remove it only from mainline or
from 3_4-branch too? (i.e., deprecated 3_3 and removed 3_4?)
Paolo.