Summary: | dev-util/geany-plugins-2.0 - prjorg-sidebar.c: error: returning void from a function with incompatible return type gchar {aka char } [-Wincompatible-p | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Chris Mayo <aklhfex> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aklhfex |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/geany/geany-plugins/issues/1297 | ||
See Also: |
https://github.com/geany/geany-plugins/issues/1297 https://github.com/geany/geany-plugins/pull/1298 https://github.com/gentoo/gentoo/pull/34823 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 870412 | ||
Attachments: |
emerge-info.txt
dev-util:geany-plugins-2.0:20231208-022853.log.xz emerge-history.txt.xz environment etc.clang.tar.xz etc.portage.tar.xz logs.tar.xz qlist-info.txt.xz temp.tar.xz casts the return value to gchar** |
Description
Toralf Förster
2023-12-08 09:54:10 UTC
Created attachment 878225 [details]
emerge-info.txt
Created attachment 878226 [details]
dev-util:geany-plugins-2.0:20231208-022853.log.xz
Created attachment 878227 [details]
emerge-history.txt.xz
Created attachment 878228 [details]
environment
Created attachment 878229 [details]
etc.clang.tar.xz
Created attachment 878230 [details]
etc.portage.tar.xz
Created attachment 878231 [details]
logs.tar.xz
Created attachment 878232 [details]
qlist-info.txt.xz
Created attachment 878233 [details]
temp.tar.xz
Created attachment 878575 [details, diff]
casts the return value to gchar**
They do the same with casting the function at line 903 in pohelper/src/gph-plugin.c so I'm assuming they just forgot to do the same here.
Thanks for the patch and submitting it upstream. I was waiting to see if it got merged, and even if there was a 2.0.1 release (tagged on another PR). Let's not wait any longer. The patch is small and as mentioned repeats code already used. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=719ff4568b6095efcb81a655c6ee6e1e98a7eac1 commit 719ff4568b6095efcb81a655c6ee6e1e98a7eac1 Author: Chris Mayo <aklhfex@gmail.com> AuthorDate: 2024-01-15 19:20:03 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-01-17 05:44:20 +0000 dev-util/geany-plugins: GCC 14 compatibility Closes: https://bugs.gentoo.org/919446 Signed-off-by: Chris Mayo <aklhfex@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/34823 Signed-off-by: Sam James <sam@gentoo.org> .../files/geany-plugins-2.0-gcc14.patch | 11 ++ dev-util/geany-plugins/geany-plugins-2.0-r1.ebuild | 127 +++++++++++++++++++++ 2 files changed, 138 insertions(+) |