Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Alex Rhomberg <rhomberg@ife.ee.ethz.ch>
Subject: Re: Cxx Compile error
Date: 2000/04/27	[thread overview]
Message-ID: <39084E01.58268A51@ife.ee.ethz.ch> (raw)
In-Reply-To: 390842CE.883F7D47@hccnet.nl

bubble wrote:

> > cxx: Error: Icon.cc, line 137: identifier "strcmp" is undefined
> >         if (strcmp(name, "Unnamed")) {
> > ____________^

> So am i to conclude that something needs to be defined for strcmp
> aswell?
> If so what would that be?

In such a case, you consult the manpage for strcmp:
man strcmp
It says:

       #include <string.h>

       int strcmp(const char *s1, const char *s2);

Make sure that string.h is included somewhere.

- Alex



  reply	other threads:[~2000-04-27  4:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-27  4:00 Cxx Compile error bubble
2000-04-27  4:00 ` bubble
2000-04-27  4:00 ` Martin Sinot
2000-04-27  4:00   ` bubble
2000-04-27  4:00 ` bubble
2000-04-27  4:00   ` Alex Rhomberg [this message]
2000-04-27  4:00   ` Aaron Sawyer
2000-04-27  4:00     ` bubble
2000-04-27  4:00       ` Tony Hammitt
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox