From: Joe Python <[email protected]>
Subject: [Chicken-users] Compiler warnings by Sun Studio 12.2 on Solaris SPARC 
for ver. 4.6.0
Date: Sat, 21 May 2011 14:10:58 -0400

> cc -errtags -xdebugformat=stabs -xannotate=no -DHAVE_CHICKEN_CONFIG_H
> -DC_ENABLE_PTABLES -I. -I./ \
> 
>           -c -g -xO3 \
> 
>            \
> 
>           -DC_BUILDING_LIBCHICKEN runtime.c -o runtime-static.o
> 
> "runtime.c", line 3894: warning: statement not reached
> (E_STATEMENT_NOT_REACHED)

The code causing this could indeed be removed. The question is whether this
will in turn trigger a warning in gcc...

> 
> "runtime.c", line 6882: warning: argument #1 is incompatible with prototype:
> 
>         prototype: pointer to void : "runtime.c", line 2634
> 
>         argument : pointer to function(pointer to void) returning void
> (E_ARG_INCOMPATIBLE_WITH_ARG_L)

These are not critical. I should probably add the neccessary casts. Thanks for
reminding us of this.


cheers,
felix

_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to