Skip to content

Doesn't build on Ubuntu 25.04 #43

@vaskark

Description

@vaskark

make:

clang -pedantic -Wall -Wextra -Werror -Wno-unused-parameter -Os -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/libmount -I/usr/include/blkid -pthread  -O1   -c -o main.o main.c
In file included from main.c:28:
./notify.h:15:24: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
   15 | void close_notification();
      |                        ^
      |                         void
In file included from main.c:29:
./options.h:58:23: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
   58 | char* find_config_file();
      |                       ^
      |                        void
main.c:31:19: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
   31 | void print_version()
      |                   ^
      |                    void
main.c:36:16: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
   36 | void print_help()
      |                ^
      |                 void
main.c:78:13: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
   78 | void cleanup()
      |             ^
      |              void
main.c:85:20: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
   85 | void signal_handler()
      |                    ^
      |                     void
6 errors generated.
make: *** [<builtin>: main.o] Error 1

Any help would be appreciated.
Thanks.

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