tag:blogger.com,1999:blog-699828515576400912.post6162913967393755645..comments2023-10-28T15:16:04.263+03:00Comments on code @ work: #ifdef _DEBUG - baaaad directive!John Torjohttp://www.blogger.com/profile/17969533343197027125noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-699828515576400912.post-59427082418567037412009-10-09T20:44:45.524+03:002009-10-09T20:44:45.524+03:00Good idea. I saw this all over boost but never tho...Good idea. I saw this all over boost but never thought to apply it to my own code. Thanks!<br /><br />BTW, do you think it would be better to place an "if debug, FEATURE_ON" someplace central in the code (like configuration.h)? Or to define it in the makefile/project file? Personally I would use the configuration.h, but allow any define in the makefile/project to override it (although that would require both FEATURE_ON and FEATURE_OFF).Michael Spencerhttps://www.blogger.com/profile/07450459350381303854noreply@blogger.comtag:blogger.com,1999:blog-699828515576400912.post-41723574724566734952008-03-26T05:17:00.000+02:002008-03-26T05:17:00.000+02:00See a good discussion about this at http://powerof...See a good discussion about this at http://powerof2games.com/node/10Thiago Delgado Pintohttps://www.blogger.com/profile/00791998615484436526noreply@blogger.com