[asterisk-dev] [Code Review] 4546: clang compiler warning: -Warray-bounds
Diederik de Groot
reviewboard at asterisk.org
Sat Mar 28 07:52:44 CDT 2015
> On March 28, 2015, 1:28 p.m., Diederik de Groot wrote:
> > /branches/13/configure.ac, lines 1179-1183
> > <https://reviewboard.asterisk.org/r/4546/diff/2/?file=73163#file73163line1179>
> >
> > Test is not working as i hoped yet. Tests inside configure don't seem to get optimized to the same level (-O3), making this test somewhat useless. Trying to find out how to get the same behaviour as wenn running make.
references: https://llvm.org/bugs/show_bug.cgi?id=11536
Will use the 'example.c' source from this bugreport to detect this behaviour.
- Diederik
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/4546/#review14933
-----------------------------------------------------------
On March 28, 2015, 12:14 p.m., Diederik de Groot wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/4546/
> -----------------------------------------------------------
>
> (Updated March 28, 2015, 12:14 p.m.)
>
>
> Review request for Asterisk Developers.
>
>
> Bugs: ASTERISK-24917
> https://issues.asterisk.org/jira/browse/ASTERISK-24917
>
>
> Repository: Asterisk
>
>
> Description
> -------
>
> clang's static analyzer will throw quite a number warnings / errors during compilation, some of which can be very helpfull in finding corner-case bugs. clang compiler warning:-Warray-bounds
>
>
> Diffs
> -----
>
> /branches/13/configure.ac 433444
>
> Diff: https://reviewboard.asterisk.org/r/4546/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Diederik de Groot
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20150328/0b587f91/attachment.html>
More information about the asterisk-dev
mailing list