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

STYLE: Drop Visual C++ 2013 compiler support from itktiff/libtiff #4965

Conversation

N-Dekker
Copy link
Contributor

@N-Dekker N-Dekker commented Nov 20, 2024

ITK already dropped Visual C++ 2013 in 2018, with commit 0067eee "COMP: Require MSVC VS14 2015 for C++11 compatibility", by Bradley Lowekamp (@blowekamp).


For the record, Microsoft also dropped VS2013: https://learn.microsoft.com/en-us/lifecycle/products/visual-studio-2013

ITK already dropped Visual C++ 2013 in 2018, with commit 0067eee
"COMP: Require MSVC VS14 2015 for C++11 compatibility", by Bradley Lowekamp.
@github-actions github-actions bot added area:ThirdParty Issues affecting the ThirdParty module type:Style Style changes: no logic impact (indentation, comments, naming) labels Nov 20, 2024
Copy link
Member

@blowekamp blowekamp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code will be gone with the new version of libtiff. Please don't commit a conflict.

Copy link
Member

@hjmjohnson hjmjohnson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with @blowekamp Let's focus our efforts on updating the upstream version where this as already been addressed.

Comment on lines -420 to -427
/* MSVC does not support C99 inline, so just make the inline keyword
disappear for C. */
#ifndef __cplusplus
# if defined(_MSC_VER) && _MSC_VER < 1900
# define inline
# endif
#endif

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR can not be merged because it will conflict #4961. Updating sub-tree merges is very manual and time consuming.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@blowekamp Interesting Your PR #4961 entirely removes "tif_config.h.in", right? Looking at https://github.com/InsightSoftwareConsortium/ITK/pull/4961/files So then, will the _MSC_VER < 1900 check be removed anyway?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merging this PR would cause merge conflicts, even if the solution would be to just obliterate this commit.

@N-Dekker
Copy link
Contributor Author

While I still don't fully understand the problem, it looks like Bradley's PR #4961 will remove the obsolete _MSC_VER < 1900 check anyway. So close without merging. Thanks for all your comments!

@N-Dekker N-Dekker closed this Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:ThirdParty Issues affecting the ThirdParty module type:Style Style changes: no logic impact (indentation, comments, naming)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants