You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by "Philip M. Gollucci" <pg...@p6m7g8.com> on 2010/07/31 00:19:58 UTC

scan-build on apr/trunk

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

http://p6m7g8.net/~pgollucci/sb/

I might take a stab at some of these next week.

$ ./buildconf
$ scan-build ./configure
$ scan-build make -j12



- -- 
- ------------------------------------------------------------------------
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354
VP Apache Infrastructure; Member, Apache Software Foundation
Committer,                        FreeBSD Foundation
Consultant,                       P6M7G8 Inc.
Sr. System Admin,                 Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iD8DBQFMU1AOdbiP+9ubjBwRAiEeAJ4s60AlP2XislolhhEomAK3AfVWQwCeLo8F
Rb4jDfN0h9rQudC8M7az9mc=
=W9hy
-----END PGP SIGNATURE-----

Re: scan-build on apr/trunk

Posted by Guenter Knauf <fu...@apache.org>.
Am 31.07.2010 16:03, schrieb Stefan Fritsch:
> On Saturday 31 July 2010, Philip M. Gollucci wrote:
>> http://p6m7g8.net/~pgollucci/sb/
>>
>> I might take a stab at some of these next week.
>>
>> $ ./buildconf
>> $ scan-build ./configure
>> $ scan-build make -j12
>
> One more issue found by gcc: Error handling in apr_memcache.c is
> broken:
>
> apr/memcache/apr_memcache.c:793: warning: comparison of unsigned
> expression<  0 is always false
> apr/memcache/apr_memcache.c:1368: warning: comparison of unsigned
> expression>= 0 is always true

I've played a bit with recent OpenWatcom 1.9, and this compiler also 
found the above as well as a couple of others:
http://people.apache.org/~fuankg/openwatcom/owc_w32_log.txt
http://people.apache.org/~fuankg/openwatcom/owc_nw_log.txt
if someone is interested in the prelimary makefiles these are also in 
same folder.

Gün.



Re: scan-build on apr/trunk

Posted by Stefan Fritsch <sf...@sfritsch.de>.
On Saturday 31 July 2010, Philip M. Gollucci wrote:
> http://p6m7g8.net/~pgollucci/sb/
> 
> I might take a stab at some of these next week.
> 
> $ ./buildconf
> $ scan-build ./configure
> $ scan-build make -j12

One more issue found by gcc: Error handling in apr_memcache.c is 
broken:

apr/memcache/apr_memcache.c:793: warning: comparison of unsigned 
expression < 0 is always false
apr/memcache/apr_memcache.c:1368: warning: comparison of unsigned 
expression >= 0 is always true