--- nwcc_0.8.2.old/cpp/n_libc.h +++ nwcc_0.8.2/cpp/n_libc.h @@ -85,7 +85,10 @@ #define DEBUG_MALLOC #endif -#define free(x) dofree(x) +#ifdef DEBUG_FREE +#undef free +#define free(x) ((void) x) +#endif #ifdef DEBUG_MALLOC #define n_xmalloc(x) n_xmalloc((x) + 50)