-
Notifications
You must be signed in to change notification settings - Fork 16
Closed
Description
Compilation in Visual Studio 2022 gives this warning:
warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strdup.
The warning can be removed by adding the line
#define strdup _strdup
to this section of code:
Lines 8 to 12 in e44a499
| #ifdef _MSC_VER | |
| #define strcasecmp _stricmp | |
| #define min(a,b) (((a)<(b))?(a):(b)) | |
| #endif | |
Metadata
Metadata
Assignees
Labels
No labels