[riot-notifications] [RIOT] make: enable `assert()` in `make scan-build` (#3962)

René Kijewski notifications at github.com
Thu Sep 24 23:54:29 CEST 2015


Compare scan-build's documentation: [1]

> ALWAYS analyze a project in its "debug" configuration
>
> Most projects can be built in a "debug" mode that enables assertions.
> Assertions are picked up by the static analyzer to prune infeasible
> paths, which in some cases can greatly reduce the number of false
> positives (bogus error reports) emitted by the tool.

Closes #3960.

  1: http://clang-analyzer.llvm.org/scan-build.html#recommended_debug
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/3962

-- Commit Summary --

  * make: enable `assert()` in `make scan-build`

-- File Changes --

    M Makefile.cflags (4)
    M Makefile.scan-build (2)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/3962.patch
https://github.com/RIOT-OS/RIOT/pull/3962.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/3962
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150924/de8a2e32/attachment.html>


More information about the notifications mailing list