bug-gnubatch
[Top][All Lists]
Advanced

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

[bug-gnubatch] Compiler warnings (as of 1.6 rel)


From: Jan Schampera
Subject: [bug-gnubatch] Compiler warnings (as of 1.6 rel)
Date: Sun, 09 Sep 2012 00:52:57 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20120724 Iceowl/1.0b1 Icedove/3.0.11

Here some compiler warnings, no patches since I'm not sure at all.


parsehtab.c: In function ‘gsn_getloc’:
parsehtab.c:170: warning: pointer targets in passing argument 3 of ‘getsockname’ differ in signedness /usr/include/sys/socket.h:119: note: expected ‘socklen_t * __restrict__’ but argument is of type ‘int *’
--> blindly use socklen_t?


btcharge.c:35: warning: ‘Filename’ defined but not used
--> Might be about (not) using ABORT_NOMEM, which is true in some other places, too (which just are not compiled, I guess).


y.tab.c: In function ‘yyparse’:
y.tab.c:1392: warning: implicit declaration of function ‘yylex’
--> predeclare yylex in the atcover parser generator?


gbatch_jobdata.c: In function ‘gbatch_jobdata’:
gbatch_jobdata.c:115: warning: implicit declaration of function ‘sigset’
--> probably something wrong with HAVE_SIGSET?



--
Be conservative in what you do, be liberal in what you accept from others.
- jbp, master of the net, in RFC793




reply via email to

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