Bug#701231: lintian: NDEBUG in compilation logs

2017-12-29 Thread Chris Lamb
tags 701231 + moreinfo thanks Hi, > It would really be terrific to grep throught the compilation logs > and check for the presence of -DNDEBUG. (Alas, Lintian does not have access to this.) > Another approach could be to grep through d/rules files for expression like: > > -DCMAKE_BUILD_TYPE:STR

Bug#701231:

2013-06-07 Thread Mathieu Malaterre
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 -- To UNSUBSCRIBE,

Bug#701231: lintian: NDEBUG in compilation logs

2013-02-23 Thread Mathieu Malaterre
Package: lintian Version: 2.5.10.3~bpo60+1 Severity: normal 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: -DCMAKE_BUILD