[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Compiler warnings by Sun Studio 12.2 on Solaris SPAR
From: |
Felix |
Subject: |
Re: [Chicken-users] Compiler warnings by Sun Studio 12.2 on Solaris SPARC for ver. 4.6.0 |
Date: |
Sat, 21 May 2011 23:42:44 +0200 (CEST) |
From: Joe Python <address@hidden>
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