Describe the bug
Building ProtonPlus 0.5.17 from source triggers multiple compiler warnings about incompatible pointer types during the native build.
The application still builds successfully, but these warnings may indicate real type mismatches in the generated or project C code.
To Reproduce
- Build ProtonPlus 0.5.17 from source
- Observe the compiler warnings during compilation
Expected behavior
The project should build without incompatible-pointer-type warnings.
Actual behavior
The build succeeds, but emits warnings such as:
src/protonplus.p/widgets/application.c:395:84: warning: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
src/protonplus.p/widgets/application.c:402:91: warning: passing argument 3 of ‘gtk_application_set_accels_for_action’ from incompatible pointer type [-Wincompatible-pointer-types]
src/protonplus.p/widgets/preferences/theme-row.c:531:33: warning: passing argument 1 of ‘gtk_expression_unref’ from incompatible pointer type [-Wincompatible-pointer-types]
src/protonplus.p/widgets/runners/runner-group.c:599:33: warning: passing argument 2 of ‘g_list_foreach’ from incompatible pointer type [-Wincompatible-pointer-types]
src/protonplus.p/widgets/games/games-box.c:752:43: warning: passing argument 1 of ‘gtk_expression_unref’ from incompatible pointer type [-Wincompatible-pointer-types]
src/protonplus.p/widgets/games/games-box.c:1559:59: warning: passing argument 2 of ‘gtk_widget_set_css_classes’ from incompatible pointer type [-Wincompatible-pointer-types]
src/protonplus.p/widgets/games/games-box.c:1765:43: warning: passing argument 1 of ‘gtk_expression_unref’ from incompatible pointer type [-Wincompatible-pointer-types]
src/protonplus.p/widgets/games/mass-edit-button.c:383:43: warning: passing argument 1 of ‘gtk_expression_unref’ from incompatible pointer type [-Wincompatible-pointer-types]
src/protonplus.p/widgets/games/mass-edit-button.c:475:43: warning: passing argument 1 of ‘gtk_expression_unref’ from incompatible pointer type [-Wincompatible-pointer-types]
src/protonplus.p/widgets/games/default-tool-dialog.c:462:33: warning: passing argument 1 of ‘gtk_expression_unref’ from incompatible pointer type [-Wincompatible-pointer-types]
src/protonplus.p/models/launcher.c:1688:42: warning: passing argument 2 of ‘g_list_foreach’ from incompatible pointer type [-Wincompatible-pointer-types]
src/protonplus.p/models/vdf/binary.c:1130:25: warning: assignment to ‘gchar **’ {aka ‘char **’} from incompatible pointer type ‘void **’ [-Wincompatible-pointer-types]
src/protonplus.p/utils/filesystem.c:827:63: warning: passing argument 2 of ‘archive_read_data_block’ from incompatible pointer type [-Wincompatible-pointer-types]
src/protonplus.p/utils/filesystem.c:1083:53: warning: passing argument 3 of ‘g_file_load_contents’ from incompatible pointer type [-Wincompatible-pointer-types]
Environment
- ProtonPlus version: 0.5.17
- Distribution: Gentoo Linux
- Build method: native build with Meson
Additional context
The package builds and starts successfully, but these warnings were flagged during package maintainer testing and seem worth reporting upstream.
Describe the bug
Building ProtonPlus 0.5.17 from source triggers multiple compiler warnings about incompatible pointer types during the native build.
The application still builds successfully, but these warnings may indicate real type mismatches in the generated or project C code.
To Reproduce
Expected behavior
The project should build without incompatible-pointer-type warnings.
Actual behavior
The build succeeds, but emits warnings such as:
Environment
Additional context
The package builds and starts successfully, but these warnings were flagged during package maintainer testing and seem worth reporting upstream.