dunst-project / dunst

Lightweight and customizable notification daemon
https://dunst-project.org
Other
4.42k stars 338 forks source link

Get rid of new warning about dangling pointers #1297

Closed zappolowski closed 4 months ago

zappolowski commented 4 months ago

The same as already done in fe5ac680af0a7c6831205b02360172dbdc06185b but plain buffers were re-introduced when the corners patch landed.

@bynect fyi

bynect commented 4 months ago

The same as already done in fe5ac68 but plain buffers were re-introduced when the corners patch landed.

@bynect fyi

Thanks, I didn't notice that the buffers had to be static. Just for information, with which compiler flags are you getting the warnings?

zappolowski commented 4 months ago

I get them as warnings by just running the tests locally:

$ make WAYLAND=0 -j test -B

To mimic the (future - new CI images aren't pushed to Dockerhub yet) build failures just export CFLAGS=-Werror as theses images run builds this way.