I have an old C program (which I didn't write) which worked for me before on a machine I had using DJGPP with RHIDE under DOS.
The problem is, that since I've moved to a new machine, when I try and compile it, I get loads (100s) of "'variable' undeclared (first use in this function)"
warnings.
I don't have the time to go back over this and amend the code at the minute... is there a way to disable this warning and let me build?
Thanks for any help.
EDIT:
Sorry guys, this isn't my area at all. The following code:
char *sbname;
sbname = calloc (99, sizeof(char));
The second line produces an error of:
Error: 'sbname' undeclared (first use in this function)
This hadn't produced any errors on the last machine, so I assumed there is a setup issue.
Thanks