It would really be terrific to grep throught the compilation logs and check for the presence of -DNDEBUG. Use of -DNEBUG is considered EBW [1] Another approach could be to grep through d/rules files for expression like:
More info for #701231. cmake from sid (2.8.11-2 and above ?), now defines CMAKE_C_FLAGS_RELWITHDEBINFO as -O2 -g -DNDEBUG. So for cmake users, you should either not defines CMAKE_BUILD_TYPE or set it to Debug. Ref: http://lists.debian.org/debian-devel/2013/06/msg00278.html
tags 701231 + moreinfo thanks Hi, (Alas, Lintian does not have access to this.) Is this still valid? Would you still find it useful...? I'm not terribly convinced at the moment :) Regards,