This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [v3] Remove unused <vector> function


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.


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