Returning NULL in C++ is not standard, and errors when compiled with Clang. Should use nullptr_t instead. Reproducible: Always
Created attachment 844291 [details] emerge --info gimp
Created attachment 844293 [details] build.log
file-dicom.c:605:26: error: incompatible pointer to integer conversion returning 'void *' from a function with result type 'gint32' (aka 'int') [-Wint-conversion] return NULL;
This issue is duplicate of https://bugs.gentoo.org/875413
*** This bug has been marked as a duplicate of bug 875413 ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54018acedbe26b1cce4de7afe5b91638aeec64a9 commit 54018acedbe26b1cce4de7afe5b91638aeec64a9 Author: Mazunki Hoksaas <rolferen@gmail.com> AuthorDate: 2022-12-21 06:46:45 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-12-24 07:02:19 +0000 media-gfx/gimp: added patch to use nullptr Closes: https://bugs.gentoo.org/887587 Closes: https://bugs.gentoo.org/875413 Signed-off-by: Mazunki Hoksaas <rolferen@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/28727 Signed-off-by: Sam James <sam@gentoo.org> .../gimp-2.10_fix_file-dicom-return-value.patch | 15 ++ media-gfx/gimp/gimp-2.10.32-r4.ebuild | 213 +++++++++++++++++++++ 2 files changed, 228 insertions(+)