[Goodies-dev] [Bug 4984] New: implicit declaration of malloc/realloc/calloc/free

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Mon Feb 23 22:24:32 CET 2009


http://bugzilla.xfce.org/show_bug.cgi?id=4984

           Summary: implicit declaration of malloc/realloc/calloc/free
           Product: Xfce Panel Plugins
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: cpugraph
        AssignedTo: goodies-dev at xfce.org
        ReportedBy: angelos at gentoo.org


* QA Notice: Package has poor programming practices which may compile
 *            fine but exhibit random runtime failures.
 * cpu.c:253: warning: incompatible implicit declaration of built-in function
'malloc'
 * cpu.c:1026: warning: incompatible implicit declaration of built-in function
'realloc'
 * os.c:20: warning: incompatible implicit declaration of built-in function
'free'
 * os.c:44: warning: incompatible implicit declaration of built-in function
'calloc'
 * os.c:123: warning: incompatible implicit declaration of built-in function
'free'
 * os.c:138: warning: incompatible implicit declaration of built-in function
'free'

missing #include <stdlib.h> in both

-- 
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Goodies-dev mailing list