#ifdef DEBUG #define debug cerr #else #define debug if (1) {} else cerr #endif 이러면 안되나요? "while (0) cerr" 이런 유사품도 있어요