Hi guys:
I got a program from a developer. My main problem is that the code is in C and I been trying to compile it, but it keeps me giving errors, well mainly warning, but some of them I am not sure what they mean and/or how to fix them. Here is what I get get from the compile. The codes that are in bold are the ones I am having problems with. I can send you the files that are related to the errors if you need them, but since they are many and maybe some of the problems are common I have not include them here. I appreciate the help,
Gus
% ./install.csh >> read.list
[B]max.c: In function 'max':
max.c:115: warning: too few arguments for format[/B]
[B]newbincross2.c: In function 'main':
newbincross2.c:191: warning: format '%i' expects type 'int', but argument 3 has type 'long int'
newbincross2.c:191: warning: format '%i' expects type 'int', but argument 5 has type 'long int'[/B]
ludcmp.c: In function 'ludcmp':
ludcmp.c:16: warning: incompatible implicit declaration of built-in function 'malloc'
[B]get_index.c: In function 'get_index':
get_index.c:13: warning: incompatible implicit declaration of built-in function 'strlen'[/B]
get_index.c: In function 'get_index':
get_index.c:13: warning: incompatible implicit declaration of built-in function 'strlen'
get_index.c: In function 'get_index':
get_index.c:13: warning: incompatible implicit declaration of built-in function 'strlen'
get_index.c: In function 'get_index':
get_index.c:13: warning: incompatible implicit declaration of built-in function 'strlen'
main.c: In function 'main':
main.c:72: warning: incompatible implicit declaration of built-in function 'malloc'
main.c:72: warning: incompatible implicit declaration of built-in function 'exit'
main.c:77: warning: incompatible implicit declaration of built-in function 'exit'
rm: No match.
[B]hist2.c: In function 'main':
hist2.c:39: warning: format not a string literal and no format argument[/B]s
hist2.c:41: warning: format not a string literal and no format arguments
hist2.c:49: warning: incompatible implicit declaration of built-in function 'exit'
hist2.c:101: warning: incompatible implicit declaration of built-in function 'malloc'
utilities.c: In function 'allocate':
utilities.c:100: warning: incompatible implicit declaration of built-in function 'malloc'
gcardonav@roam-167-232.bgsu.edu%