This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
patch std::
- From: Marc Glisse <marc dot glisse at normalesup dot org>
- To: libstdc++ at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Tue, 9 May 2006 17:05:32 +0200 (MEST)
- Subject: patch std::
Hello,
I attach a patch that does not break anything on i686-pc-linux-gnu.
(I know I don't have the paperwork done yet, but if this isn't considered
a minor patch...)
In eh_alloc.cc, I believe it is a typo, since the code looks like:
#if ...
using std::memcpy;
#else
extern "C" void *memset (void *, int, std::size_t);
#endif
and the file uses memset but never memcpy. If it is not a typo, then a
comment explaining the purpose would be welcome.
The rest are just some missing std:: in include/.
I do not touch the testsuite, there are just too many tests that are not
supposed to work and only work because of the special way gcc does things.
(plenty of missing std:: in particular)
--
Marc Glisse
Attachment:
gcc-patch
Description: Text document