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

Fix tiff deprecation warnings #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

springmeyer
Copy link

@springmeyer springmeyer commented Aug 4, 2022

This addresses the deprecation warnings coming from the latest tiff releases.

I saw them with libtiff/4.4.0_1 from homebrew:

./projects/selene/selene/img_io/tiff/Write.cpp:41:53: warning: 'uint32' is deprecated [-Wdeprecated-declarations]
  set_field<std::uint32_t>(tif, TIFFTAG_IMAGEDEPTH, uint32{1});
                                                    ^
/opt/homebrew/include/tiff.h:84:45: note: 'uint32' has been explicitly marked deprecated here
typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED;
                                            ^

/cc @kmhofmann

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.

1 participant