warning: incompatible implicit declaration of built-in function 'malloc'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



can somebody please explain why I'm getting this warning?
warning: incompatible implicit declaration of built-in function 'malloc'

char *returnval = 0;
long outputBytes = 0;
... outputBytes gets changed and tested to ensure it's valid (non zero) ...

the offending line is here.
returnval = (char *) malloc(outputBytes + 2);



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux