Re: [sqlite] SQLITE 3.26.0 compiler warning

2019-01-22 Thread Clemens Ladisch
Gary Sanders wrote: > shell.c(16466): warning C4996: 'strdup': The POSIX name for this item is > deprecated. strdup() is now in the dynamic memory TR: . The 'correct' way to get it is: #ifdef __STDC_ALLOC_LIB__ #define

[sqlite] SQLITE 3.26.0 compiler warning

2019-01-22 Thread Gary Sanders
When compiling the SQLITE 3.26.0 amalgamation in a C++ project for a Windows build, receive the following compiler warning: shell.c(16466): warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strdup. See online help for details.