On Thu, 31 Jan 2013 23:32:48 +0000
"Carlos R. Mafra" <[email protected]> wrote:

> Thanks!

No problem. I hope I am not the only one with use for this...
 
> But this patch generates some warnings here:
> 
>   CC       resources.o
>   CC       rootmenu.o
>   CC       screen.o
> rootmenu.c: In function ‘constructPLMenuFromPipe’:
> rootmenu.c:721:3: warning: ‘return’ with no value, in function returning 
> non-void [-Wreturn-type]
> rootmenu.c:746:2: warning: label ‘finish’ defined but not used 
> [-Wunused-label]
> rootmenu.c: In function ‘addMenuEntry’:
> rootmenu.c:860:4: warning: passing argument 4 of ‘wMenuInsertCallback’ from 
> incompatible pointer type [enabled by default]
> In file included from window.h:29:0,
>                  from actions.h:24,
>                  from rootmenu.c:42:
> menu.h:111:13: note: expected ‘void (*)(struct WMenu *, struct WMenuEntry *)’ 
> but argument is of type ‘void * (*)(struct WMenu *, struct WMenuEntry *)’
>   CC       session.o
>   CC       shutdown.o
>   
>   
>   The warning about the return is strange since the function is static void,
>   but the one about the label is correct.
>   
> Can you take a look?

How embarrassing. Sure will take care of these tonight.

Regards,
Andreas

-- 
BR Andreas Bierfert, M.Sc.     | phone: +49 6897 1721738 | GPG: C58CF1CB
[email protected] | fax:   +49 6897 1722828 | signed/encrypted
http://lowlatency.de           | cell:  +49 170  9665206 | mail preferred

Attachment: signature.asc
Description: PGP signature

Reply via email to