On Sunday 16 March 2008 09:19:47 Matt Kraai wrote:

> The attached patch fixes the following warnings:
>
> make[1]: Entering directory `/home/kraai/src/parrot/languages'
> Makefile:352: warning: overriding commands for target `dotnet.realclean'
> Makefile:242: warning: ignoring old commands for target `dotnet.realclean'
>
> src/hash.c: In function ‘parrot_mark_hash’:
> src/hash.c:334: warning: comparison between signed and unsigned
>
> src/interpreter.c: In function ‘dynop_register’:
> src/interpreter.c:1013: warning: assignment from incompatible pointer type
>
> src/mmd.c: In function ‘mmd_sort_candidates’:
> src/mmd.c:1599: warning: passing argument 2 of ‘Parrot_quicksort’ from
> incompatible pointer type
>
> src/exec.c: In function ‘Parrot_exec’:
> src/exec.c:101: warning: cast discards qualifiers from pointer target type
>
> src/io/io.c: In function ‘PIO_dup’:
> src/io/io.c:201: warning: return from incompatible pointer type
>
> ./src/pmc/parrotio.pmc: In function ‘Parrot_ParrotIO_clone’:
> ./src/pmc/parrotio.pmc:411: warning: initialization from incompatible
> pointer type
>
> compilers/imcc/imclexer.c:55:5: warning: "__STDC_VERSION__" is not defined
>
> compilers/imcc/instructions.c: In function ‘ins_print’:
> compilers/imcc/instructions.c:748: warning: comparison between pointer and
> integer
>
> compilers/imcc/reg_alloc.c: In function ‘ig_test’:
> compilers/imcc/reg_alloc.c:213: warning: passing argument 4 of
> ‘ig_get_word’ discards qualifiers from pointer target type
>
> ./md2.pmc: In function ‘Parrot_MD2_nci_MD2_Update’:
> ./md2.pmc:112: warning: pointer targets in passing argument 2 of
> ‘MD2_Update’ differ in signedness ./md2.pmc: In function
> ‘Parrot_MD2_nci_MD2_Final’:
> ./md2.pmc:127: warning: pointer targets in passing argument 2 of
> ‘string_from_cstring’ differ in signedness
>
> ./md4.pmc: In function ‘Parrot_MD4_nci_MD4_Final’:
> ./md4.pmc:127: warning: pointer targets in passing argument 2 of
> ‘string_from_cstring’ differ in signedness
>
> ./md5.pmc: In function ‘Parrot_MD5_nci_MD5_Final’:
> ./md5.pmc:127: warning: pointer targets in passing argument 2 of
> ‘string_from_cstring’ differ in signedness
>
> ./ripemd160.pmc: In function ‘Parrot_RIPEMD160_nci_RIPEMD160_Final’:
> ./ripemd160.pmc:127: warning: pointer targets in passing argument 2 of
> ‘string_from_cstring’ differ in signedness
>
> ./sha.pmc: In function ‘Parrot_SHA_nci_SHA_Final’:
> ./sha.pmc:127: warning: pointer targets in passing argument 2 of
> ‘string_from_cstring’ differ in signedness
>
> ./sha1.pmc: In function ‘Parrot_SHA1_nci_SHA1_Final’:
> ./sha1.pmc:127: warning: pointer targets in passing argument 2 of
> ‘string_from_cstring’ differ in signedness
>
> ./sha256.pmc: In function ‘Parrot_SHA256_nci_SHA256_Final’:
> ./sha256.pmc:127: warning: pointer targets in passing argument 2 of
> ‘string_from_cstring’ differ in signedness
>
> ./sha512.pmc: In function ‘Parrot_SHA512_nci_SHA512_Final’:
> ./sha512.pmc:127: warning: pointer targets in passing argument 2 of
> ‘string_from_cstring’ differ in signedness
>
> There are 30 warnings remaining, but I'm not sure how to fix them.
>
> The patch contains changes to imclexer.c, which was regenerated using
> the Debian version of flex, so you may want to regenerate it using the
> standard version before committing.

Thanks, applied as r26426.  Nice work in the IMCC ones; they eluded me.

-- c

Reply via email to