This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: strcasestr not found


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@cygwin.com [mailto:cygwin-owner@cygwin.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@optushome.com.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]