Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the devel-nytprof CPAN distribution.

Report information
The Basics
Id: 103107
Status: resolved
Priority: 0/
Queue: devel-nytprof

People
Owner: Nobody in particular
Requestors: zefram [...] fysh.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: C compile warnings
Date: Wed, 25 Mar 2015 12:04:11 +0000
To: bug-Devel-NYTProf [...] rt.cpan.org
From: Zefram <zefram [...] fysh.org>
cc -c -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -ggdb -O3 -fbranch-target-load-optimize -fgcse-las -fgcse-sm -fipa-pta -floop-block -floop-interchange -floop-strip-mine -fmodulo-sched -fomit-frame-pointer -freorder-blocks-and-partition -fsched-spec-load -fsched-spec-load-dangerous -ftree-loop-distribution -DVERSION=\"5.07\" -DXS_VERSION=\"5.07\" -fPIC -O3 -pipe "-I/opt/perl-5.20.2/lib/5.20.2/x86_64-linux-ld/CORE" -DHAS_CLOCK_GETTIME -DHAS_ZLIB -W -Wall -Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare -Wno-cast-qual -Wmissing-noreturn -Wno-unused-parameter NYTProf.c NYTProf.c: In function 'XS_Devel__NYTProf__Test_example_xsub': NYTProf.c:5319:15: warning: variable 'unused' set but not used [-Wunused-but-set-variable] NYTProf.c: At top level: NYTProf.xs:378:14: warning: 'time_hires_u2time_hook' defined but not used [-Wunused-variable] NYTProf.xs:1170:1: warning: 'get_str_id' defined but not used [-Wunused-function] Attached patch fixes. -zefram

Message body is not shown because sender requested not to inline it.

Applied (though I kept get_str_id() and added a comment). Thanks!