| To: | Ken McDonell <kenj@xxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [pcp] compilation warnings |
| From: | Lukas Berk <lberk@xxxxxxxxxx> |
| Date: | Mon, 15 Dec 2014 13:22:52 -0500 |
| Cc: | PCP <pcp@xxxxxxxxxxx> |
| Delivered-to: | pcp@xxxxxxxxxxx |
| In-reply-to: | <548E7C90.9010507@xxxxxxxxxxxxxxxx> (Ken McDonell's message of "Mon, 15 Dec 2014 17:15:44 +1100") |
| References: | <548E7C90.9010507@xxxxxxxxxxxxxxxx> |
| User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Hi Ken,
Ken McDonell <kenj@xxxxxxxxxxxxxxxx> writes:
[...]
> 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 */
> ^
Thanks for catchings these! Fixes commited to lberk/dev on pcpfans.
Git commit 71e18417aa
Cheers,
Lukas
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [pcp] RFC pcp update: pmParseUnitsStr() function, Frank Ch. Eigler |
|---|---|
| Next by Date: | pcp updates: pmParseUnitsStr(3), Dave Brolley |
| Previous by Thread: | Re: [pcp] compilation warnings, Nathan Scott |
| Next by Thread: | Re: [pcp] compilation warnings, Ken McDonell |
| Indexes: | [Date] [Thread] [Top] [All Lists] |