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
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,
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
3 matches
Mail list logo