1
0
mirror of https://github.com/artizirk/wdisplays.git synced 2025-09-04 14:30:59 +03:00

3 Commits

Author SHA1 Message Date
4257ef446b Release 1.1.2 2025-07-25 12:43:53 +03:00
cef925b96a Merge pull request #25 from ceamac/fix/C23
Fix C23 issues
2025-07-25 12:37:57 +03:00
Viorel Munteanu
6b7c637875 Fix C23 issues
gcc 15 is more strict and compiles C by default with C23.  `noop` is
used as a default null initializer, but now it must have the correct
type, so add a cast.

See also: https://bugs.gentoo.org/946954
2024-12-28 11:56:49 +02:00
3 changed files with 14 additions and 7 deletions

View File

@@ -6,6 +6,12 @@ This project tries to adhere to [Semantic Versioning][2].
## [Unreleased]
## [1.1.2] - 2025-07-25
### Fixed
Fixed compilation error with new GCC (ceamac)
## [1.1.1] - 2023-07-01
### Added
@@ -52,7 +58,8 @@ Update application ID and readme (Jason Francis)
[1]: https://keepachangelog.com/en/1.0.0/
[2]: https://semver.org/spec/v2.0.0.html
[Unreleased]: https://github.com/artizirk/wdisplays/compare/1.1.1...HEAD
[Unreleased]: https://github.com/artizirk/wdisplays/compare/1.1.2...HEAD
[1.1.2]: https://github.com/artizirk/wdisplays/compare/1.1.1...1.1.2
[1.1.1]: https://github.com/artizirk/wdisplays/compare/1.1...1.1.1
[1.1]: https://github.com/artizirk/wdisplays/compare/1.0...1.1
[1.0]: https://github.com/artizirk/wdisplays/releases/tag/1.0

View File

@@ -3,7 +3,7 @@
project('network.cycles.wdisplays', 'c',
license: 'GPL-3.0-or-later',
version: '1.1.1'
version: '1.1.2'
)
conf = configuration_data({

View File

@@ -526,7 +526,7 @@ static void output_manager_handle_done(void *data,
static const struct zwlr_output_manager_v1_listener output_manager_listener = {
.head = output_manager_handle_head,
.done = output_manager_handle_done,
.finished = noop,
.finished = (void (*)(void *, struct zwlr_output_manager_v1 *))noop,
};
static void registry_handle_global(void *data, struct wl_registry *registry,
uint32_t name, const char *interface, uint32_t version) {
@@ -553,7 +553,7 @@ static void registry_handle_global(void *data, struct wl_registry *registry,
static const struct wl_registry_listener registry_listener = {
.global = registry_handle_global,
.global_remove = noop,
.global_remove = (void (*)(void *, struct wl_registry *, uint32_t))noop,
};
void wd_add_output_management_listener(struct wd_state *state, struct
@@ -603,10 +603,10 @@ static void output_name(void *data, struct zxdg_output_v1 *zxdg_output_v1,
static const struct zxdg_output_v1_listener output_listener = {
.logical_position = output_logical_position,
.logical_size = noop,
.done = noop,
.logical_size = (void (*)(void *, struct zxdg_output_v1 *, int32_t, int32_t))noop,
.done = (void (*)(void *, struct zxdg_output_v1 *))noop,
.name = output_name,
.description = noop
.description = (void (*)(void *, struct zxdg_output_v1 *, const char *))noop
};
void wd_add_output(struct wd_state *state, struct wl_output *wl_output,