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:
<https://en.cppreference.com/w/c/experimental/dynamic>.

The 'correct' way to get it is:

 #ifdef __STDC_ALLOC_LIB__
 #define __STDC_WANT_LIB_EXT2__ 1
 #else
 #define _POSIX_C_SOURCE 200809L
 #endif
 #include <string.h>
 ...


Regards,
Clemens
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to