[Bug 860130] New: Perl header file hv_func.h triggers a compiler warning
https://bugzilla.novell.com/show_bug.cgi?id=860130 https://bugzilla.novell.com/show_bug.cgi?id=860130#c0 Summary: Perl header file hv_func.h triggers a compiler warning Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: x86-64 OS/Version: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: bart@bartvanassche.be QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 . Reproducible: Always Steps to Reproduce: 1. Install the perl-5.18.1-2.1.11.x86_64 RPM 2. Download the Net-SNMP source code, e.g. as follows: git clone git://git.code.sf.net/p/net-snmp/code net-snmp cd net-snmp git checkout 1f4e9ae4f4dd2e46ac3d1ac2b032a3efcaea317e -b perl-header-test 3. Build the Net-SNMP source code, e.g. as follows: /configure --with-defaults make -s 2>&1 | tee make-output.txt Actual Results: [ ... ] libtool: compile: gcc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -fno-strict-aliasing -g -O2 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.18.1/x86_64-linux-thread-multi/CORE -Wall -Wstrict-prototypes -Wwrite-strings -Wcast-qual -c snmp_perl.c -fPIC -DPIC -o libs/snmp_perl.o In file included from /usr/lib/perl5/5.18.1/x86_64-linux-thread-multi/CORE/hv.h:592:0, from /usr/lib/perl5/5.18.1/x86_64-linux-thread-multi/CORE/perl.h:3480, from snmp_perl.c:6: /usr/lib/perl5/5.18.1/x86_64-linux-thread-multi/CORE/hv_func.h: In function 'S_perl_hash_siphash_2_4': /usr/lib/perl5/5.18.1/x86_64-linux-thread-multi/CORE/hv_func.h:201:17: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] U64TYPE k0 = ((U64TYPE*)seed)[0]; ^ /usr/lib/perl5/5.18.1/x86_64-linux-thread-multi/CORE/hv_func.h:202:17: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] U64TYPE k1 = ((U64TYPE*)seed)[1]; ^ [ ... ] Expected Results: No such compiler warnings. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=860130 https://bugzilla.novell.com/show_bug.cgi?id=860130#c1 --- Comment #1 from Bart Van Assche <bart@bartvanassche.be> 2014-01-23 16:51:27 UTC --- Created an attachment (id=575569) --> (http://bugzilla.novell.com/attachment.cgi?id=575569) Candidate fix. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=860130 https://bugzilla.novell.com/show_bug.cgi?id=860130#c Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bwiedemann@suse.com AssignedTo|bnc-team-screening@forge.pr |mls@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=860130 https://bugzilla.novell.com/show_bug.cgi?id=860130#c2 --- Comment #2 from Michael Schröder <mls@suse.com> 2014-02-10 12:33:01 UTC --- Shouldn't that be reported to upstream perl instead? I don't think I'll release an update for a c compiler warning. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com