cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [Patch] docs/examples/htmltitle.cpp

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Sat, 6 Feb 2016 11:42:15 +0100

On Sat, Feb 06, 2016 at 11:29:06AM +0100, Gisle Vanem wrote:
> Unless this example is compiled with '-D_CRT_NONSTDC_NO_WARNINGS',
> MSVC will warn on:
>
> htmltitle.cpp(153): warning C4996: 'stricmp': The POSIX name for this item is deprecated.
> Instead, use the ISO C and C++ conformant name: _stricmp. See online help for details.
> htmltitle.cpp(170): warning C4996: 'stricmp': The POSIX name for this item is deprecated.
> Instead, use the ISO C and C++ conformant name: _stricmp. See online help for details.
>
> So IMHO it's better to use _stricmp():

Is this symbol available in older versions of MSVC? At least as old as we still
support?

>>> Dan
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-02-06