Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Windows warnings #9

Merged
merged 5 commits into from
Oct 29, 2019
Merged

Windows warnings #9

merged 5 commits into from
Oct 29, 2019

Conversation

thewtex
Copy link
Member

@thewtex thewtex commented Sep 23, 2019

No description provided.

The latest elastix `develop` branch will throw a CMake configuration
error if BUILD_SHARED_LIBS was enabled.
d:\a\1\build\_deps\elastix_fetch-src\components\transforms\affinelogstacktransform\elxaffinelogstacktransform.hxx(574) : warning C4700: uninitialized local variable 'rdorigin' used

d:\a\1\build\_deps\elastix_fetch-src\core\main\elxParameterObject.h(67): warning C4267: 'return': conversion from 'size_t' to 'unsigned int', possible loss of data
To address:

CMake Warning (dev) at D:/a/1/build/_deps/elastix_fetch-src/CMakeLists.txt:51 (option):
  Policy CMP0077 is not set: option() honors normal variables.  Run "cmake
  --help-policy CMP0077" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

  For compatibility with older versions of CMake, option is clearing the
  normal variable 'BUILD_SHARED_LIBS'.
This warning is for project developers.  Use -Wno-dev to suppress it.
@thewtex thewtex merged commit 4f23549 into master Oct 29, 2019
@thewtex thewtex deleted the windows-warnings branch October 29, 2019 17:59
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant