public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: TEST RELEASE: Cygwin 1.7.33-0.1
       [not found] <20141022092323.GH32374@calimero.vinschen.de>
@ 2014-10-23 14:10 ` Jim Reisert AD1C
  2014-10-23 14:14   ` Eric Blake
  2014-10-23 16:44   ` Jim Reisert AD1C
  0 siblings, 2 replies; 5+ messages in thread
From: Jim Reisert AD1C @ 2014-10-23 14:10 UTC (permalink / raw)
  To: The Cygwin Mailing List

Apparently stricmp() is no longer in the library:

ClubLog.cpp:593:34: error: 'stricmp' was not declared in this scope
         if (!stricmp(field,"call")) {

I realize that stricmp() is non-standard.  Is this going to be the
situation going forward with 1.7.33+?  If so, what's the best
workaround?

Thanks - Jim

-- 
Jim Reisert AD1C, <jjreisert@alum.mit.edu>, http://www.ad1c.us

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: TEST RELEASE: Cygwin 1.7.33-0.1
  2014-10-23 14:10 ` TEST RELEASE: Cygwin 1.7.33-0.1 Jim Reisert AD1C
@ 2014-10-23 14:14   ` Eric Blake
  2014-10-23 15:36     ` Corinna Vinschen
  2014-10-23 16:44   ` Jim Reisert AD1C
  1 sibling, 1 reply; 5+ messages in thread
From: Eric Blake @ 2014-10-23 14:14 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 543 bytes --]

On 10/23/2014 08:10 AM, Jim Reisert AD1C wrote:
> Apparently stricmp() is no longer in the library:
> 
> ClubLog.cpp:593:34: error: 'stricmp' was not declared in this scope
>          if (!stricmp(field,"call")) {
> 
> I realize that stricmp() is non-standard.  Is this going to be the
> situation going forward with 1.7.33+?  If so, what's the best
> workaround?

Use the standard strcasecmp() from <strings.h> instead.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 539 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: TEST RELEASE: Cygwin 1.7.33-0.1
  2014-10-23 14:14   ` Eric Blake
@ 2014-10-23 15:36     ` Corinna Vinschen
  2014-10-23 15:40       ` Corinna Vinschen
  0 siblings, 1 reply; 5+ messages in thread
From: Corinna Vinschen @ 2014-10-23 15:36 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 661 bytes --]

On Oct 23 08:14, Eric Blake wrote:
> On 10/23/2014 08:10 AM, Jim Reisert AD1C wrote:
> > Apparently stricmp() is no longer in the library:
> > 
> > ClubLog.cpp:593:34: error: 'stricmp' was not declared in this scope
> >          if (!stricmp(field,"call")) {
> > 
> > I realize that stricmp() is non-standard.  Is this going to be the
> > situation going forward with 1.7.33+?  If so, what's the best
> > workaround?
> 
> Use the standard strcasecmp() from <strings.h> instead.

ACK.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: TEST RELEASE: Cygwin 1.7.33-0.1
  2014-10-23 15:36     ` Corinna Vinschen
@ 2014-10-23 15:40       ` Corinna Vinschen
  0 siblings, 0 replies; 5+ messages in thread
From: Corinna Vinschen @ 2014-10-23 15:40 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 963 bytes --]

On Oct 23 17:36, Corinna Vinschen wrote:
> On Oct 23 08:14, Eric Blake wrote:
> > On 10/23/2014 08:10 AM, Jim Reisert AD1C wrote:
> > > Apparently stricmp() is no longer in the library:
> > > 
> > > ClubLog.cpp:593:34: error: 'stricmp' was not declared in this scope
> > >          if (!stricmp(field,"call")) {
> > > 
> > > I realize that stricmp() is non-standard.  Is this going to be the
> > > situation going forward with 1.7.33+?  If so, what's the best
> > > workaround?
> > 
> > Use the standard strcasecmp() from <strings.h> instead.
> 
> ACK.

More exact:  stricmp is still available as exported symbol, and it will
be available for a long time, to make sure existing executables continue
to run.  stricmp will just not be provided by the standard header files
anymore.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: TEST RELEASE: Cygwin 1.7.33-0.1
  2014-10-23 14:10 ` TEST RELEASE: Cygwin 1.7.33-0.1 Jim Reisert AD1C
  2014-10-23 14:14   ` Eric Blake
@ 2014-10-23 16:44   ` Jim Reisert AD1C
  1 sibling, 0 replies; 5+ messages in thread
From: Jim Reisert AD1C @ 2014-10-23 16:44 UTC (permalink / raw)
  To: The Cygwin Mailing List

> More exact:  stricmp is still available as exported symbol, and it will
> be available for a long time, to make sure existing executables continue
> to run.  stricmp will just not be provided by the standard header files
> anymore.

Thanks, Corinna!  I'll use strcasecmp() from now on.

-- 
Jim Reisert AD1C, <jjreisert@alum.mit.edu>, http://www.ad1c.us

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-10-23 16:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20141022092323.GH32374@calimero.vinschen.de>
2014-10-23 14:10 ` TEST RELEASE: Cygwin 1.7.33-0.1 Jim Reisert AD1C
2014-10-23 14:14   ` Eric Blake
2014-10-23 15:36     ` Corinna Vinschen
2014-10-23 15:40       ` Corinna Vinschen
2014-10-23 16:44   ` Jim Reisert AD1C

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).