Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 519490

Summary: dev-libs/libgpg-error-1.13 - .../work/libgpg-error-1.13/tests/t-lock.c: In function ‘main’: warning: implicit declaration of function ‘getpid’ // warning: ‘i’ may be used uninitialized in this function
Product: Gentoo Linux Reporter: Jeroen Roovers (RETIRED) <jer>
Component: [OLD] LibraryAssignee: Crypto team [DISABLED] <crypto+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: alonbl
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugs.g10code.com/gnupg/issue1681
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: libgpg-error-1.13-t-lock.patch

Description Jeroen Roovers (RETIRED) gentoo-dev 2014-08-09 11:50:53 UTC
Created attachment 382580 [details, diff]
libgpg-error-1.13-t-lock.patch

/home/jer/portage/dev-libs/libgpg-error-1.13/work/libgpg-error-1.13/tests/t-lock.c: In function ‘main’:
/home/jer/portage/dev-libs/libgpg-error-1.13/work/libgpg-error-1.13/tests/t-lock.c:296:3: warning: implicit declaration of function ‘getpid’ [-Wimplicit-function-declaration]
/home/jer/portage/dev-libs/libgpg-error-1.13/work/libgpg-error-1.13/tests/t-lock.c: In function ‘revision_thread’:
/home/jer/portage/dev-libs/libgpg-error-1.13/work/libgpg-error-1.13/tests/t-lock.c:149:10: warning: ‘i’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2014-08-09 18:10:54 UTC
thanks, opened upstream bug.
Comment 3 Alon Bar-Lev (RETIRED) gentoo-dev 2014-12-30 10:54:52 UTC
should be applied by now.