From: "Tanes Sriviroolchai" Subject: Re: strcmp: "makes pointer from integer without a cast" References: <3 DOT 0 DOT 5 DOT 32 DOT 19980426151354 DOT 007c65b0 AT 200 DOT 252 DOT 238 DOT 1> Organization: NCR (Thailand) Message-ID: <01bd7183$2b0a6d40$ad887fc0@tanes> Newsgroups: comp.os.msdos.djgpp Date: Sun, 26 Apr 1998 22:07:14 -0400 Lines: 11 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Add line #include at the first line of your code (before main(...)). Tanes Sriviroolchai Thiago F.G. Albuquerque wrote in article <3 DOT 0 DOT 5 DOT 32 DOT 19980426151354 DOT 007c65b0 AT 200 DOT 252 DOT 238 DOT 1>... > { > if (strcmp(strupr(argv[1]),"/H")==0) > { > > The compiler (gcc) gives this "Warning: passing arg 1 of `strcmp' makes > pointer from integer without a cast." >