This is the mail archive of the gcc@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: [gcc-in-cxx] replacing qsort with std::sort


On 08/29/2009 03:49 PM, Pedro Lamarão wrote:
2009/8/29 Magnus Fromreide<magfr@lysator.liu.se>:

Why the changes to gcc/system.h where you unpoision malloc and realloc? Why the changes to libcpp/system.h where you unpoision malloc, realloc, calloc and strdup?

Including<algorithm> requires them for some reason. I haven't really looked into it.

You should simply include <algorithm> in system.h before the poisoning.


r~



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