Skip to content

error: too many arguments to function ‘set_limits_from_pp_table’; expected 0, have 1 #52

@LimesKey

Description

@LimesKey
❯  git clone https://github.com/azeam/powerupp.git
❯  cd powerupp
❯  make
gcc -c -g -O0 -Wall -pthread -pipe src/main.c `pkg-config --cflags --libs gtk+-3.0` -o main.o
glib-compile-resources --target=res/resources.c --sourcedir=glade --generate-source glade/gio.xml
gcc -c -g -O0 -Wall -pthread -pipe res/resources.c `pkg-config --cflags --libs glib-2.0` -o resources.o -c
gcc -c -g -O0 -Wall -pthread -pipe src/active.c `pkg-config --cflags --libs gtk+-3.0` -o active.o
src/active.c: In function ‘on_btn_active_clicked’:
src/active.c:758:9: error: too many arguments to function ‘set_limits_from_pp_table’; expected 0, have 1
  758 |     if (set_limits_from_pp_table(app_wdgts) != 0) {
      |         ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~
src/active.c:8:5: note: declared here
    8 | int set_limits_from_pp_table() {
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
make: *** [makefile:46: active.o] Error 1

I'm using Python 3.13.7, Upp 0.2.4, and with all the other dependencies. I've also tried to install it from AUR, but got the same error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions