Index: ntoskrnl/cache/fssup.c =================================================================== --- ntoskrnl/cache/fssup.c (revision 55894) +++ ntoskrnl/cache/fssup.c (working copy) @@ -12,7 +12,7 @@ #include #include "newcc.h" #include "section/newmm.h" -//#define NDEBUG +#define NDEBUG #include /* GLOBALS ********************************************************************/ @@ -59,7 +59,7 @@ CcCacheBitmap->Buffer = ((PULONG)&CcCacheBitmap[1]); CcCacheBitmap->SizeOfBitMap = ROUND_UP(CACHE_NUM_SECTIONS, 32); - DPRINT("Cache has %d entries\n", CcCacheBitmap->SizeOfBitMap); + DPRINT1("Cache has %d entries\n", CcCacheBitmap->SizeOfBitMap); ExInitializeFastMutex(&CcMutex); return TRUE; Index: ntoskrnl/cache/cachesub.c =================================================================== --- ntoskrnl/cache/cachesub.c (revision 55894) +++ ntoskrnl/cache/cachesub.c (working copy) @@ -12,7 +12,7 @@ #include #include "newcc.h" #include "section/newmm.h" -//#define NDEBUG +#define NDEBUG #include /* STRUCTURES *****************************************************************/ @@ -50,7 +50,7 @@ LARGE_INTEGER Offset; PWORK_QUEUE_WITH_READ_AHEAD WorkItem = (PWORK_QUEUE_WITH_READ_AHEAD)Context; PNOCC_CACHE_MAP Map = (PNOCC_CACHE_MAP)WorkItem->FileObject->SectionObjectPointer->SharedCacheMap; - DPRINT("Reading ahead %08x%08x:%x %wZ\n", + DPRINT1("Reading ahead %08x%08x:%x %wZ\n", WorkItem->FileOffset.HighPart, WorkItem->FileOffset.LowPart, WorkItem->Length, Index: ntoskrnl/CMakeLists.txt =================================================================== --- ntoskrnl/CMakeLists.txt (revision 55894) +++ ntoskrnl/CMakeLists.txt (working copy) @@ -18,9 +18,7 @@ set_rc_compiler() -if(NOT DEFINED NEWCC) - set(NEWCC FALSE) -endif(NOT DEFINED NEWCC) +set(NEWCC TRUE) if(NEWCC) add_definitions(-DNEWCC)