Just a gentle reminder, that zero compilation warnings is the PCP goal.
These ones seem to have crept in recently (and yes I know one is in papi.h, not
the PCP code, but even so, someone should be fixing it) ...
=== linux_proc ===
...
cgroups.c: In function âread_blkio_devices_statsâ:
cgroups.c:744:16: warning: variable âresultâ set but not used
[-Wunused-but-set-variable]
__uint64_t result = 0;
^
papi.c: In function âpapi_internal_initâ:
papi.c:661:5: warning: statement with no effect [-Wunused-value]
for (component_id; component_id < number_of_components; component_id++) {
^
papi.c:667:2: warning: pointer targets in passing argument 1 of
âPAPI_enum_cmp_eventâ differ in signedness [-Wpointer-sign]
sts = PAPI_enum_cmp_event (&native, PAPI_ENUM_FIRST, component_id);
^
In file included from papi.c:21:0:
/usr/include/papi.h:1030:10: note: expected âint *â but argument is of type
âunsigned int *â
int PAPI_enum_cmp_event(int *EventCode, int modifier, int cidx); /**<
return the event code for the next available component event */
^
|