[hipl-dev] Re: [hipl-commit] [trunk] Rev 4746: firewall: mark/remove unused parameters in PISA code.

  • From: René Hummen <rene.hummen@xxxxxxxxxxxxxxxxx>
  • To: hipl-dev@xxxxxxxxxxxxx
  • Date: Wed, 09 Jun 2010 18:44:56 +0200

Hi,

On Jun 9, 2010, at 4:28 PM, Mircea Gherzan wrote:
> Mircea Gherzan <mircea.gherzan@xxxxxxxxxxxxxx> wrote:
>> Committer: Mircea Gherzan <mircea.gherzan@xxxxxxxxxxxxxx>
>> Date: 09/06/2010 at 17:24:11
>> Revision: 4746
>> Revision-id: mircea.gherzan@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>> Branch nick: trunk
>> 
>> Log:
>>  firewall: mark/remove unused parameters in PISA code.
> 
> This concludes the set of fixes that makes HIPL build with stricter GCC flags.
> Please test the build on your "exotic" configurations/platforms and report any
> issues.

First of all: thanks a lot for this very helpful contribution!

I directly tested your changes against the most exotic platform at 
hand...Scratchbox ;-) and i'm getting the following error:

        /bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  
-D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500  -std=c99 -Wall -Wextra -Werror 
-Wredundant-decls -Wdisabled-optimization -Wundef -Wstrict-prototypes 
-Wmissing-prototypes -Wno-deprecated-declarations -Wpointer-arith 
-Wwrite-strings -Wshadow -Winline -fno-strict-aliasing -g -O2 -MT 
lib/core/debug.lo -MD -MP -MF $depbase.Tpo -c -o lib/core/debug.lo 
lib/core/debug.c &&\
        mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -D_POSIX_C_SOURCE=200112L 
-D_XOPEN_SOURCE=500 -std=c99 -Wall -Wextra -Werror -Wredundant-decls 
-Wdisabled-optimization -Wundef -Wstrict-prototypes -Wmissing-prototypes 
-Wno-deprecated-declarations -Wpointer-arith -Wwrite-strings -Wshadow -Winline 
-fno-strict-aliasing -g -O2 -MT lib/core/debug.lo -MD -MP -MF 
lib/core/.deps/debug.Tpo -c lib/core/debug.c  -fPIC -DPIC -o 
lib/core/.libs/debug.o
cc1: warnings being treated as errors
lib/core/debug.c: In function 'hip_print_locator':
lib/core/debug.c:729: warning: unused parameter 'str'

config.h contains:
/* options passed to configure */
#define HIPL_CONFIGURATION "--build arm-linux-gnueabi --prefix=/usr 
--sysconfdir=/etc --enable-shared --disable-gcc-warn --disable-debug"

Ciao,
René 


---
Dipl.-Inform. Rene Hummen, Ph.D. Student
Distributed Systems Group
RWTH Aachen University, Germany
tel: +49 241 80 20772
web: http://ds.rwth-aachen.de/members/hummen


Other related posts: