Skip to contentSkip to conversation

64bit-portability-issue

Powertop denisart benjamin2 2 participants 2 messages Dec 28, 2013 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

denisart benjamin2

author
#1 lore raw

Hello everyone,

I'm a openSUSE maintainer and I have an issue with powertop 2.5 about implicit implementation, classic stdio.h,... Obviously, I tried to patch event-parce.c but it doesn't work

I: Program is using implicit definitions of functions getting
pointers or implemented by macros. These functions need to use their correct prototypes to allow correct argument passing on e.g. x86_64 .
- Implicit memory/string functions need #include <string.h>.
- Implicit *printf functions need #include <stdio.h>.
- Implicit *printf functions need #include <stdio.h>.
- Implicit *read* functions need #include <unistd.h>.
- Implicit *recv* functions need #include <sys/socket.h>.
W: powertop implicit-pointer-decl event-parse.c:856
E: powertop 64bit-portability-issue event-parse.c:5120

Have a nice day

Benjamin

#2 lore raw
Quoted 7 lines · On 12/28/2013 2:52 PM, denisart benjamin2 wrote:

Hello everyone,

I'm a openSUSE maintainer and I have an issue with powertop 2.5 about implicit implementation, classic stdio.h,... Obviously, I tried to patch event-parce.c but it doesn't work

Quoted 11 lines

I: Program is using implicit definitions of functions getting
pointers or implemented by macros. These functions need to use their correct prototypes to allow correct argument passing on e.g. x86_64 .
- Implicit memory/string functions need #include <string.h>.
- Implicit *printf functions need #include <stdio.h>.
- Implicit *printf functions need #include <stdio.h>.
- Implicit *read* functions need #include <unistd.h>.
- Implicit *recv* functions need #include <sys/socket.h>.
W: powertop implicit-pointer-decl event-parse.c:856
E: powertop 64bit-portability-issue event-parse.c:5120

adding Steve since this is his upstream code...

btw this code will be a standalone upstream library very soon... ... I assume OpenSUSE will include this library ?