[Gambas-devel] Compiling gambas using clang-analyzer

Jussi Lahtinen jussi.lahtinen at ...176...
Tue Aug 14 21:03:40 CEST 2012


I must take that back... many of them work, they are just so damn
bothersome with all the false positives!

Jussi



On 14 August 2012 21:59, Jussi Lahtinen <jussi.lahtinen at ...176...> wrote:

> Yes, I know (unless assertion is from some heavy function, then it is way
> to optimize).
> It was too early excitement about working code analyzer (my experiences
> are not very good).
>
> Jussi
>
>
>
>
> On 14 August 2012 21:56, Benoît Minisini <gambas at ...1...>wrote:
>
>> Le 14/08/2012 20:43, Jussi Lahtinen a écrit :
>> >
>> >     File: main/gbc/gbc_read.c
>> >
>> >     Line: 481, 544, 575
>> >     Code: car = next_char();
>> >     Message: Value stored to 'car' is never read
>> >
>> >
>> > With quick look, at least these seems to be valid... Nice find!
>> >
>> > Jussi
>> >
>>
>> The "is never read" warnings are actually not important and can be
>> safely ignored.
>>
>> I a more interested in "Dereference of null pointer" errors!
>>
>> --
>> Benoît Minisini
>>
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> Gambas-devel mailing list
>> Gambas-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-devel
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20120814/f0c295c8/attachment.html>


More information about the Devel mailing list