Skip to content
New issue

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

Various Updates and Fixes for vs2017-windows branch. #20

Merged

Conversation

ChrisDrozdowski
Copy link

@ChrisDrozdowski ChrisDrozdowski commented May 24, 2019

Incorporates fix for Visual Studio 2017 reporting:
Error C4996 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strdup.

Uses _MSC_VER to identify Visual Studio compiler.

Also fixes compilation errors when windows.h is included before h5cpp/all. See issue: #21

Also properly implements _aligned_free for _aligned_alloc.

@ChrisDrozdowski ChrisDrozdowski changed the title Update H5Dwrite.hpp for vs2017 fix for strdup Error Update H5Dwrite.hpp for vs2017 fix for strdup Error and ECompiler Error when windows.h Included Prior to h5cpp/all Jun 9, 2019
@ChrisDrozdowski ChrisDrozdowski changed the title Update H5Dwrite.hpp for vs2017 fix for strdup Error and ECompiler Error when windows.h Included Prior to h5cpp/all Update H5Dwrite.hpp for vs2017 fix for strdup Error and Fix a Compilation Error when windows.h Included Prior to h5cpp/all Jun 9, 2019
@ChrisDrozdowski ChrisDrozdowski changed the title Update H5Dwrite.hpp for vs2017 fix for strdup Error and Fix a Compilation Error when windows.h Included Prior to h5cpp/all Update H5Dwrite.hpp for vs2017 fix for strdup compilation error and fix compilation errors when windows.h is included prior to h5cpp/all Jun 9, 2019
@ChrisDrozdowski ChrisDrozdowski changed the title Update H5Dwrite.hpp for vs2017 fix for strdup compilation error and fix compilation errors when windows.h is included prior to h5cpp/all Various Updates and Fixes for vs2017-windows branch. Jun 15, 2019
@steven-varga steven-varga merged commit 497e189 into steven-varga:vs2017-windows Jul 13, 2019
ChrisDrozdowski added a commit to ChrisDrozdowski/h5cpp that referenced this pull request Jul 15, 2019
Merge pull request steven-varga#20 from ChrisDrozdowski/vs2017-windows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants