cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Ray Satiro via curl-library <curl-library_at_cool.haxx.se>
Date: Sat, 6 Feb 2016 18:06:08 -0500

On 2/6/2016 5:29 AM, 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()

Thanks, landed in https://github.com/curl/curl/commit/6f702eb

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