I want the following to appear in every source file in my Visual C ++ 2005 solution:
#define DEBUG_NEW new(_NORMAL_BLOCK, __FILE__, __LINE__) #define new DEBUG_NEW
Is there any way to do this without manually copying? Compiler option?
c ++ macros c-preprocessor memory-leaks
Steven keith
source share