We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I build noc_file_dialog with Visual Studio 2015 I get a compiler error about strdup() on line 181:
"The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strdup."
If I change strdup() to _strdup() it compiles fine.
The text was updated successfully, but these errors were encountered:
Thanks for the info. I think the proper fix would be to add something like:
#ifdef _MSC_VER #define strdup _strdup #endif
Sorry, something went wrong.
#define _CRT_NONSTDC_NO_DEPRECATE will get rid of the deprecation warnings too.
#define _CRT_NONSTDC_NO_DEPRECATE
--Tom
No branches or pull requests
When I build noc_file_dialog with Visual Studio 2015 I get a compiler error about strdup() on line 181:
"The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strdup."
If I change strdup() to _strdup() it compiles fine.
The text was updated successfully, but these errors were encountered: