Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: bmarkus on August 29, 2009, 04:45:16 AM

Title: too few arguments to function
Post by: bmarkus on August 29, 2009, 04:45:16 AM
I'm getting the following error during compilation:

xkb-config.c:153: error: too few arguments to function

Is it possible to turn off this error and to continue compilation?
Title: Re: too few arguments to function
Post by: curaga on August 29, 2009, 06:21:11 AM
Errors can't be turned off, the compiler just can't tell what the coder intended.
This error in particular should never have made it to a release..

edit: Google says this is a bug in xfce4-xkb-plugin, and here's a patch from Fedora:
http://cvs.fedoraproject.org/viewvc/rpms/xfce4-xkb-plugin/F-11/xxp-0.5.2-xklavier-api.patch?revision=1.1&view=markup

Did I guess right?
Title: Re: too few arguments to function
Post by: bmarkus on August 29, 2009, 06:55:58 AM
Errors can't be turned off, the compiler just can't tell what the coder intended.
This error in particular should never have made it to a release..

edit: Google says this is a bug in xfce4-xkb-plugin, and here's a patch from Fedora:
http://cvs.fedoraproject.org/viewvc/rpms/xfce4-xkb-plugin/F-11/xxp-0.5.2-xklavier-api.patch?revision=1.1&view=markup

Did I guess right?

Thanks for the ponter, I will check it.
Title: Re: too few arguments to function
Post by: bmarkus on August 31, 2009, 02:27:14 PM
Thanks for the ponter, I will check it.

Great, now it compiles. While the patch is for an earlier 0.5.2 version the same change works for 0.5.3 with correcting line numbers in the second section.

Thanks for your help, Curaga!

(Next is to get it work, but this is another issue)