-----Original Message----- From: ros-dev-bounces@reactos.org [mailto:ros-dev-bounces@reactos.org] On Behalf Of Ge van Geldorp Sent: 25. november 2005 22:50 To: ros-dev@reactos.org Subject: [ros-dev] RE: [ros-svn] [chorns] 19566: Speed up compilation ofntoskrnl
From: chorns@svn.reactos.com
Speed up compilation of ntoskrnl
Hmm, an unexpected consequence is that we can no longer enable DPRINTs per file by removing the "#define NDEBUG" statement. At the moment, the first source files included by io.c and cc.c (resp io/adapter.c and cc/cacheman.c) don't define NDEBUG before including debug.h. As a result, all DPRINTs in every file included by io.c/cc.c are enabled.
GvG
Yes, I have thought of this. You need to disable the multiple source file per compilation unit feature if you want to do this. This is explained in Makefile. You do this by setting ROS_RBUILDFLAGS=-ud. Of course this is only a problem until someone implements the new debugging system that was talked about, although that could take a while since no one is actually working on it ;-(
Casper