I have written a big program.. In it i have this line of code
line 569 :
I tired compiling my program in unix using a make file.
my makefile is
where fileADT.c is the codes for the program. main.c is like a driver program. and the run is the command /object file that runs the program.
all: main.o FileADT.o
gcc -o run main.o FileADT.o
FileADT.o: FileADT.c FileADT.h
gcc -Wall -ansi -pedantic -c FileADT.c
main.o: main.c FileADT.h
gcc -Wall -ansi -pedantic -c main.c
rm FileADT.o main.o
The FileADT.h,header file had the following
when i compile in unix using make, i get this error:
#include <stdlib.h> #include <string.h> #include <stdio.h>
line 569: warning: implicit declaration of 'isascii'
i suspect i have missed out something in the header file or in the make file. Would be great if someone can help.
Wanting to just get rid of that warning and wonder if some1 can spot the BUG.
The whole file is here
it can run in unix enviorment.type make to compile
and type 'run input output' to execute the program.