Sunday, December 12, 2021

Re: [maintainer update] dunst-1.7.2

> ...and I forgot to cvs add the new patches before re-generating the
> diff...
>
> thanks sdk@ for noticing :)
>

I think this needs either -std=c11 or -std=gnu11, so something like this
in the m

# C11 with GNU extensions
COMPILER = base-clang ports-gcc
COMPILER_LANGS = c
CFLAGS += -std=c11

due to

src/dbus.c:1059:9: warning: '_Static_assert' is a C11 extension [-Wc11-extensions]
g_clear_pointer(&introspection_data, g_dbus_node_info_unref);

etc.

With -std=c11 there are a bunch of compiler warnings on sparc64 about the
use of variadic macros that go away with -std=gnu11, but I'm unsure if
that's reason enough to use -std=gnu11...

There are also a couple new time_t format strings warnings in dunst.c and
notifications.c that should be fixed with the usual %lli + (long long)
cast.

No comments:

Post a Comment