delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/09/12:14:31

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Robert Mark Bram" <relaxedrob AT optushome DOT com DOT au>
To: "Nicholas Wourms" <nwourms AT yahoo DOT com>, "Cygwin" <cygwin AT cygwin DOT com>
Subject: RE: strcasestr not found
Date: Mon, 10 Jun 2002 02:13:46 +1000
Message-ID: <AHENJAAPGAHKCFPLDPOJOEDJCHAA.relaxedrob@optushome.com.au>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
In-Reply-To: <20020609134414.95820.qmail@web21010.mail.yahoo.com>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

Howdy Nicholas!

Please excuse my ignorance!

I downloaded the c and h file, put them in a directory (not /usr/include)
and tried to compile strlib.c.

I got a huuuuge list of errors.. Selected highlights from the 54k output
file (I redirected error output)..


In file included from strlib.h:146,
                 from strlib.h:146,
                 from strlib.h:146,
                 from strlib.h:146,
                 from strlib.h:146,
                 from strlib.h:146,

strlib.h:146: macro or `#include' recursion too deep

In file included from strlib.h:147,
                 from strlib.h:146,


Cold this be because some functions in the h file are overiding others?

Rob
:)


> -----Original Message-----
> From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com]On Behalf
> Of Nicholas Wourms
> Sent: Sunday, 9 June 2002 11:44 PM
> To: Robert Mark Bram; Cygwin
> Subject: Re: strcasestr not found
>
>
> Hi,
>
> I found an interesting implimentation of some string functions on the web,
> which included a dropin strcasestr.  Perhaps you can use it?  Go to:
>
> http://primates.ximian.com/~fejj/strlib.c
> http://primates.ximian.com/~fejj/strlib.h
>
> If you are feeling *really* bold, you could download the cygwin source
> code from cvs and add this function to
> <download-dir>/src/newlib/libc/string/strcasestr.c.  Then recompile cygwin
> (which will recompile newlib) and post a patch if it works.
>
> Cheers,
> Nicholas
>
> --- Robert Mark Bram <relaxedrob AT optushome DOT com DOT au> wrote:
> > Howdy all!
> >
> > I have some C code that uses a function called "strcasestr". It isn't
> > compiling because it doesn't seem the function exists within Cygwin's C
> > library. Is there a replacement method or an additional library I could
> > use
> > for this?
> >
> > Thanks!
> >
> > Rob
> >
> > :)
> > :-}
> > ;->
> >
> >
> > --
> > Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> > Bug reporting:         http://cygwin.com/bugs.html
> > Documentation:         http://cygwin.com/docs.html
> > FAQ:                   http://cygwin.com/faq/
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019