Buiding on openSUSE Build Service, implicit decl errors

Bug #787083 reported by malcolmlewis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Wizardpen
New
Undecided
Unassigned

Bug Description

Hi
Building fails rpm build checks with the following errors;

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: xorg-input-wizardpen implicit-pointer-decl calibrate/wizardpen-calibrate.c:61

I: Program is using implicit definitions of special functions.
   these functions need to use their correct prototypes to allow
   the lightweight buffer overflow checking to work.
     - 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>.
E: xorg-input-wizardpen implicit-fortify-decl calibrate/wizardpen-calibrate.c:74

The attached patch corrects the error.

Related branches

Revision history for this message
malcolmlewis (coyoteuser) wrote :
Revision history for this message
Martin Owens (doctormo) wrote :

Your patch has been applied, thank you.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.