PATCH: V3 support for arm-none-symbianelf

Gabriel Dos Reis gdr@integrable-solutions.net
Mon Aug 2 20:49:00 GMT 2004


Mark Mitchell <mark@codesourcery.com> writes:

| ! #if _GLIBCXX_HOSTED
| ! using std::free;
| ! #else
| ! // In a freestanding environment, "free" may not be available.  In
| ! // that case, it may make sense not to define "operator delete" at
| ! // all.  For now, we assume that "free" will work.

I do not understand this comment.  operator delete is required,
freestanding or not.  So, I do not understand the bits saying it may
make sense not to define "operator delete".  Could you clarify?

| ! extern "C" void free(void *);
| ! #endif


-- Gaby



More information about the Gcc-patches mailing list