Source: perl
Version: 5.14.0-1
Severity: important

As discussed in
<http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2011-05/msg01275.html>

perl 5.14 triggers some compiler warnings which are sometimes converted
into errors. For example in linux-2.6:

gcc -o util/scripting-engines/trace-event-perl.o -c -fno-omit-frame-pointer 
-ggdb3 -Wall -Wextra -std=gnu99 -Werror -O6 -D_FORTIFY_SOURCE=2 -Wformat 
-Wformat-security -Wformat-y2k -Wshadow -Winit-self -Wpacked -Wredundant-decls 
-Wstrict-aliasing=3 -Wswitch-default -Wswitch-enum -Wno-system-headers -Wundef 
-Wwrite-strings -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes 
-Wnested-externs -Wold-style-definition -Wstrict-prototypes 
-Wdeclaration-after-statement  -fstack-protector-all -Wstack-protector 
-Wvolatile-register-var -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 
-Iutil/include -Iarch/x86/include -DLIBELF_NO_MMAP -DDWARF_SUPPORT 
-I/usr/include/slang -DHAVE_CPLUS_DEMANGLE -DNO_STRLCPY 
-DSHA1_HEADER='<openssl/sha.h>'   `perl -MExtUtils::Embed -e ccopts 
2>/dev/null` -Wno-redundant-decls -Wno-strict-prototypes -Wno-unused-parameter 
-Wno-shadow util/scripting-engines/trace-event-perl.c
In file included from /usr/lib/perl/5.14/CORE/perl.h:3443:0,
                 from util/scripting-engines/trace-event-perl.c:33:
/usr/lib/perl/5.14/CORE/regexp.h: In function 'get_regex_charset_name':
/usr/lib/perl/5.14/CORE/regexp.h:318:5: error: switch missing default case 
[-Werror=switch-default]
cc1: all warnings being treated as errors

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to