Index: include/reactos/debug.h =================================================================== --- include/reactos/debug.h (revision 70267) +++ include/reactos/debug.h (working copy) @@ -108,11 +108,7 @@ #else -#if defined(_MSC_VER) - #define DPRINT __noop -#else #define DPRINT(...) do { if(0) { DbgPrint(__VA_ARGS__); } } while(0) -#endif #endif @@ -130,23 +126,8 @@ #else /* not DBG */ - /* On non-debug builds, we never show these */ -#if defined(_MSC_VER) - #define DPRINT1 __noop - #define DPRINT __noop + // Do not use Microsoft __noop intrinsic as it will cause variable unreferenced error in ntoskrnl #CORE-10652 - #define UNIMPLEMENTED - - #define ERR_ __noop - #define WARN_ __noop - #define TRACE_ __noop - #define INFO_ __noop - - #define ERR__ __noop - #define WARN__ __noop - #define TRACE__ __noop - #define INFO__ __noop -#else #define DPRINT1(...) do { if(0) { DbgPrint(__VA_ARGS__); } } while(0) #define DPRINT(...) do { if(0) { DbgPrint(__VA_ARGS__); } } while(0) @@ -161,7 +142,6 @@ #define WARN__(ch, ...) do { if(0) { DbgPrint(__VA_ARGS__); } } while(0) #define TRACE__(ch, ...) do { if(0) { DbgPrint(__VA_ARGS__); } } while(0) #define INFO__(ch, ...) do { if(0) { DbgPrint(__VA_ARGS__); } } while(0) -#endif /* _MSC_VER */ #endif /* not DBG */