Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 859223 Details for
Bug 902483
media-libs/netpbm-11.1.1: -Wreturn-type warnings
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
fix the warnings
netpbm-11.2.0-return-type-warnings.patch (text/plain), 1.27 KB, created by
Viorel Munteanu
on 2023-03-29 05:56:01 UTC
(
hide
)
Description:
fix the warnings
Filename:
MIME Type:
Creator:
Viorel Munteanu
Created:
2023-03-29 05:56:01 UTC
Size:
1.27 KB
patch
obsolete
>Fix -Werror=return-type errors. > >See also https://bugs.gentoo.org/902483 > >--- a/converter/other/pngx.c 2023-03-25 02:45:40.000000000 +0200 >+++ b/converter/other/pngx.c 2023-03-29 08:34:23.567786499 +0300 >@@ -368,6 +368,7 @@ > case PNGX_ABSOLUTE_COLORIMETRIC: return "ABSOLUTE_COLORIMETRIC"; > } > assert(false); >+ abort(); > } > > >@@ -383,6 +384,7 @@ > } > > assert(false); /* All cases above return */ >+ abort(); > } > > >--- a/editor/pamcat.c 2022-12-31 02:32:37.000000000 +0200 >+++ b/editor/pamcat.c 2023-03-29 08:34:45.781144204 +0300 >@@ -1211,6 +1211,7 @@ > case JUST_CENTER: return (outpamP->width - inpamP->width) / 2; > } > assert(false); >+ abort(); > } > > >--- a/lib/libpm.c 2021-12-27 19:33:56.000000000 +0200 >+++ b/lib/libpm.c 2023-03-29 08:32:36.504335698 +0300 >@@ -92,6 +92,7 @@ > > > void >+_Noreturn > pm_longjmp(void) { > > if (pm_jmpbufP) >@@ -259,6 +260,7 @@ > > > void PM_GNU_PRINTF_ATTR(1,2) >+_Noreturn > pm_error(const char format[], ...) { > va_list args; > const char * msg; >--- a/lib/libpnm3.c 2022-09-28 05:22:32.000000000 +0300 >+++ b/lib/libpnm3.c 2023-03-29 08:33:31.884396460 +0300 >@@ -433,6 +433,7 @@ > case PBM_WHITE: return pnm_whitexel(maxval, PBM_TYPE); break; > default: > assert(false); >+ abort(); > } > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 902483
:
858499
|
859223
|
859309