Error in eh_alloc.cc
Perry Smith
pedz@easesoftware.net
Tue Jan 10 00:53:00 GMT 2006
#if _GLIBCXX_HOSTED
using std::free;
using std::malloc;
using std::memcpy;
#else
// In a freestanding environment, these functions may not be
// available -- but for now, we assume that they are.
extern "C" void *malloc (std::size_t);
extern "C" void free(void *);
extern "C" int memset (void *, int, std::size_t); <<<<<<*****
#endif
In the freestanding compile, this line is hit. memset returns void *.
I'm happy to either enter this into bugzilla or submit a change but I
don't know how to do either. I'll see if I can figure it out...
Thank you,
Perry Smith
More information about the Libstdc++
mailing list