From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,a4a4244d855fba97 X-Google-Attributes: gid111c93,public From: bubble Subject: Re: Cxx Compile error Date: 2000/04/27 Message-ID: <390842CE.883F7D47@hccnet.nl>#1/1 X-Deja-AN: 616341814 Content-Transfer-Encoding: 7bit References: <3908283E.B2CB22A4@hccnet.nl> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@hccnet.nl X-Trace: news.hccnet.nl 956842976 9494 193.173.112.35 (27 Apr 2000 13:42:56 GMT) Organization: Hobby Computer Club News Network Mime-Version: 1.0 Reply-To: Xperience@cyberjunkie.com NNTP-Posting-Date: 27 Apr 2000 13:42:56 GMT Newsgroups: comp.os.linux.alpha bubble wrote: > > Hi there, > > I was trying to compile blackbox using cxx from compaq. > All was going well until the compiler hit Icon.cc where it gave the > following error: > > cxx: Error: Icon.cc, line 137: identifier "strcmp" is undefined > if (strcmp(name, "Unnamed")) { > ____________^ > > could comeone xplain why the identifier is undefined, > and strcmp is a function or am I really mistaken. > Keep in mind I am a novice at C. > > Thanks for your trouble > > Jigal Some additional info, taken from compaq c++ portining note's: "compiler strictly enforces the requirement to define functions before they are used. This requirement also applies to built-in functions such as 'strlen' . So am i to conclude that something needs to be defined for strcmp aswell? If so what would that be? Thanks again Jigal