bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new module 'unused-parameter'


From: Simon Josefsson
Subject: Re: new module 'unused-parameter'
Date: Sun, 27 Dec 2009 18:08:29 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)

Bruno Haible <address@hidden> writes:

> Hi Jim,
>
> Eric wrote:
>> Also, se-context.in.h and se-selinux.in.h would benefit from an 
>> unused-parameter module.
>
> Here's a proposed patch to make the generated selinux/selinux.h and
> selinux/context.h files independent of the stuff defined in config.h.

I suspect this patch is the reason for a recent build failure on MinGW,
see bottom of:

http://autobuild.josefsson.org/gnulib/log-200912271011859192000.txt

Any ideas?

/Simon

depbase=`echo selinux-at.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DNO_XMALLOC 
-DEXEEXT=\"\" -I. -I..  -I../intl  -fvisibility=hidden -g -O2 -Wall -MT 
selinux-at.o -MD -MP -MF $depbase.Tpo -c -o selinux-at.o selinux-at.c &&\
        mv -f $depbase.Tpo $depbase.Po
In file included from selinux-at.h:17,
                 from selinux-at.c:21:
./selinux/selinux.h:24: error: expected ';', ',' or ')' before 
'_GL_UNUSED_PARAMETER'
./selinux/selinux.h:26: error: expected ';', ',' or ')' before 
'_GL_UNUSED_PARAMETER'
./selinux/selinux.h:29: error: expected ';', ',' or ')' before 
'_GL_UNUSED_PARAMETER'
./selinux/selinux.h:31: error: expected ';', ',' or ')' before 
'_GL_UNUSED_PARAMETER'
./selinux/selinux.h:33: error: expected ';', ',' or ')' before 
'_GL_UNUSED_PARAMETER'
./selinux/selinux.h:37: error: expected ';', ',' or ')' before 
'_GL_UNUSED_PARAMETER'
./selinux/selinux.h:40: error: expected ';', ',' or ')' before 
'_GL_UNUSED_PARAMETER'
./selinux/selinux.h:44: error: expected ';', ',' or ')' before 
'_GL_UNUSED_PARAMETER'
./selinux/selinux.h:46: error: expected ';', ',' or ')' before 
'_GL_UNUSED_PARAMETER'
./selinux/selinux.h:49: error: expected ';', ',' or ')' before 
'_GL_UNUSED_PARAMETER'
./selinux/selinux.h:52: error: expected ';', ',' or ')' before 
'_GL_UNUSED_PARAMETER'
./selinux/selinux.h:57: error: expected ';', ',' or ')' before 
'_GL_UNUSED_PARAMETER'
./selinux/selinux.h:60: error: expected ';', ',' or ')' before 
'_GL_UNUSED_PARAMETER'
./selinux/selinux.h:62: error: expected ';', ',' or ')' before 
'_GL_UNUSED_PARAMETER'
./selinux/selinux.h:65: error: expected ';', ',' or ')' before 
'_GL_UNUSED_PARAMETER'
./selinux/selinux.h:71: error: expected ';', ',' or ')' before 
'_GL_UNUSED_PARAMETER'
In file included from selinux-at.h:18,
                 from selinux-at.c:21:
./selinux/context.h:10: error: expected ';', ',' or ')' before 
'_GL_UNUSED_PARAMETER'
./selinux/context.h:12: error: expected ';', ',' or ')' before 
'_GL_UNUSED_PARAMETER'
./selinux/context.h:14: error: expected ';', ',' or ')' before 
'_GL_UNUSED_PARAMETER'
./selinux/context.h:16: error: expected ';', ',' or ')' before 
'_GL_UNUSED_PARAMETER'
./selinux/context.h:19: error: expected ';', ',' or ')' before 
'_GL_UNUSED_PARAMETER'
./selinux/context.h:22: error: expected ';', ',' or ')' before 
'_GL_UNUSED_PARAMETER'
./selinux/context.h:25: error: expected ';', ',' or ')' before 
'_GL_UNUSED_PARAMETER'
In file included from selinux-at.c:38:
at-func.c: In function 'getfileconat':
at-func.c:73: warning: implicit declaration of function 'getfilecon'
In file included from selinux-at.c:48:
at-func.c: In function 'lgetfileconat':
at-func.c:73: warning: implicit declaration of function 'lgetfilecon'
In file included from selinux-at.c:58:
at-func.c: In function 'setfileconat':
at-func.c:73: warning: implicit declaration of function 'setfilecon'
In file included from selinux-at.c:68:
at-func.c: In function 'lsetfileconat':
at-func.c:73: warning: implicit declaration of function 'lsetfilecon'
make[4]: *** [selinux-at.o] Error 1
make[4]: Leaving directory `/home/builder/gnulib/build/gllib'




reply via email to

[Prev in Thread] Current Thread [Next in Thread]