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]

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


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