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

Bug 282084

Summary: dev-lang/perl-5.8.8-r5 redundant redeclaration in CORE/proto.h
Product: Gentoo Linux Reporter: David van Laatum <david>
Component: Current packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED NEEDINFO    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description David van Laatum 2009-08-20 10:40:17 UTC
g++ -g -MD -MP -Wall -O -Wuninitialized -Wunused -pedantic -Wformat -Winit-self -Wreturn-type -Wswitch-enum -Wunused -Wuninitialized -Wfloat-equal -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Wredundant-decls -Wno-long-long -I /usr/local/include/ -DHAVE_SENDFILE -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/lib/perl5/5.8.8/i486-linux/CORE -DHAS_SETRESUID_PROTO -DHAS_SETRESGID_PROTO   -c -o perlinit.o perlinit.cpp
In file included from /usr/lib/perl5/5.8.8/i486-linux/CORE/perl.h:3950,
                 from perlinit.cpp:2:
/usr/lib/perl5/5.8.8/i486-linux/CORE/proto.h:1289: warning: redundant redeclaration of 'UV Perl_utf8n_to_uvuni(U8*, STRLEN, STRLEN*, U32)' in same scope
/usr/lib/perl5/5.8.8/i486-linux/CORE/proto.h:1288: warning: previous declaration of 'UV Perl_utf8n_to_uvuni(U8*, STRLEN, STRLEN*, U32)'
/usr/lib/perl5/5.8.8/i486-linux/CORE/proto.h:1291: warning: redundant redeclaration of 'U8* Perl_uvuni_to_utf8(U8*, UV)' in same scope
/usr/lib/perl5/5.8.8/i486-linux/CORE/proto.h:1290: warning: previous declaration of 'U8* Perl_uvuni_to_utf8(U8*, UV)'

maybe just include #pragma GCC system_header in /usr/lib/perl5/5.8.8/i486-linux/CORE/perl.h? (thats what I am doing to get rid of the warnings)

Reproducible: Always
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2011-02-27 09:54:43 UTC
I don't know what to do with this report. Need more info.